PROTECTED SOURCE SCRIPT
CPR Breakout/Breakdown Alert Candle

Indicator Description (CPR + 44 MA Breakout Reference Candle Alert):
This indicator generates an alert when a candle **crosses above or below a specific "reference candle."
A **reference candle** is formed when a candle on the current day **breaks out above both the Central Pivot Range (CPR) and the 44-period Moving Average (MA)** from below (for a bullish setup) or **breaks down below both CPR and 44 MA** from above (for a bearish setup).
Once this reference candle is identified, the indicator continues monitoring price action. **An alert is triggered when any future candle crosses above (for bullish) or below (for bearish) the high/low of this reference candle**, confirming momentum in the breakout or breakdown direction.
This helps traders catch strong directional moves early, using the CPR and 44 MA as key breakout levels.
This indicator generates an alert when a candle **crosses above or below a specific "reference candle."
A **reference candle** is formed when a candle on the current day **breaks out above both the Central Pivot Range (CPR) and the 44-period Moving Average (MA)** from below (for a bullish setup) or **breaks down below both CPR and 44 MA** from above (for a bearish setup).
Once this reference candle is identified, the indicator continues monitoring price action. **An alert is triggered when any future candle crosses above (for bullish) or below (for bearish) the high/low of this reference candle**, confirming momentum in the breakout or breakdown direction.
This helps traders catch strong directional moves early, using the CPR and 44 MA as key breakout levels.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
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ã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
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.