OPEN-SOURCE SCRIPT
已更新 Smoothed Heiken Ashi Trend Oscillator

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.
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.
發行說明
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
發行說明
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
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。