yatrader2

Real Candles Heikin Ashi (HA) Candle functions

This script plots both real and HA candles regardless or which are used on the chart in TV settings.
(and has the functions for you to use.)

Lots of people seem to misunderstand backtesting (or scam people) based on HA candles.
Backtesting with HA candles leads to impossible trades. ALWAYS backtest with real candles.
That doesn't mean you might not want to look at HA candle values to make trading decisions.

Add the code below to calculate HA candles from real and use that in your HA trading algo,
but test it on real charts.
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?

Comments

Can you put in the alerts? Thank you
+1 Reply
Great work..Thankyou for this and for sharing.Cheers !!
Reply
Thanks for share!
Great work
Reply
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