Price range from MA as a signal
-
Hello good people

I was trying to build EA, where EA runs where the price has been to this price range or in this price range as screenshot below.
with two conditions:- if the price has gone to the defined price range, then EA can start or
- if the price is located within the defined price range, then EA also can start
And for example the price range is defined by the ATR. In the example below, is 1 ATR above and 1 ATR below from the Moving Average

Thank you for the helps!
-
@andrewfrank https://fxdreema.com/forum/topic/12802/atr-pips, is handy if pips are required. In a formula block take the ma price and + or- ATR put into a variable and you'll have the price level to reference, in your buy/sell tree put a condition of market properties=<> variable, this will allow the blocks beneath to activate but only once condition is true.
-
@jstap Ok. Thank you!
I'll try your suggestion.