OPEN-SOURCE SCRIPT
已更新

Twin Range Filter – Buy/Sell Signals

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



版本注释
buy/ sell
版本注释
Pane displayed indicator
版本注释
1 Hour 20 EMA

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。