Check Max Stop Loss distance before placing a trade
-
Im using ATR as stop loss and
I set a condition of maxstoploss = 20 pips.how can i make a condition that if the distance between between the entry price and maxstoploss price < 20 pips, it will open a trade.
im stuck in this condition.

-
You can use a condition block immediately before the buy now block checking that the value of ATR itself is lowers than 20.
-
@l-andorrà but my SL is ATR * ATR_MULT?
-
@pipsondeck No problem. You can still do it this way:

-
@l-andorrà Thank you
-
By using a number like 0.0020 you are assuming the pip rules of the asset work like that, use value 0 and adjust to +20 pips
-
@jstap got it
-
-
@jstap Well seen!

-
@jstap i was wondering, i wanted to input "20 pips" as constant. how do i put it as an constant(input) thanks
-
This is the condition, is this correct?


-
In adjust put +ATR_MAX pips
-
@jstap ive been experimenting but i cant make it work.
is it going to be a string + "10" (+ATR_MAX pips)
-
or like this?

and double

-
As your last post
-
@jstap this wont work in XAUUSD, right?
-
Gold works like every other asset, if something doesn't seem to work show where and ask why
