OPEN-SOURCE SCRIPT
Telah dikemas kini

Twin Range Filter – Buy/Sell Signals

11 179
The Twin Range Filter is a trend-following indicator that combines two adaptive volatility filters to identify potential market reversals and trend continuations. It uses two configurable smoothing periods (fast and slow) to calculate a dynamic range around price, filtering out market noise and highlighting meaningful shifts in direction.

This indicator plots BUY and SELL signals based on price action in relation to the range filter, as well as internal trend conditions.

✅ How It Works:
Long Signal (BUY) is triggered when:

Price is above the filtered range (showing strength), and

Short-term upward momentum is confirmed.

Short Signal (SELL) is triggered when:

Price is below the filtered range (showing weakness), and

Short-term downward momentum is confirmed.

The signals are highlighted using green "Long" and red "Short" labels on the chart.

Background colors reinforce the current directional bias.

🔔 Alerts:
Long Signal – A new BUY condition has been detected.

Short Signal – A new SELL condition has been detected.

📌 Use Cases:
Entry timing for swing or intraday trades

Trend confirmation filter

Signal generator in automated strategies (when paired with a strategy script)



Nota Keluaran
buy/ sell
Nota Keluaran
Pane displayed indicator
Nota Keluaran
1 Hour 20 EMA

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.