Amplitude is a very simple measurement of subtracting the range (high - low) of a candle by some other data from that candle. in this case, we use the midpoint of the candle, so the calculation is (high - low) / (high + low)/2 . This isn't a new concept, but I could not find this study anywhere so I decided to add it myself.
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?
//A simple measurement of amplitude
//You can use this to help gauge volatility in the market
//Change the divisor as you wish

study("amplitude")
amplitude = ((high - low)/((high+low)/2))

plot(amplitude, style=histogram)