OPEN-SOURCE SCRIPT
ที่อัปเดต: Scalping Signals (Range Filter + EMA)

Scalping Signals Range Filter + EMA Gate Indicator — Confirmed Signals
The Indicator is a trend-following and momentum confirmation tool designed to identify high-probability BUY and SELL opportunities while filtering out market noise and low-quality signals.
This indicator combines a dynamic Range Filter system with EMA trend alignment, optional Bollinger filtering, and non-repainting confirmed candle logic to create cleaner market entries.
Core Concepts
1. Range Filter Engine
At the heart of the indicator is a smoothed Range Filter that adapts to market volatility.
The filter acts as a dynamic trend baseline:
Price above the filter → bullish pressure
Price below the filter → bearish pressure
The filter continuously adjusts based on recent market movement, helping reduce false signals during choppy conditions.
2. EMA Gate System
The indicator uses a dual EMA gate mechanism:
Fast EMA (default: 50)
Slow EMA (default: 150)
Signals are only allowed in the direction of the active EMA gate:
50 EMA above 150 EMA → long signals only
50 EMA below 150 EMA → short signals only
This prevents counter-trend trades and helps align entries with the dominant market structure.
3. Optional EMA 200 Trend Filter
An additional higher-timeframe style trend filter can be enabled using the EMA 200.
When enabled:
BUY signals require price above EMA 200
SELL signals require price below EMA 200
This helps avoid trading against the broader trend.
4. Optional Bollinger Filter
The Bollinger filter can be enabled to further validate momentum:
Longs allowed only above Bollinger basis
Shorts allowed only below Bollinger basis
This can help remove weak signals during sideways conditions.
5. Confirmed Non-Repainting Signals
The indicator uses confirmed candle logic:
Signals only appear after candle close
No future candle references
No lookahead logic
No repainting on closed candles
This makes the signals more reliable for live trading and alerts.
Features
Adaptive Range Filter
EMA Gate Direction System
Optional EMA 200 Trend Filter
Optional Bollinger Confirmation Filter
BUY/SELL Signal Labels
Confirmed Candle Signals
Non-Repainting Logic
Heikin-Ashi Source Support
Alert Conditions Included
Debug Visualization Mode
Recommended Usage
This indicator works best in trending environments and can be used for:
Trend-following strategies
Pullback entries
Momentum continuation trades
Scalping
Intraday trading
Swing trading
Popular timeframes:
1m
5m
15m
1H
Alerts
Included alert conditions:
BUY Signal Confirmed
SELL Signal Confirmed
EMA Gate Bullish Confirmed
EMA Gate Bearish Confirmed
For best results, use TradingView alerts with:
“Once Per Bar Close”
Notes
This indicator is designed as a signal and confirmation tool, not a complete trading system. Proper risk management, stop-loss placement, and market context analysis are still required.
The Indicator is a trend-following and momentum confirmation tool designed to identify high-probability BUY and SELL opportunities while filtering out market noise and low-quality signals.
This indicator combines a dynamic Range Filter system with EMA trend alignment, optional Bollinger filtering, and non-repainting confirmed candle logic to create cleaner market entries.
Core Concepts
1. Range Filter Engine
At the heart of the indicator is a smoothed Range Filter that adapts to market volatility.
The filter acts as a dynamic trend baseline:
Price above the filter → bullish pressure
Price below the filter → bearish pressure
The filter continuously adjusts based on recent market movement, helping reduce false signals during choppy conditions.
2. EMA Gate System
The indicator uses a dual EMA gate mechanism:
Fast EMA (default: 50)
Slow EMA (default: 150)
Signals are only allowed in the direction of the active EMA gate:
50 EMA above 150 EMA → long signals only
50 EMA below 150 EMA → short signals only
This prevents counter-trend trades and helps align entries with the dominant market structure.
3. Optional EMA 200 Trend Filter
An additional higher-timeframe style trend filter can be enabled using the EMA 200.
When enabled:
BUY signals require price above EMA 200
SELL signals require price below EMA 200
This helps avoid trading against the broader trend.
4. Optional Bollinger Filter
The Bollinger filter can be enabled to further validate momentum:
Longs allowed only above Bollinger basis
Shorts allowed only below Bollinger basis
This can help remove weak signals during sideways conditions.
5. Confirmed Non-Repainting Signals
The indicator uses confirmed candle logic:
Signals only appear after candle close
No future candle references
No lookahead logic
No repainting on closed candles
This makes the signals more reliable for live trading and alerts.
Features
Adaptive Range Filter
EMA Gate Direction System
Optional EMA 200 Trend Filter
Optional Bollinger Confirmation Filter
BUY/SELL Signal Labels
Confirmed Candle Signals
Non-Repainting Logic
Heikin-Ashi Source Support
Alert Conditions Included
Debug Visualization Mode
Recommended Usage
This indicator works best in trending environments and can be used for:
Trend-following strategies
Pullback entries
Momentum continuation trades
Scalping
Intraday trading
Swing trading
Popular timeframes:
1m
5m
15m
1H
Alerts
Included alert conditions:
BUY Signal Confirmed
SELL Signal Confirmed
EMA Gate Bullish Confirmed
EMA Gate Bearish Confirmed
For best results, use TradingView alerts with:
“Once Per Bar Close”
Notes
This indicator is designed as a signal and confirmation tool, not a complete trading system. Proper risk management, stop-loss placement, and market context analysis are still required.
Release Note
- Added alert for EMA cross, will be called Bullish EMA gate flip, and Bearish EMA gate flip. - Added small table on the chart to give quick summery on the current trend.
- Updated Visuals
//Next update will focus on signal refinement instead//
Release Note
- Removed the Bullish EMA Gate Flip and Bearish EMA Gate Flip visual markers from the chart.- EMA Gate Flip conditions are now kept as alerts only. This should serve as an early signal.
- Kept the chart cleaner by leaving only the main BUY/SELL signals visible.
- Updated visuals for better readability.
Next update will focus on signal refinement.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
JOEXYZzz
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
JOEXYZzz
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน