Previous Highest or Lowest price as Stop-Loss not working
-
Hello,
I have a problem with setting my Stop-Loss based on the previous highest or lowest for a given period. The Stop-Loss automatically set by the EA is way over. Anybody have any suggestion on this? Attached is a snapshot for reference.
Thanks advance!

-
Look at where you have Custom (price fraction). Use Custom (price level) instead
-
Thanks ADMIN fxDreema I will try it out and let you know! Regards.
-
@fxdreema
Hi sir, I'm trying to apply this but on a formula, obviously, there are not price level on conditions/FOrmulas to can I add this: highest/lowest candles period price value + offset pips. How can i get it? -
@fxdreema I tried to make some formulas, manually it works. E.g.: EURUSD ask price to buy: 1.2446 - 1.1193 (Lowest price) = 0.00562 / 0.0001 (pip value) = 56.2 pips + ofset pips = SL
For sells would be = Bid - Highest price / pip value

but sometimes I saw that the SL is less than must be expected...
-
@uriel-0 Are you sure values for variables 'HIGH1' and 'LOW1' are correct? What values do you get there?
-
@l-andorrà for buys yes, to sells no... I had to corrected it


If you think that there are something wrong, please tell me:)
-
@l-andorrà Those variables are to get the price level
-
@uriel-0 Not sure. Can you please share the link to the project?