OPEN-SOURCE SCRIPT
Aggiornato

Custom Length ATR

368
This Custom Length ATR Indicator allows traders to calculate the Average True Range (ATR) dynamically based on a selected timeframe and number of days. Unlike traditional ATR indicators that are tied to the chart’s timeframe, this script lets users choose a specific timeframe scale (e.g., Daily, Hourly, etc.), ensuring consistent volatility measurement across different trading views.
Note di rilascio
This Custom Length ATR Indicator allows traders to calculate the Average True Range (ATR) dynamically based on a selected timeframe and number of days. Unlike traditional ATR indicators that are tied to the chart's timeframe, this script lets users choose a specific timeframe scale (e.g., Daily, Hourly, etc.), ensuring consistent volatility measurement across different trading views.
Note di rilascio
Improves readability and usability
Note di rilascio
- Added ATR smoothing type.
Note di rilascio
Key Improvements:
- Unified Timeframe Selection – ATR & CCI now use a single timeScale parameter for consistency.
- Refined Table Layout – ATR & CCI values are more clearly labeled, right-aligned, and formatted for better readability.
- Improved Terminology – “ATR Length” replaces “ATR Days” for a more standardized approach.
- CCI Trend Indicator – Displays ▲ (up), ▼ (down), or ▬ (neutral) to indicate trend direction.
- Optimized Code Structure – Reduced redundancy and improved overall efficiency.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.