OPEN-SOURCE SCRIPT
Sensex 500-Point Institutional Breakout

The Concept
This strategy is built for the BSE Sensex, specifically targeting institutional liquidity clusters at 500-point round numbers (e.g., 72,000, 72,500, 73,000). These psychological levels often act as "magnets" or "break points" for large-scale orders.
The script captures the momentum once the initial 30 minutes of market "noise" settles, identifying a clear range and executing trades based on clean 5-minute candle breakouts.
📈 Backtest Performance (SENSEX 5M)
Net Profit: +14.37%
Profit Factor: 1.474 (Gross profits are ~1.5x gross losses)
Max Drawdown: 3.51% (High capital protection)
Avg Win/Loss Ratio: 3.167
Key Takeaways
Extreme Reward-to-Risk: This strategy operates on a 1:5 initial R/R. Even with a 29% win rate, the system is highly profitable because the average winning trade is 3x larger than the average loss.
Disciplined Recovery: The 5-trade daily limit acts as a circuit breaker. It allows enough attempts to catch a genuine breakout while capping daily risk at ~500 points during "choppy" sessions.
Capital Efficiency: The low drawdown (3.51%) makes this suitable for larger capital allocation, focusing on high-conviction institutional levels rather than over-trading.
Core Logic
The 9:45 AM Level Lock: At exactly 9:45 AM IST, the script calculates the two nearest 500-point round numbers based on the current price. These become your North and South "Battle Lines" for the day.
Momentum Entry: Unlike standard breakout scripts that wait for a "retest," this script enters a Long the moment a candle closes at or above the upper level, or Short when it closes at or below the lower level.
Profit Target: A fixed 500-point target (the next major round number).
Risk Management (The "Smart Guard")
Initial Stop Loss: 100 points (1:5 Risk/Reward ratio).
The 200-Point Break-Even Rule: Once the trade moves 200 points in your favor, the Stop Loss automatically moves to the Entry Price. This ensures that a "near-hit" on your target doesn't turn into a losing trade.
The 5-Trade Circuit Breaker: To prevent "getting chopped" on sideways days, the script allows a maximum of 5 trades per day. If the market hits your SL 5 times, the script shuts down for the session to preserve capital.
Intraday Square-off: All positions are automatically closed at 3:25 PM IST to avoid overnight gap risks.
Visual Features
Dynamic Labels: Every trade is labeled on the chart (e.g., "Trade 1/5") so you can see your daily limit status at a glance.
Visual SL Marker: A red cross follows your active Stop Loss, showing you exactly when the Break-Even trigger has been activated.
Target Lines: Clear blue/orange lines indicate your 500-point profit zones.
How to Use
Timeframe: 5-Minute (Best for Sensex volatility).
Instrument: SENSEX / BSN.
Inputs: You can customize the number of trades (2, 3, or 5) and the point increments in the settings menu.
Author's Note
This strategy is designed for traders who believe in "fighting for the level." On trending days, it catches the 500-point move early. On choppy days, the 5-trade limit ensures you don't over-trade your account into the ground. Best used in conjunction with Volume analysis.
This strategy is built for the BSE Sensex, specifically targeting institutional liquidity clusters at 500-point round numbers (e.g., 72,000, 72,500, 73,000). These psychological levels often act as "magnets" or "break points" for large-scale orders.
The script captures the momentum once the initial 30 minutes of market "noise" settles, identifying a clear range and executing trades based on clean 5-minute candle breakouts.
📈 Backtest Performance (SENSEX 5M)
Net Profit: +14.37%
Profit Factor: 1.474 (Gross profits are ~1.5x gross losses)
Max Drawdown: 3.51% (High capital protection)
Avg Win/Loss Ratio: 3.167
Key Takeaways
Extreme Reward-to-Risk: This strategy operates on a 1:5 initial R/R. Even with a 29% win rate, the system is highly profitable because the average winning trade is 3x larger than the average loss.
Disciplined Recovery: The 5-trade daily limit acts as a circuit breaker. It allows enough attempts to catch a genuine breakout while capping daily risk at ~500 points during "choppy" sessions.
Capital Efficiency: The low drawdown (3.51%) makes this suitable for larger capital allocation, focusing on high-conviction institutional levels rather than over-trading.
Core Logic
The 9:45 AM Level Lock: At exactly 9:45 AM IST, the script calculates the two nearest 500-point round numbers based on the current price. These become your North and South "Battle Lines" for the day.
Momentum Entry: Unlike standard breakout scripts that wait for a "retest," this script enters a Long the moment a candle closes at or above the upper level, or Short when it closes at or below the lower level.
Profit Target: A fixed 500-point target (the next major round number).
Risk Management (The "Smart Guard")
Initial Stop Loss: 100 points (1:5 Risk/Reward ratio).
The 200-Point Break-Even Rule: Once the trade moves 200 points in your favor, the Stop Loss automatically moves to the Entry Price. This ensures that a "near-hit" on your target doesn't turn into a losing trade.
The 5-Trade Circuit Breaker: To prevent "getting chopped" on sideways days, the script allows a maximum of 5 trades per day. If the market hits your SL 5 times, the script shuts down for the session to preserve capital.
Intraday Square-off: All positions are automatically closed at 3:25 PM IST to avoid overnight gap risks.
Visual Features
Dynamic Labels: Every trade is labeled on the chart (e.g., "Trade 1/5") so you can see your daily limit status at a glance.
Visual SL Marker: A red cross follows your active Stop Loss, showing you exactly when the Break-Even trigger has been activated.
Target Lines: Clear blue/orange lines indicate your 500-point profit zones.
How to Use
Timeframe: 5-Minute (Best for Sensex volatility).
Instrument: SENSEX / BSN.
Inputs: You can customize the number of trades (2, 3, or 5) and the point increments in the settings menu.
Author's Note
This strategy is designed for traders who believe in "fighting for the level." On trending days, it catches the 500-point move early. On choppy days, the 5-trade limit ensures you don't over-trade your account into the ground. Best used in conjunction with Volume analysis.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
Investor | Trader | Bestselling Author | Healing Money Blocks & Manifesting Abundance | Transpersonal Counselor
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
Investor | Trader | Bestselling Author | Healing Money Blocks & Manifesting Abundance | Transpersonal Counselor
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.