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提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。