This indicator plots a delta between the Heiken Ashi close price and the regular candlestick closing price as a histogram, which allows you to quickly analyse changes in trend direction.
It also provides a reverse-engineered closing price for regular candlesticks, to reach in order to maintain the momentum, which allows you to be forewarned of potential pivot points to change in bias in direction.
Feel free to use this indicator to modify and add to your charts as you wish.
Notas de prensa
⋅
Functions to avoid repaint if backtesting. Update to use columns instead of Histogram. Minor cleanup
Notas de prensa
⋅
New Feature: Update script to allow for smoothing function similar to the On-Chart script that has been created also
Good job with the coding. Is there a way to alter the lengths that are being displayed ?
TraderHalai
⋅
@cryptovictor1188, Thanks for the feedback. There is a way to add multi-timeframe using the security function. Might be interesting to add, but its a little tricky to avoid repainting. I'm still learning pinescript, so might be a stretch goal for me at a future date
erdinczeytin94
⋅
Can we set the HA Crossing value ourselves?
TraderHalai
⋅
@erdinczeytin94, HA crossing value is calculated based on the current candle stick price. It is the price that a regular candle stick would need to close at to change bullish or bearish
TraderHalai
⋅
Note: On-chart version of the script can be found here: