OPEN-SOURCE SCRIPT
Telah dikemas kini

Smoothed Heiken Ashi Trend Oscillator

301
The Smoothed Heiken Ashi Oscillator is a visually clean trend and momentum indicator based on reverse-calculated and optionally smoothed Heiken Ashi data.

It calculates the distance between the actual closing price and a reconstructed smoothed Heiken Ashi value to visualize trend direction and strength. Optional smoothing (SMA, EMA, HMA, VWMA, RMA) helps reduce noise.

Colored histogram bars indicate trend direction (bullish/bearish) and momentum (accelerating/decelerating). An optional info box shows live trend and momentum values.

Ideal for trend confirmation, reversal spotting, and gauging strength in combination with moving averages or price action setups.
Nota Keluaran
This indicator displays a Smoothed Heikin Ashi Oscillator based on the difference between the actual close price and a smoothed synthetic Heikin Ashi value.

It allows full customization of:

The smoothing method (SMA, EMA, WMA, etc.)
(I use a 100 EMA smoothing)
The smoothing length

Histogram bar colors for bullish and bearish conditions

The oscillator visually represents trend direction and strength:

Above zero: bullish zone

Below zero: bearish zone

Color change indicates momentum shift

Ideal for visualizing Heikin Ashi-based market structure without repainting (when live mode is off).

Works across all assets and timeframes.

© 2025 Ben Deharde

Nota Keluaran
This indicator measures trend direction and momentum using a smoothed Heikin Ashi anchor. The oscillator value is the distance between the actual closing price and a synthetic Heikin Ashi baseline, optionally smoothed using a selectable moving average (SMA, EMA, HMA, VWMA, or RMA).

The oscillator is plotted as a histogram. Bar color reflects:

Whether price is above or below the anchor (bullish or bearish)

Whether the distance is expanding or contracting (momentum acceleration or deceleration)

The anchor is reverse-engineered from prior Heikin Ashi open and close values, adjusted by real price data (high, low, open). This structure allows for smoothed trend analysis while retaining responsiveness to price movement.

I use this oscillator in combination with smoothed Heikin Ashi candles to visually track momentum and detect subtle trend shifts early.

Built-in alert conditions allow for notification on zero-line crosses, with confirmation on candle close. These can optionally be used to signal potential trend shifts.

✅ Non-repainting (when live mode is off)
✅ Fully customizable smoothing, logic, and colors
✅ Works across all timeframes and asset classes

© 2025 Ben Deharde

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.