PROTECTED SOURCE SCRIPT
BPS BB-Expansion (Simplified for Bull-Put-Spreads)

#BPS BB-Expansion (Simplyfied)
1. Detects Bollinger Band breakouts on the current timeframe and focuses on moments of band expansion rather than compression.
2. Confirms bullish conditions using a positive EMA slope, filtering trades to align with short-term trend direction.
3. Prevents repeated signals during the same move via a signal lock mechanism, only re-arming after price falls back below the Bollinger basis.
4. Uses confirmed bar closes only, avoiding repainting and premature signals.
5. Calculates annualized volatility using three selectable methods: ATR-based, Parkinson volatility, or a hybrid of both.
6. Applies a dynamic volatility buffer that adapts to current market conditions by comparing current ATR to its historical average.
7. Adjusts volatility expectations upward during high-volatility regimes, producing a buffered volatility estimate suitable for risk-aware decisions.
8. Displays BUY signals visually on the chart with ATR-based label spacing to maintain chart clarity.
9. Maintains a rolling history of the last five buy signals, including entry price and buffered annualized volatility.
10. Provides a configurable on-chart information table summarizing Bollinger expansion status, current dynamic volatility, and recent signal history for real-time decision support.
1. Detects Bollinger Band breakouts on the current timeframe and focuses on moments of band expansion rather than compression.
2. Confirms bullish conditions using a positive EMA slope, filtering trades to align with short-term trend direction.
3. Prevents repeated signals during the same move via a signal lock mechanism, only re-arming after price falls back below the Bollinger basis.
4. Uses confirmed bar closes only, avoiding repainting and premature signals.
5. Calculates annualized volatility using three selectable methods: ATR-based, Parkinson volatility, or a hybrid of both.
6. Applies a dynamic volatility buffer that adapts to current market conditions by comparing current ATR to its historical average.
7. Adjusts volatility expectations upward during high-volatility regimes, producing a buffered volatility estimate suitable for risk-aware decisions.
8. Displays BUY signals visually on the chart with ATR-based label spacing to maintain chart clarity.
9. Maintains a rolling history of the last five buy signals, including entry price and buffered annualized volatility.
10. Provides a configurable on-chart information table summarizing Bollinger expansion status, current dynamic volatility, and recent signal history for real-time decision support.
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用,没有任何限制 — 了解更多信息这里。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用,没有任何限制 — 了解更多信息这里。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。