OPEN-SOURCE SCRIPT
Atualizado

Twin Range Filter – Buy/Sell Signals

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



Notas de Lançamento
buy/ sell
Notas de Lançamento
Pane displayed indicator
Notas de Lançamento
1 Hour 20 EMA

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.