OPEN-SOURCE SCRIPT
quit your bullshit! Heikin-Ashi Backtest with Real Candle Values

Made in a few minutes to debunk all the bullshit going around tradingview and everywhere about "heikin-ashi" being a holy grail trend indicator.
Do not be deceived.
Heikin-Ashi is a beautiful way to remove much of the noise in markets, and is light on the eyes. (nice and smooth!)
I personally use heikin-ashi as a way to remove a lot of the clutter in the markets, allowing me to trade with less emotion.
While heikin-ashi is a great way to visualize trends, it is NOT a good trend indicator because its displayed values do not align with actual trading values.
Therefore, entry and exit points for many of the ideas published about heikin-ashi for trade are inaccurate.
::: When Heikin-Ashi changes colour for x candles, a new trade is created on the open of the following real candle.
In practice, Heikin-Ashi is much closer to break even.
As tested, Heikin-Ashi trend trading works better on pairs that have clearer definitions of trends and are less often in consolidation. (ex. USDJPY)
Usage:
Switch to normal candlestick chart.
Features:
Change the period for new trades. (For example: x amount of red candles after a green candle to signify short trade)
Do not be deceived.
Heikin-Ashi is a beautiful way to remove much of the noise in markets, and is light on the eyes. (nice and smooth!)
I personally use heikin-ashi as a way to remove a lot of the clutter in the markets, allowing me to trade with less emotion.
While heikin-ashi is a great way to visualize trends, it is NOT a good trend indicator because its displayed values do not align with actual trading values.
Therefore, entry and exit points for many of the ideas published about heikin-ashi for trade are inaccurate.
::: When Heikin-Ashi changes colour for x candles, a new trade is created on the open of the following real candle.
In practice, Heikin-Ashi is much closer to break even.
As tested, Heikin-Ashi trend trading works better on pairs that have clearer definitions of trends and are less often in consolidation. (ex. USDJPY)
Usage:
Switch to normal candlestick chart.
Features:
Change the period for new trades. (For example: x amount of red candles after a green candle to signify short trade)
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội Quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội Quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.