OPEN-SOURCE SCRIPT

Omni-Flow Consensus [LuxAlgo]

14 742
The Omni-Flow Consensus [LuxAlgo] indicator is a high-performance momentum and liquidity oscillator designed to visualize the directional pressure behind price movements through volume-weighted aggression and adaptive smoothing. It provides a comprehensive view of market regimes, identifying high-conviction capital injections while filtering out low-probability market noise.

🔶 USAGE

The indicator is designed to be used as a primary trend-confirmation tool. Unlike standard oscillators that only track price, Omni-Flow incorporates volume and candle body relativity to determine if a move has "weight" behind it.

🔹 Momentum Regimes

  • Bullish Flow (Cyan): Occurs when the main flow line is above zero and expanding toward the upper bands. This indicates aggressive buying pressure.
  • Bearish Flow (Red): Occurs when the main flow line is below zero and expanding toward the lower bands. This indicates aggressive selling pressure.
  • Accumulation/Neutral (Gray): When the flow line stays within the "Zero Zone" (±10), the market is in a contraction phase. Users should exercise caution as this is often a "no-trade" zone.


🔹 Impulse Injections
The indicator plots small diamond shapes within the oscillator pane. These represent "Flow Injections"—moments where momentum has been confirmed by the Signal Strictness logic and has broken out of the neutral threshold. These are high-probability entry or trend-continuation points.

🔹 Gradient Candle Coloring
The script features a cinematic gradient coloring system for price bars. Instead of binary "Up/Down" colors, the candles transition smoothly between Bullish, Neutral, and Bearish states based on the flow intensity. This allows traders to visually "feel" the momentum fading or building before a crossover actually occurs.

🔶 HOW TO USE

Traders can utilize the Omni-Flow Consensus to filter entries and manage trend expectations:

  1. Trend Confirmation: Look for the main flow line to cross the Zero Axis. A cross above zero suggests a shift toward bullish dominance, while a cross below suggests bearish dominance.
  2. Identifying Injections: Pay attention to the Diamond symbols. These appear when the flow line crosses its signal line and maintains its direction for a set number of bars (defined by Strictness). These are often the start of volatile "expansion" phases.
  3. Volatility Monitoring: When the flow line remains flat near the zero line and the dashboard displays "ACCUMULATION," it indicates a lack of directional conviction. Traders may use this as a signal to avoid trend-following strategies until an injection occurs.
  4. Exhaustion Signals: When the flow line enters the glow bands (±70 to ±90), the market is in an extreme state. While trends can persist here, a crossover of the signal line within these bands often precedes a mean reversion or deep pullback.


🔶 DETAILS

🔹 Smart-Flow Engine
To ensure the tool works across all assets (including Forex, which lacks centralized volume), the script uses a "Smart-Flow" proxy. If volume data is available, it calculates (Close - Open) / (High - Low) * Volume. If volume is missing, it automatically swaps to a Volatility Proxy using True Range, ensuring consistent behavior on any chart.

🔹 Adaptive Spectral Filter (ASF)
The main flow line uses an adaptive alpha-based smoothing technique. This allows the indicator to remain reactive during high-volatility spikes (reducing lag) while smoothing out "whipsaws" during sideways consolidation.

🔹 Stochastic Normalization
The values are mapped to a fixed -100 to +100 range using a double-lookback window. This ensures the oscillator utilizes the full vertical space of the pane, making Overbought and Oversold levels much easier to identify compared to standard Z-score oscillators.

🔶 SETTINGS

🔹 Core Logic

  • Flow Sensitivity: Adjusts the primary lookback for the flow calculation. Higher values result in a slower, more macro view.
  • Spectral Smoothing: Controls the responsiveness of the Adaptive Spectral Filter.
  • Signal Boost: A non-linear multiplier that "magnifies" movements near the zero line to make crossings more distinct.


🔹 Signal Filtering

  • Smooth Signals: When enabled, uses the Strictness and Threshold logic to remove false "whipsaw" signals.
  • Signal Strictness: Defines how many bars the flow must maintain its position to confirm an "Impulse."
  • Momentum Threshold: The level the flow must break (e.g., ±15) before a signal is considered valid.


🔹 Aesthetics

  • Gradient Candle Coloring: Toggles the smooth color transitions on the price chart.
  • Glow Intensity: Adjusts the visual brightness of the "Momentum Fill" between the main and signal lines.
  • Flow Dashboard: Enables a real-time HUD showing the current Regime, Flow Intensity %, and Signal Status.

免責事項

これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。