Please let me know where I can find the code for iATR?
No I just want the code or math behind the function....
we have an old system which I inherited recently and for some reason our values dont match up that of mql so I just need to confirm the logic to see what we are missing ....
I see there is predefined indicator called ATR but the calculate function takes more parameters than iATR...
so I am not sure ATR under indicator's folder is the right logic or iATR does sth different than ATR ...
but, what I need is the logic/preferably code for iATR function.
Thank you for any comments or clue.
int OnCalculate(const int rates_total,
const int prev_calculated,
const datetime &time,
const double &open,
const double &high,
const double &low,
const double &close,
const long &tick_volume,
const long &volume,
const int &spread);
special or predefined functions I don t know how to get the implementation for them