OPEN-SOURCE SCRIPT
Mis à jour

ATR Volatility Filter

418
A Basic Volatility Filter
3 Modes
1- Absolute ATR filter
2- Filter Based on ATR threshold relative percentage of the price
3- ATR Threshold relative to its moving average
Notes de version
I have Added Floor for ATR MA

Prevents false trending signals during extended low-volatility periods.
When using "Relative to MA" mode, both ATR and its MA can compress together during prolonged consolidation. This means the ratio might pass (e.g., ATR = 120% of MA) even when absolute volatility is too low for meaningful trades.
The floor requires ATR MA to be at least X% of price before any signal is valid. Default 0.5% ensures there's enough price movement for your SL/TP to function properly.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.