Hi everyone and all the experts @jstap @l-andorrĂ @roar ,
I am trying to convert MT4 to MT5, however, the iMACD value in "custom MQL mode" is not well converted. I tried to look up on MQL5 website, but I could not get it right.
So basically,
iMACD in MT4:
iMACD(_Symbol,PERIOD_CURRENT,12,26,9,PRICE_CLOSE,MODE_MAIN,0);
but in MT5, the main line and candle shift are not included (the last two functions in bracket). see below.
iMACD(_Symbol,PERIOD_CURRENT,12,26,9,PRICE_CLOSE);
Anyone have any idea how to convert this iMACD from MQL4 to MQL5 that include the main line and candle shift?
Thanks in advance!