Indicators: ALMA(Arnaud Legoux Moving Average)
The indicator doesn't work, there is compile error: 'iTime' - override system function alma_v2.mq5 209 10
I think this function should be removed as current version of MQL5 already has built-in iTime function.
datetime iTime(string symbol,ENUM_TIMEFRAMES TF,int index) { if(index < 0) return(-1); static datetime timearray[]; if(CopyTime(symbol,TF,index,1,timearray) > 0) return(timearray[0]); else return(-1); }
Attached the fixed mq5 file (note: you have to click "Go to discussion" link to see the attachment)
Files:
alma_v2.mq5
15 kb
mm
ALMA(Arnaud Legoux Moving Average):
Weighted average with a regulated lag using a curve of the Normal (Gauss) distribution as the weight coefficient function
Author: Igor Durkin