Only take trades if entry candle is >3x current ATR
-
So i want to make a condition that makes it so my EA doesnt enter trades if the entry candle pip size is above 3*ATR.
I did it like this but after the first entry it stops trading... does anyone know why maybe ?

-
@yyaanniicckk I was just looking at this and the problem is likely because ATR is not in pips, try converting candle pips to price fraction as in picture.

-
Thankyou! i am not so good with variables... I know its a big part of fxdreema so i really need to go and learn and understand it. I made the modify variable but now i have troubles adding the variables to the file...
could you maybe share the page or look at mine to see what variables i have to add?
Thanks in advance
https://fxdreema.com/shared/cwPUalLbd
Also.. In what part of my condition should i put in the variable so it sees it as fraciton instead of pips
-
@yyaanniicckk I think this will show you what you need, if not just ask.
-
@yyaanniicckk Sorry, what will show me ? Your answer didn't include any links or attachments.. Thanks in advance!
-
-
Yes Thanks alot !!! i will try it out later.
-
I have done exactly as you suggested, but it still stops trading after the first trade... I don't know what i did wrong tho..
https://fxdreema.com/shared/Cc702re4

-
@yyaanniicckk Put all the conditions in a comment block, this will tell you how and what is causing the issue.
-
okey thanks

