OPEN-SOURCE SCRIPT

EMA Crossover Cloud w/Range-Bound Filter

99
A focused 1-minute EMA crossover trading strategy designed to identify high-probability momentum trades while filtering out low-volatility consolidation periods that typically result in whipsaw losses. Features intelligent range-bound detection and progressive market attention alerts to help traders manage focus and avoid overtrading during unfavorable conditions.
Key Features:

EMA Crossover Signals: 10/20 EMA crossovers with volume surge confirmation (1.3x 20-bar average)
Range-Bound Filter: Automatically detects when price is consolidating in tight ranges (0.5% threshold) and blocks trading signals during these periods
Progressive Consolidation Stages: Visual alerts progress through Range Bound (red) → Coiling (yellow) → Loading (orange) → Trending (green) to indicate market compression and potential breakout timing
Market Attention Gauge: Helps manage focus between active trading and other activities with states: Active (watch close), Building (check frequently), Quiet (check occasionally), Dead (handle other business)
Smart RSI Exits: Cloud-based and RSI extreme level exits with conservative stop losses
Dual Mode Operation: Separate settings allow full backtesting performance while providing visual stay-out warnings for manual trading

How to Use:

Entry Signals: Trade aqua up-triangles (long) and orange down-triangles (short) when they appear with volume confirmation
Stay-Out Warnings: Ignore gray "RANGE" triangles - these indicate crossovers during range-bound periods that should be avoided
Monitor Top-Right Display:

Range: Current 60-bar dollar range
Attention: Market activity level for focus management
Status: Consolidation stage (trade green/yellow, avoid red, prepare for orange)


Position Sizing: Default 167 shares per signal, optimized for the crossover frequency
Alerts: Enable consolidation stage alerts and market attention alerts for automated notifications

Recommended Settings:

Timeframe: 1-minute charts
Symbol: Optimized for volatile stocks like TSLA
"Apply Filter to Backtest": Keep OFF for realistic backtesting, ON to see filtered results

Risk Management:
The strategy includes built-in overtrading protection by identifying and blocking trades during low-volatility periods. The progressive consolidation alerts help identify when markets are "loading" for significant moves, allowing traders to position appropriately for higher-probability setups.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.