OPEN-SOURCE SCRIPT
Scalp Breakout Predictor Pro - by Herman Sangivera (Papua)

Scalp Breakout Predictor Pro by Herman Sangivera ( Papuan Trader )
Overview
The Scalp Breakout Predictor Pro is a high-performance technical indicator designed for scalpers and day traders who thrive on market volatility. This tool specializes in identifying "Squeeze" phases—periods where the market is consolidating sideways—and predicts the likely direction of the upcoming breakout using underlying momentum accumulation.
How It Works
The indicator combines three core mathematical concepts to ensure "Safe but Fast" entries:
Squeeze Detection (BB vs. KC): It monitors the relationship between Bollinger Bands and Keltner Channels. When Bollinger Bands contract inside the Keltner Channels, the market is in a "Squeeze" (represented by the gray background). This indicates that energy is being coiled for a massive move.
Momentum Accumulation (Pre-Signal): While the price is still moving sideways, the script analyzes linear regression momentum.
PRE-BULL: Momentum is building upwards despite price being flat.
PRE-BEAR: Momentum is fading downwards despite price being flat.
Breakout Confirmation: An entry signal is only triggered when the Squeeze "fires" (the price breaks out of the bands), ensuring you don't get stuck in a dead market for too long.
Key Features
Real-time Prediction Labels: Get early warnings (PRE-BULL / PRE-BEAR) to prepare for the trade before it happens.
Dynamic TP/SL Lines: Automatically calculates Take Profit and Stop Loss levels based on the Average True Range (ATR), adapting to the current market's "breath."
On-Screen Dashboard: A sleek table in the top-right corner displays the current market phase (Squeeze vs. Volatile), the predicted next move, and the current ATR value.
Pine Script V6 Optimized: Built using the latest version of TradingView’s coding language for maximum speed and compatibility.
Trading Rules
Preparation: When you see a Gray Background, the market is sideways. Watch the Dashboard for the "Potential" direction.
Anticipation: If a PRE-BULL or PRE-BEAR label appears, get ready to enter.
Execution: Enter the trade when the ENTRY BUY (Lime Triangle) or ENTRY SELL (Red Triangle) signal appears.
Exit: Follow the Green Line for Take Profit and the Red Line for Stop Loss.
Technical Settings
HMA Length: Adjusts the sensitivity of the trend filter (Hull Moving Average).
TP/SL Multipliers: Allows you to customize your Risk:Reward ratio based on ATR volatility.
Squeeze Length: Determines the lookback period for consolidation detection.
Disclaimer: Scalping involves high risk. Always test this indicator on a demo account before using it with live capital.
Overview
The Scalp Breakout Predictor Pro is a high-performance technical indicator designed for scalpers and day traders who thrive on market volatility. This tool specializes in identifying "Squeeze" phases—periods where the market is consolidating sideways—and predicts the likely direction of the upcoming breakout using underlying momentum accumulation.
How It Works
The indicator combines three core mathematical concepts to ensure "Safe but Fast" entries:
Squeeze Detection (BB vs. KC): It monitors the relationship between Bollinger Bands and Keltner Channels. When Bollinger Bands contract inside the Keltner Channels, the market is in a "Squeeze" (represented by the gray background). This indicates that energy is being coiled for a massive move.
Momentum Accumulation (Pre-Signal): While the price is still moving sideways, the script analyzes linear regression momentum.
PRE-BULL: Momentum is building upwards despite price being flat.
PRE-BEAR: Momentum is fading downwards despite price being flat.
Breakout Confirmation: An entry signal is only triggered when the Squeeze "fires" (the price breaks out of the bands), ensuring you don't get stuck in a dead market for too long.
Key Features
Real-time Prediction Labels: Get early warnings (PRE-BULL / PRE-BEAR) to prepare for the trade before it happens.
Dynamic TP/SL Lines: Automatically calculates Take Profit and Stop Loss levels based on the Average True Range (ATR), adapting to the current market's "breath."
On-Screen Dashboard: A sleek table in the top-right corner displays the current market phase (Squeeze vs. Volatile), the predicted next move, and the current ATR value.
Pine Script V6 Optimized: Built using the latest version of TradingView’s coding language for maximum speed and compatibility.
Trading Rules
Preparation: When you see a Gray Background, the market is sideways. Watch the Dashboard for the "Potential" direction.
Anticipation: If a PRE-BULL or PRE-BEAR label appears, get ready to enter.
Execution: Enter the trade when the ENTRY BUY (Lime Triangle) or ENTRY SELL (Red Triangle) signal appears.
Exit: Follow the Green Line for Take Profit and the Red Line for Stop Loss.
Technical Settings
HMA Length: Adjusts the sensitivity of the trend filter (Hull Moving Average).
TP/SL Multipliers: Allows you to customize your Risk:Reward ratio based on ATR volatility.
Squeeze Length: Determines the lookback period for consolidation detection.
Disclaimer: Scalping involves high risk. Always test this indicator on a demo account before using it with live capital.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.