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.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。