Compare last candle range vs 1.2x ATR??
-
Hi,
I'm relatively new to this, but slowly pulling together some EAs and refining themI have a strategy where I want to look for relatively small bars, and the 'relatively' I want to use is an ATR multiple because it is dynamic and adjusts relative to what the market is doing
I have created a condition box and used
Candle - Candle total size (pip) on Candle ID 1 <= ATR,14 period Candle ID 1, Adjust *1.0But this is not enabling any trades? is this because the ATR indicator has 4 decimals on say USDCHF but my brokers chart has 5 decimals?? i.e. fractional pips?
if I remove this filter my EA works and is taking trades (but taking everything including those that are too large) so I'm not sure how to correct this
Any help appreciated...
Cheers!


-
ATR is a price fraction (not pips) if you search for posts by me (in tutorials) you will find how to convert, alternatively add this in adjust, +iATR(NULL,0,14,0)*1.2 to a 0 value, then you can compare left and right operand