where to find iATR

 

hi All,


Please let me know where I can find the code for iATR?


https://docs.mql4.com/indicators/iatr


Thank you,

iATR - Technical Indicators - MQL4 Reference
iATR - Technical Indicators - MQL4 Reference
  • docs.mql4.com
iATR - Technical Indicators - MQL4 Reference
 
Mike IT:

hi All,


Please let me know where I can find the code for iATR?


https://docs.mql4.com/indicators/iatr


Thank you,

On this link, what code you reffer ? You need parameters type to see for iATR and there are on this link you put
 

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[]);
  
 
Mike IT:

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.


 special or predefined functions I don t know how to get the implementation for them

Reason: