Add value of Atr to Moving Averagd
-
Is there a way in FxDreema to add the value of the ATR to a Moving Average that is on the chart?
It should be like this :
If price crossed the Moving average to the upside and if it is within the Range of (Moving Average + Value of Atr) then I can enter a buy.
If not then it wont trade.Thanks for all the answers.
-
@aramsamsam69 Here are the blocks for the upper and lower limit. If you need help for the rest just let me know.

-


I tried it like that but it is kinda strange.
It only opens Sell Positions and even then it opens a trade everytime the Moving Average gets crossed.
The rule should be like:
Candle closed above "Moving Average" -> is the "candle close" lower then or equals to "Moving Average + ATR value"
If yes open long position.
-
Ok I found the problem.
I saved the variables as "int" instead of "double". my bad.
Everything is working fine now.
Anyways thanks for your help
