Forum on trading, automated trading systems and testing trading strategies
Should i move from MQL4 to MQL5 ?
Alain Verleyen, 2015.12.04 11:20
Yes it can. iMAOnArray() is obsolete and ineffective, replace it with calls to functions from MovingAverages.mqh library (standard with MT4, provided in Include folder).
with MT4, I'm trying to create a custom indicator that, once I placed RSI indicator, put on it also the MA indicator.
Manually I add RSI chart indicator, then
1) I drag&drop MA indicator and select Apply to: First indicator's data and then I click OK.
2) Then I reopen in editing this MA and change Apply to: Close.
I've written the indicator using iMAOnArray function but it displays the MA as 1). I need to change to 2). How can I do?
Thanks