Weighted Multi-Mode Oscillator [BackQuant]WeightedโฏMultiโMode Oscillator
1.โฏWhatโฏIsโฏIt?
The Weighted MultiโMode Oscillator (WMMO) is a nextโgeneration momentum tool that turns a dynamicallyโweighted moving average into a 0โ100 bounded oscillator.
It lets you decide how each bar is weighted (by volume, volatility, momentum or a hybrid blend) and how the result is normalised (Percentile, ZโScore or MinโMax).
The outcome is a selfโadapting gauge that delivers crystalโclear overbought / oversold zones, divergence clues and regime shifts on any market or timeframe.
2.โฏHowโฏItโฏWorks
โข Dynamic Weight Engine
โโโชโฏ Volume โ emphasises bars with exceptional participation.
โโโชโฏ Volatility โ inverse ATR weighting filters noisy spikes.
โโโชโฏ Momentum โ amplifies strong directional ROC bursts.
โโโชโฏ Hybrid โ equalโweight blend of the three dimensions.
โข MultiโMode Smoothing
โโChoose from 8 MA types (EMA, DEMA, HMA, LINREG, TEMA, RMA, SMA, WMA) plus a secondary smoothing factor to fineโtune lag vs. responsiveness.
โข Normalization Suite
โโโชโฏ Percentile โ rank vs. recent history (context aware).
โโโชโฏ ZโScore โ standard deviations from mean (statistical extremes).
โโโชโฏ MinโMax โ scale between rolling high/low (trend friendly).
3.โฏReadingโฏtheโฏOscillator
Zone Default Level Interpretation
Bull >โฏ80 Acceleration; momentum buyers in control
Neutral 20โฏโโฏ80 Consolidation / no edge
Bear <โฏ20 Exhaustion; sellers dominate
Gradient line/area automatically shades from bright green (strong bull) to deep red (strong bear).
Optional barโpainting colours price bars the same way for rapid chart scanning.
4.โฏTypicalโฏUseโCases
Trend Confirmation โ Set Weightโฏ=โฏHybrid, Smoothingโฏ=โฏEMA. Enter pullbacks only when WMMO >โฏ50 and rising.
Mean Reversion โ Weightโฏ=โฏVolatility, reduce upper / lower bands to 70 / 30 and fade extremes.
Volume Pulse โ Intraday futures: Weightโฏ=โฏVolume to catch participation surges before breakout candles.
Divergence Spotting โ Compare price highs/lows to WMMO peaks for early reversal clues.
5.โฏInputsโฏ&โฏStyling
Calculation: Source, MAโฏLength, MAโฏType, Smoothing
Weighting: Volume period & factor, Volatility length, Momentum period
Normalisation: Method, Lookโback, Upper / Lower thresholds
Display: Gradient fills, Threshold lines, Barโcolouring toggle, Line width & colours
All thresholds, colours and fills are fully customisable inside the settings panel.
6.โฏBuiltโInโฏAlerts
WMMOโฏLong โ oscillator crosses up through upper threshold.
WMMOโฏShort โ oscillator crosses down through lower threshold.
Attach them once and receive push / eโmail notifications the moment momentum flips.
7.โฏBestโฏPractices
Percentile mode is selfโadaptive and works well across assets; ZโScore excels in ranges; MinโMax shines in persistent trends.
Very short MA lengths (<โฏ10) may produce jitter; compensate with higher โSmoothingโ or longer lookโbacks.
Pair WMMO with structureโbased tools (S/R, trend lines) for higherโprobability trade confluence.
Disclaimer
This script is provided for educational purposes only. It is not financial advice. Always backโtest thoroughly and manage risk before trading live capital.
Penunjuk Pine Scriptยฎ






















