OPEN-SOURCE SCRIPT
Cập nhật S&R Breakout ATR Confirmation

Overview
S&R Breakout ATR Confirmation is a breakout confirmation indicator designed to help traders identify high-probability breakouts from key Support and Resistance levels. Instead of signaling every price breakout, it combines **ATR-based momentum** with an optional Volume confirmation filter to reduce false signals.
The indicator automatically plots dynamic Support and Resistance levels based on a user-defined lookback period and generates BUY or SELL signals only when the breakout meets the selected confirmation criteria.
Features
* Automatic Support & Resistance detection
* ATR-based breakout strength confirmation
* Optional Volume confirmation filter
* BUY and SELL breakout signals
* Clean Support & Resistance plotting
* Background highlights for confirmed breakout candles
* Built-in alert conditions for bullish and bearish breakouts
* Fully customizable inputs
Inputs
* **Support/Resistance Length:** Number of bars used to calculate Support and Resistance.
* **ATR Length:** ATR calculation period.
* **ATR Strength Multiplier:** Minimum candle size relative to ATR required for confirmation.
* **Use Volume Filter:** Enable or disable volume confirmation.
* **Volume MA Length:** Moving average period for volume.
How It Works
BUY Signal
A BUY signal is generated when:
* Price closes above the previous Resistance level.
* Bullish candle size exceeds the ATR strength threshold.
* Volume is above its moving average (if the Volume Filter is enabled).
SELL Signal
A SELL signal is generated when:
* Price closes below the previous Support level.
* Bearish candle size exceeds the ATR strength threshold.
* Volume is above its moving average (if the Volume Filter is enabled).
Alerts
The indicator includes ready-to-use TradingView alerts for:
* Bullish Breakout
* Bearish Breakout
Best Markets
* Forex
* Stocks
* Indices
* Commodities
* Cryptocurrency
Disclaimer
This indicator is intended for educational and analytical purposes only. No indicator guarantees profitable trades. Always use proper risk management and combine this tool with your own market analysis before making trading decisions.
S&R Breakout ATR Confirmation is a breakout confirmation indicator designed to help traders identify high-probability breakouts from key Support and Resistance levels. Instead of signaling every price breakout, it combines **ATR-based momentum** with an optional Volume confirmation filter to reduce false signals.
The indicator automatically plots dynamic Support and Resistance levels based on a user-defined lookback period and generates BUY or SELL signals only when the breakout meets the selected confirmation criteria.
Features
* Automatic Support & Resistance detection
* ATR-based breakout strength confirmation
* Optional Volume confirmation filter
* BUY and SELL breakout signals
* Clean Support & Resistance plotting
* Background highlights for confirmed breakout candles
* Built-in alert conditions for bullish and bearish breakouts
* Fully customizable inputs
Inputs
* **Support/Resistance Length:** Number of bars used to calculate Support and Resistance.
* **ATR Length:** ATR calculation period.
* **ATR Strength Multiplier:** Minimum candle size relative to ATR required for confirmation.
* **Use Volume Filter:** Enable or disable volume confirmation.
* **Volume MA Length:** Moving average period for volume.
How It Works
BUY Signal
A BUY signal is generated when:
* Price closes above the previous Resistance level.
* Bullish candle size exceeds the ATR strength threshold.
* Volume is above its moving average (if the Volume Filter is enabled).
SELL Signal
A SELL signal is generated when:
* Price closes below the previous Support level.
* Bearish candle size exceeds the ATR strength threshold.
* Volume is above its moving average (if the Volume Filter is enabled).
Alerts
The indicator includes ready-to-use TradingView alerts for:
* Bullish Breakout
* Bearish Breakout
Best Markets
* Forex
* Stocks
* Indices
* Commodities
* Cryptocurrency
Disclaimer
This indicator is intended for educational and analytical purposes only. No indicator guarantees profitable trades. Always use proper risk management and combine this tool with your own market analysis before making trading decisions.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
t.me/EdwardJosFXAnalyst
📈 Follow our free Telegram channel for daily Forex, Gold, and Crypto market analysis, trade ideas, and educational trading content.
🔗Join: t.me/EdwardJosFXAnalyst
Trade smart. Manage risk.
📈 Follow our free Telegram channel for daily Forex, Gold, and Crypto market analysis, trade ideas, and educational trading content.
🔗Join: t.me/EdwardJosFXAnalyst
Trade smart. Manage risk.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
t.me/EdwardJosFXAnalyst
📈 Follow our free Telegram channel for daily Forex, Gold, and Crypto market analysis, trade ideas, and educational trading content.
🔗Join: t.me/EdwardJosFXAnalyst
Trade smart. Manage risk.
📈 Follow our free Telegram channel for daily Forex, Gold, and Crypto market analysis, trade ideas, and educational trading content.
🔗Join: t.me/EdwardJosFXAnalyst
Trade smart. Manage risk.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.