Enivid

Administrator
Staff member
Nov 30, 2008
17,108
1,045
144
Odessa
www.earnforex.com
I've had a look at the code for V1.03 and all I can see are these lines on 393 & 394 regarding SL generated values. How could I edit those?
By any chance could you do a quick "SL" function within the EA, like you have for TP, as it looks like the TP code lines on 395 and 396, have a TP function coded, for value entry?

Cheers

PHIL.

View attachment 22963
For buy orders, on line 393, change recent_high + spread to recent_high + spread + 10 * Poin - 999 * Poin, where 999 is your desired SL.
For sell orders, on line 394, change recent_low to recent_low - 10 * Poin + 999 * Poin, where 999 is your desired SL.