OPEN-SOURCE SCRIPT

Apex Volatility Flow [Pineify]

421
Apex Volatility Flow ATR Chandelier Oscillator

Apex Volatility Flow converts ATR-based Chandelier behavior into a normalized 0-100 oscillator. It tracks flow above or below 50, and marks ATR contraction when volatility falls below a longer baseline.

Key Features

  • Chandelier-style direction logic using extremes and ATR distance.
  • Bullish/bearish oscillator coloring around the 50-line bias filter.
  • Squeeze dots and alerts for compression and flow crosses.


How It Works

The script begins with Average True Range. A long reference uses recent highs minus ATR times the multiplier, while a short reference uses recent lows plus ATR times the multiplier. The anchors blend close-based and wick extremes to reduce one-bar distortion.

  1. A close above the short reference is bullish; a close below the long reference is bearish.
  2. The active level is tracked, then its range resets when direction changes.
  3. The active level is normalized, smoothed with an SMA, and compared with 50.
  4. A squeeze appears when ATR is below 80% of a longer ATR baseline.


How the Components Work Together

The Chandelier logic supplies trend context, while the oscillator scale helps compare charts. Squeeze dots stay separate because compression can break either way; read them with flow crosses, 50-line retests, and price structure.

Trading Ideas and Insights

  • Bullish continuation may be worth studying when flow holds above 50 and compression releases.
  • Bearish crosses below 50 can whipsaw in strong uptrends; follow-through matters.
  • During extended squeezes, confirm direction with structure, volume, or higher-timeframe trend.


Unique Aspects

  • It turns Chandelier-style stops into a compact oscillator instead of a price overlay.
  • Normalization resets on direction changes, avoiding stale values from the prior move.


How to Use

  1. Add the indicator to a liquid market and timeframe.
  2. Use 50 as the main bullish/bearish flow reference.
  3. Treat squeeze dots as compression context, not standalone entries.
  4. Use the built-in alert conditions for crosses or squeeze events.


Customization

  • Volatility Length (default: 22) - Controls ATR and anchors. Higher values smooth but react later.
  • ATR Multiplier (default: 3.0) - Sets stop distance. Higher values reduce flips but delay regime changes.
  • Oscillator Smoothing (default: 4) - Smooths the output. Higher values reduce noise but add lag.
  • Colors - Adjust bullish, bearish, and squeeze marker colors.


Conclusion

Apex Volatility Flow is for traders who want ATR and Chandelier-style context in one oscillator pane. It can help organize flow bias and compression, but should be combined with structure and risk management. It uses no higher-timeframe security calls; live-bar values may still change before close.

Exención de responsabilidad

La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.