Forum

why prev_calculated - 1?

hello guys, I have been thinking over days already, it seems that for all indicators, any counter with i = prev_calculated could do more than fine as it points towards the previous candle which is already a calculated figure. why bother to do i = prev_calculated - 1 at all? actually it seems to

iMA functions, MA handle...

Hello guys, As I was studying the code for MACD, I came across the iMA functions which the manual says return the MA handle, however as I google search MA handle it appears there is no such thing... Can anyone illuminate me what exactly is an MA handle, and hence what exactly does iMA do...? I

indicator_buffer

Hello guys, I am new to MQL5 and I am reading over the 4000 pages long manual... but I just cannot figure out what indicator_buffer means... Can anyone illuminate me on that? Thank you! Regards, Bosco