Fluid Momentum OscillatorFluid momentum oscillator
complete description & user manual
Fluid momentum oscillator visualizes momentum behavior and market
sentiment across multiple lookback periods.
It is designed as an analytical tool to support interpretation of
market conditions and does not replace decision-making.
Nothing in this indicator has been copied; any script errors have been fixed with Quant.AI and Claude.AI.
Feel free to get ideas from the script and possibly adapt it to your own ideas or strategies.
1. Overview
Fluid momentum oscillator is a high-resolution momentum indicator that
maps sentiment across 20 simultaneous lookback periods, forming a
continuous ribbon that reflects momentum strength and direction.
Built on rsi processed through zero lag ema smoothing, the oscillator
responds early to shifts in momentum compared to standard indicators.
Each strand represents a different perspective of momentum. together
they provide a structured view of expansion, compression, and transition.
2. Core components
2.1 Rsi — relative strength index
Calculated across 20 different lookback periods. each strand starts
from the base length and increases using the defined step, creating a
range from fast to slow momentum perspectives.
Values are normalized around a zero midline on a −50 to +50 scale.
2.2 Zlema — zero lag ema smoothing
Applied to each rsi strand to reduce lag. this method incorporates
recent change before smoothing, allowing faster response to shifts.
2.3 Trend detection — fast vs slow groups
The ribbon is divided into:
- fast group (strands 1–5)
- slow group (strands 16–20)
When fast leads slow, momentum is bullish.
When fast lags slow, momentum is bearish.
When the spread compresses below the twist threshold, the oscillator
enters a neutral or transition state.
2.4 Momentum histogram
Shows the difference between fast and slow averages near the midline.
Wide bars indicate strong separation and directional momentum.
Narrow bars indicate compression or transition.
2.5 Ribbon slope
Measures the rate of change of the fast group average.
Rising slope indicates increasing momentum.
Falling slope indicates decreasing momentum.
Flat slope indicates consolidation or transition.
2.6 Divergence detection
Compares price pivots with fast average pivots over a defined window.
Bullish divergence occurs when price makes a lower low while momentum
holds higher.
Bearish divergence occurs when price makes a higher high while momentum
weakens.
These conditions can highlight potential shifts beneath price structure.
3. Presets
Default | swing — 4h / daily
Rsi base 10 | zlema 5 | step 2 | twist 1.5
Balanced configuration for general trend conditions.
Fast | scalping — 1m to 15m
Rsi base 7 | zlema 3 | step 2 | twist 1.0
Shorter lookbacks for faster response.
Smooth | position — daily / weekly
Rsi base 14 | zlema 8 | step 3 | twist 2.5
Longer periods with reduced sensitivity.
4. Visual guide
ribbon expanding upward — bullish momentum increasing
ribbon expanding downward — bearish momentum increasing
ribbon compressing — low momentum or transition
background grey — compression state
green flash — bullish expansion
red flash — bearish expansion
divergence highlights:
- warm tones — bullish divergence
- red tones — bearish divergence
histogram — momentum strength relative to midline
slope line — acceleration or deceleration
5. Usage — lower timeframes
recommended:
- use fast preset
- monitor ribbon direction and compression
- observe slope for acceleration or fading
typical observations:
- compression before expansion
- slope flattening before reversals
- divergence forming before price reacts
6. Usage — higher timeframes
recommended:
- default preset for intraday higher timeframes
- smooth preset for daily and above
reading structure:
- sustained expansion indicates stable momentum
- compression during narrowing price action indicates transition
- divergence on higher timeframes carries more weight
7. Dashboard reference
momentum — bullish / bearish / neutral
fast avg — average of fastest strands
slow avg — average of slowest strands
spread — distance between fast and slow
twist — compression state
zone — relative position vs extremes
slope — acceleration state
divergence — active or none
signal — last detected condition
8. Alerts
available conditions:
- bullish state change
- bearish state change
- compression state
- bullish divergence
- bearish divergence
- any state change
alerts include ticker and timeframe context.
9. Disclaimer
This indicator is provided for educational purposes only.
All outputs are based on historical price calculations and do not guarantee outcomes.
Trading involves risk. Past performance does not indicate future results.
Use at your own discretion.
Chỉ báo Pine Script®






















