TradingView
TraderHalai
1 de Jun de 2022 08:26

Heikin Ashi Oscillator 

Bitcoin all time history indexINDEX

Descrição

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 Lançamento

Functions to avoid repaint if backtesting. Update to use columns instead of Histogram. Minor cleanup

Notas de Lançamento

New Feature: Update script to allow for smoothing function similar to the On-Chart script that has been created also

tradingview.com/script/xAIVWFsY-Smoothed-Heikin-Ashi-Trend-on-Chart-TraderHalai/

Notas de Lançamento

Added some spicy smoothing methods - Hull Moving Average, Volume Weighted Moving Average and RSI Moving Average

Notas de Lançamento

Update info box text to include volatility to assess trend strength

Notas de Lançamento

Add grow/fall colours similar to MACD to aid with visual assistance
Comentários
cryptovictor1188
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:

tradingview.com/script/xAIVWFsY-Smoothed-Heikin-Ashi-Trend-on-Chart-TraderHalai/

Might be better able to highlight to spot trend changes or if you are using as a TP / trailing stop-loss
Mais