fract

Body / Range %

Body / Range is a volatility indicator that shows how many percentages the body candle occupies the range. The ratio tells us about the health and confidence of the current candlestick.
Since overall candle Range is always bigger than the body range, Body/Range indicator will always fluctuate inside a range of 0 and 100%.
I didn't use True Range because it considers gaps and the ratio won't be considering individual candles. Therefore, I used high - low and identified it as Range. In this function, the wicks play obviously role in determining the ratio too without its variable separately in the formula. I wouldn't use wicks here because Range = body + total wicks anyway. It already covers the variable. If I made the ratio with Body / Total Wicks, we wouldn't have stable 0 - 100% range of the indicator by the way. So it's fully justified dividing Body by Range to get some summarized Candle Metrics.
Logically we assume that if wicks are relatively bigger than body then the ratio will be relatively smaller and vice versa.

Change TF of the indicator is possible. For example, 3 months per bar would look like this:
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?