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, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.