Heikin-Ashi MACD

"Heikin-Ashi, also sometimes spelled Heiken-Ashi, means "average bar" in Japanese. The Heikin-Ashi technique can be used in conjunction with candlestick charts when trading securities to spot market trends and predict future prices. It's useful for making candlestick charts more readable and trends easier to analyze. For example, traders can use Heikin-Ashi charts to know when to stay in trades while a trend persists but get out when the trend pauses or reverses. Most profits are generated when markets are trending, so predicting trends correctly is necessary."

HA bars help us to smooth the price action, and I think MACD gives me a lot of signals and I need to eliminate them and add MACD strategy on Heiken-Ashi candles to look performance.

Mostly, it eliminates %75 of the signals, and most of the time it did increase backtest performance significantly.

There is still a way to it to combine other indicators for complete strategy, but at least We can achieve better MACD with this approach.
版本注释: Stop loss and target profit parameters were added.

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。