OPEN-SOURCE SCRIPT
Mis à jour

DEMA HMA Z-score Oscillator

6 871
This custom oscillator combines the power of the Hull Moving Average (HMA) with the Z-Score to identify momentum shifts and potential trend reversals. The Z-Score measures how far the current HMA is from its historical mean, helping to spot overbought or oversold conditions.

Uptrend: Long signals are generated when the Z-Score crosses above the defined Long Threshold.

Downtrend: Short signals are triggered when the Z-Score drops below the Short Threshold.

Visuals: The Z-Score is plotted along with background color changes and fills to clearly indicate trend strength. Green fills highlight uptrends, while pink fills indicate downtrends.

Alerts: Alerts are available for both long and short conditions based on Z-Score crossovers.

Customizable Inputs:

HMA Length

Smoothing Length (for DEMA)

Z-Score Length

Long and Short Thresholds

This indicator is ideal for detecting momentum shifts, confirming trend strength, and helping to time entry/exit points in your trading strategy.
Notes de version
Updated

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.