Kozlod - Heikin-Ashi Bar Color Change Strategy

You can use this script to backtest Heikin-Ashi bar color change strategy.
You have to apply this script to usual candles and not Heikin-Ashi!!!

Background color indicates HA bar color. On change you'll see green/red arrows and alert will be fired.

Also you can find in the code calculations of all HA OHLC values.
Release Notes: Cleaning the code
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?
Pine Programming: https://qntly.com/pineprog
Advanc. Pine Use-Cases: https://qntly.com/advpine

Access to Pro Indic.: https://qntly.com/proind

YouTube: https://qntly.com/youtube
Discord: https://qntly.com/discord
Telegram: https://qntly.com/tel


Thanks bro ... interesting code .
+1 Reply
Why to use this only on normal candles?
QuantNomad dpanday
@dpanday, Because if you'll apply strategy on Heikin Ashi candles your backtesting won't be valid. Your orders will be calculated based on HA OHLC but it's not real OHLC and often these levels are not reachable in reality.
Here I try to explain: https://www.youtube.com/watch?v=oTSW0-opte8
+1 Reply
dpanday QuantNomad
@QuantNomad, So how to get this script profitable on regular candles?