WStdvB - weighted bands [cc]WStdvB is a volatility-driven trading strategy designed to identify high-probability breakouts and trend continuations using weighted standard deviation bands combined with multiple confirmation filters.
At its core, the strategy adapts dynamically to market conditions by measuring volatility expansion and filtering trades only when structure, momentum, and trend alignment are present.
⸻
Core Concepts
• Weighted Standard Deviation Bands
Dynamic bands built around a configurable moving average to detect volatility breakouts.
• Directional Bias Filters
Trend filters ensure longs and shorts are only taken in the dominant market direction.
• Volatility Confirmation
Trades are allowed only when volatility is expanding relative to its own average, helping avoid low-energy market phases.
• Supertrend Confirmation & Exit Logic
Optional Supertrend filter for trend validation and adaptive exits during reversals.
⸻
Risk & Exit Management
• ATR-Based Stop Loss
Adaptive volatility stops that adjust to current market conditions.
• Multiple Exit Conditions
Positions can close based on:
• Opposite band interaction
• ATR stop
• Moving average cross
• Supertrend flip
This layered exit logic is designed to protect capital while allowing profitable trends to develop.
⸻
Customization
Every component can be enabled, disabled, or tuned:
• Separate logic for long and short trades
• Independent parameters for filters, bands, and exits
• Optimized for both trending and volatile markets
⸻
Notes
• Designed for experienced traders who understand volatility-based systems
• Works best on liquid instruments and higher-quality price feeds
• The indicator isn't repainting
Please note that this strategy is for educational purposes only and should not be used for trading without further testing and analysis.
Pine Script® strategy






















