Hello, not sure why this is happening when I use the iATR function , the printed value for each ATR is different from the ATR Chart, see attached screenshot, I can't see why this would be happening, any help would be greatly appreciated void OnTick
I'm putting together an EA, I'm testing this indicator "SMI" https://www.mql5.com/en/code/7203. For some reason after I read the first 2 values I get a maximum double value "2147483647.0", I've attached a screenshot of the Journal window which shows
Hi, I'm new to mt4 but not to programming, I'm working on a EA and one thing I've noticed is that the value for ATR from the EA is different to the ATR on the chart window, see attached screenshot This is my code in the EA double atr = iATR ( NULL