It's working!!! Just like the TradingView version. You are a genius. Thank you!mrtools wrote: Thu Sep 04, 2025 1:16 am Hello the built in standard mt4 macd it's calculation is based off of an ema fast - ema slow with the signal line being a sma. The official macd uses an ema fast - ema slow with it's signal line being an ema as well. That could be the reason. Posting this one if you leave the macd type = 0 you should get the macd that matches the version in the code above.
Attachments forums
Re: Already Converted TradingView Indicators to MT4 Indicators
Coolcrow, Thu Sep 04, 2025 4:30 am