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?
PineScript Programming: https://qntly.com/pinepro
TradingView Essential: https://qntly.com/tve

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
dpanday QuantNomad
@QuantNomad, So how to get this script profitable on regular candles?
Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Private Messages Chat Sign Out