OPEN-SOURCE SCRIPT

Prism Band Dynamics [JOAT]

1 641
Prism Band Dynamics [JOAT] - Bollinger-Style Bands with Force Detection

Introduction and Purpose

Prism Band Dynamics is an open-source overlay indicator that creates dynamic Bollinger-style bands with an innovative "force detection" system. The core problem this indicator solves is that standard Bollinger Bands show volatility but don't indicate directional momentum. When all three band components (upper, lower, basis) move in the same direction, it indicates strong directional force that standard bands don't highlight.

This indicator addresses that by detecting when all band components align directionally, providing a clear signal of market force.

Why Force Detection Matters

Standard Bollinger Bands expand and contract based on volatility, but they don't tell you about directional momentum. Force detection adds this dimension:

1. Bullish Force - Upper band, lower band, AND basis all moving up together. This indicates strong upward momentum where even the lower support level is rising.

2. Bearish Force - Upper band, lower band, AND basis all moving down together. This indicates strong downward momentum where even the upper resistance level is falling.

3. Neutral - Mixed movement indicates consolidation or uncertainty.

How Force Detection Works

Pine Script®


Additional Features

  • Squeeze Detection - Identifies when band width contracts below threshold, often preceding large moves
  • Gradient Fills - Color intensity reflects force strength
  • Direction Change Arrows - Visual markers when force direction shifts


Dashboard Information
  • Force - Current force status (BULLISH/BEARISH/NEUTRAL)
  • Position - Price location within bands (Upper/Mid/Lower Zone)
  • Band Width - Current width percentage with expansion/contraction label
  • Volatility - Squeeze status (SQUEEZE/NORMAL)
  • Force Count - Bars since last force change


How to Use This Indicator

For Trend Following:
1. Enter long when force turns BULLISH
2. Enter short when force turns BEARISH
3. Exit or reduce when force turns NEUTRAL

For Squeeze Breakouts:
1. Watch for SQUEEZE status in dashboard
2. Prepare for breakout in either direction
3. Enter when force confirms direction after squeeze

For Mean Reversion:
1. Only trade mean-reversion when force is NEUTRAL
2. Avoid fading moves when force is active
3. Use band touches as entry points during neutral force

Input Parameters
  • Length (20) - Period for basis and standard deviation
  • Multiplier (2.0) - Standard deviation multiplier for bands
  • MA Type (SMA) - Basis calculation method
  • Squeeze Threshold (0.5) - Band width percentage for squeeze detection


Timeframe Recommendations
  • 4H-Daily: Cleanest force signals
  • 1H: Good balance of signals and reliability
  • 15m: More signals but more noise


Limitations
  • Force detection can lag during rapid reversals
  • Squeeze breakouts can fail (false breakouts)
  • Works best in markets with clear trending/ranging phases


Open-Source and Disclaimer

This script is published as open-source under the Mozilla Public License 2.0 for educational purposes.

This indicator does not constitute financial advice. Force detection does not guarantee trend continuation. Always use proper risk management.

- Made with passion by officialjackofalltrades

Penafian

Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.