Could you please tell me why your MACD indicator edition uses the simple smoothing method when calculating the signal line?
According to other sources(example 1, example 2) the signal line is smoothed exponentially.
You have: SIGNAL = SMA(MACD, 9), alternative sources: SIGNAL = EMA(MACD, 9)
Since in this code both Fast and Slow are calculated by EMA, the line //--- get SlowSMA buffer should contain //--- get Slow EMA buffer, and Print("Getting slow SMA is failed! Error",GetLastError()); should also contain EMA instead of SMA.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
MACD:
Author: MetaQuotes Software Corp.