OPEN-SOURCE SCRIPT
SR CHART PATTERN SCALPER V1

SR Chart Pattern Scalper V1 is a non-repaint TradingView strategy designed to identify measurable price action setups based on confirmed support and resistance levels combined with classic chart patterns.
The strategy uses confirmed pivot highs and pivot lows to define support and resistance zones. It then detects several well-known chart patterns, including Double Bottom, Double Top, Breakout + Retest, Rectangle Breakout, and Triangle Breakout.
All signals are generated only after candle close and confirmed pivot validation, making the logic non-repaint. The script does not use future data, lookahead, or repainting conditions.
Main features:
- Confirmed support and resistance detection
- Double Top and Double Bottom detection
- Breakout + Retest setup detection
- Rectangle Breakout detection
- Triangle Breakout detection
- ATR-based support/resistance tolerance
- Optional EMA 200 trend filter
- Optional ADX strength filter
- Session filter
- Automatic risk-based position sizing
- ATR-buffered stop loss
- Risk-to-reward based take profit
- Maximum trades per day
- Cooldown between trades
- Time-based exit for measurable backtesting
- Visual Entry, SL, and TP lines
- On-chart dashboard with metrics and pattern counters
The strategy is intended for traders who want a structured and measurable approach to chart pattern trading, instead of relying on subjective visual interpretation.
The logic is based on:
1. Confirmed support and resistance zones
2. A valid chart pattern formation
3. Candle-close confirmation
4. Risk validation
5. Optional trend and momentum filters
Recommended usage:
- M15 for intraday trading and balanced signal frequency
- H1 for cleaner and more reliable chart patterns
- M5 only for more aggressive scalping or entry refinement
Non-repaint logic:
The strategy uses confirmed pivots and bar-close confirmation only. Signals are not generated from unfinished candles.
Disclaimer:
This script is for educational and backtesting purposes only. It does not guarantee future results. Always test the strategy on your own symbol, broker feed, and market conditions before using it in live trading.
The strategy uses confirmed pivot highs and pivot lows to define support and resistance zones. It then detects several well-known chart patterns, including Double Bottom, Double Top, Breakout + Retest, Rectangle Breakout, and Triangle Breakout.
All signals are generated only after candle close and confirmed pivot validation, making the logic non-repaint. The script does not use future data, lookahead, or repainting conditions.
Main features:
- Confirmed support and resistance detection
- Double Top and Double Bottom detection
- Breakout + Retest setup detection
- Rectangle Breakout detection
- Triangle Breakout detection
- ATR-based support/resistance tolerance
- Optional EMA 200 trend filter
- Optional ADX strength filter
- Session filter
- Automatic risk-based position sizing
- ATR-buffered stop loss
- Risk-to-reward based take profit
- Maximum trades per day
- Cooldown between trades
- Time-based exit for measurable backtesting
- Visual Entry, SL, and TP lines
- On-chart dashboard with metrics and pattern counters
The strategy is intended for traders who want a structured and measurable approach to chart pattern trading, instead of relying on subjective visual interpretation.
The logic is based on:
1. Confirmed support and resistance zones
2. A valid chart pattern formation
3. Candle-close confirmation
4. Risk validation
5. Optional trend and momentum filters
Recommended usage:
- M15 for intraday trading and balanced signal frequency
- H1 for cleaner and more reliable chart patterns
- M5 only for more aggressive scalping or entry refinement
Non-repaint logic:
The strategy uses confirmed pivots and bar-close confirmation only. Signals are not generated from unfinished candles.
Disclaimer:
This script is for educational and backtesting purposes only. It does not guarantee future results. Always test the strategy on your own symbol, broker feed, and market conditions before using it in live trading.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.