OPEN-SOURCE SCRIPT
已更新

Custom Length ATR

411
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.
發行說明
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.
發行說明
Improves readability and usability
發行說明
- Added ATR smoothing type.
發行說明
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.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。