rex_wolfe

Percentage Range Indicator

rex_wolfe Updated   
The Percentage Range Indicator is useful for assessing the volatility of pairs for percentage-based grid bots. The higher the percentage range for a given time period, the more trades a grid bot is likely to generate in that period. Conversely, a grid bot can be optimised by using grids that are less than the Percentage Range Indicator value.

I have been using the Percentage Range Indicator based on the one hour time period and 168 periods of smoothing (seven days based on one-hour periods).

Enjoy.
Release Notes:
Script updated to give options for different smoothing -- simple moving average, exponential moving average and weighted moving average. Other code also tidied up.

This script only calculates the range from the high to the low for the period. See my other script, ATRP Arthur, for calculation of the average true range percent. The true range takes into account gaps between periods.
Release Notes:
Updated published chart.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?