iamtitouche / Publications
Forum
iMA does not return the right value
When I call an indicator like the simple moving average it's not the same as the line shows on the chart. Here's my code, Alert ( "Symbole : " , _Symbol ); Alert ( "Timeframe : " , PERIOD_CURRENT ); int handle = iMA ( _Symbol , PERIOD_CURRENT , 21 , 0 , MODE_SMA , MODE_CLOSE ); double ma_arr[];