Stop Loss?
4 replies
JS17
8 years ago #113870
This is the variable which is a positive number
This is the P&L
and this is the code
It does not work, should I leave the SL variable (Max_Loss_in_Currency) value as positive?
tomas262
8 years ago #131080
JS17
8 years ago #131081
Thankyou Tomas
tomas262
8 years ago #131096
I would guess you need to change the exit condition from PL >= Max_Loss to PL <= Max_Loss since you want to close position when open P/L is less then -1 * Max_Loss
You can also attach your EA Wizard file in the EA Wizard private forum thread in case this does not solve your problem.
JS17
8 years ago #131097
Tomas, I will try that and if it does not work then I will do as you say – thankyou
Viewing 4 replies - 1 through 4 (of 4 total)