OPEN-SOURCE SCRIPT

Average Candle Range

This indicator calculates and displays the average trading range of candles over a specified period, helping traders identify volatility patterns and potential trading opportunities.

Features:
- Customizable lookback period (1-500 bars)
- Clean visual display in a top-right table overlay
- High-precision calculation showing 10 decimal places
- Real-time updates with each new bar

How it Works:
The indicator calculates the range of each candle (High - Low) and then computes the Simple Moving Average (SMA) of these ranges over your specified lookback period. The result is displayed in an easy-to-read table overlay.

Use Cases:
- Volatility Analysis: Monitor market volatility trends
- Position Sizing: Help determine position sizes based on average price movements
- Trading Strategy Development: Use as a reference for setting stop losses and take profits
- Market Phase Identification: Help identify high vs low volatility market phases

Settings:
- Lookback Period: Default is 140 bars, adjustable from 1 to 500

Note:
The indicator displays values with 10 decimal places for high-precision analysis, particularly useful in markets with small price movements.
Candlestick analysisCyclesVolatilitywtasad

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明