OPEN-SOURCE SCRIPT
Diupdate

Twin Range Filter – Buy/Sell Signals

12 146
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)



Catatan Rilis
buy/ sell
Catatan Rilis
Pane displayed indicator
Catatan Rilis
1 Hour 20 EMA

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.