TradingView
yatrader2
5 Kas 2019 23:21

Real Candles Heikin Ashi (HA) Candle functions 

Apple Inc.NASDAQ

Açıklama

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.
Yorumlar
hell-LUCIFER
Can you put in the alerts? Thank you
Karthi056
Thanks mate for your efforts and sharing this. 👍👍
sdeepalucky
Hello bro,
To show the candle color when (O = L (green) and O = H(red)) if wick both side no color(different colour) for heikin ashi... Please help me how it can be achieved
UnknownUnicorn8345070
This is the correct formula for haopen

haopen := na(haopen[1]) ? (_O + _C) / 2 : (haopen[1] + haclose[1]) / 2
vkpeeli
Great work..Thankyou for this and for sharing.Cheers !!
Che_Trader
Thanks for share!
Great work
Daha Fazla