OPEN-SOURCE SCRIPT

Easy Move & Squeeze Alerts

146
1. Overview
The Easy Move & Squeeze Alerts indicator combines two proven techniques to help you anticipate major price swings and spot volatility compressions (long/short squeezes) early on. It offers:

Automated Alerts via TradingView’s alert engine

On-chart Visual Cues for immediate context

Flexible Inputs to fine-tune sensitivity, lookback length, and display options

2. TTM Squeeze (Volatility Compression)
Core Concept: Compares Bollinger Bands (standard deviation channels) with Keltner Channels (ATR-based channels).

Squeeze On: BBs lie completely inside Keltner Channels → volatility is compressed, signaling a potential buildup.

Squeeze Off: BBs break outside Keltner Channels → typically the start of a strong directional move.

Alert: When the squeeze releases, the indicator fires an alert:

💥 Squeeze Release – Volatility incoming!

Chart Label: A small, purple “🔒 Squeeze” label appears above the high of each bar while compression persists, giving you a real-time visual flag.

3. ATR Breakouts (Detecting Large Moves)
Core Concept: Builds a dynamic price channel around an EMA using ATR (Average True Range) multiplied by your chosen factor.

Cross Events:

Price crosses above the upper ATR band → potential bullish breakout.

Price crosses below the lower ATR band → potential bearish breakdown.

Alert Conditions: Separate alert triggers for “🚀 Move Up” and “📉 Move Down” fire the moment the close breaches the ATR-based bounds.

4. Visualization & Usage
Channel Plots:

Bollinger Bands in blue

Keltner Channels in orange

ATR Channels in aqua (optional)

Toggle all channel plots on or off with the showZones input.

Background Highlight: During a squeeze, the chart background lightly tints purple for quick visual confirmation.

Alerts Setup:

Simply click Create Alert in TradingView, select this indicator, and choose the event(s) you want (squeeze release, ATR breakouts).

You can route notifications via email, webhook, SMS, or platform pop-ups.

5. Deployment & Customization
Timeframes: Effective across all timeframes; most popular for day- and swing-trading.

Parameter Tuning:

Increase the len value to smooth channels and focus on only the most significant compressions/moves.

Adjust the ATR or BB multipliers to make alerts more or less sensitive.
With this indicator, you gain a clear, actionable framework for spotting both volatility squeezes and breakouts before they unfold—empowering you to enter trades ahead of the crowd. Enjoy customizing and putting it to work!

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.