OPEN-SOURCE SCRIPT
Aktualisiert

ATR Volatility Filter

419
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
Versionshinweise
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.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.