Indicator value converted to pip value
-
Hello helpful people!
I'm stuck with a dilemma: I'm trying to make the EA place pending orders at current price offset +/- by a number of pips depending on ATR value.
For example if the ATR value is 0.0030 at that time - I want a pending Buy order at price + 30 pips and a Sell at price - 30 pips.
Not sure how to call the ATR value correctly.. I get "undeclared identifier"
Thank you for your help!

-
@bogdaiki use formula block and store the result in a variable

-
@miki Thank you so much!
I included the Formula block right before the Buy / Sell Pending Orders.
Tested in Visual Mode and looks like it works as expected.