oakleywood

Bitcoin Risk Metric II

oakleywood Actualizado   
Thesis: Bitcoin's price movements can be (dubiously) characterized by functional relationships between moving averages and standard deviations. These movements can be normalized into a risk metric through normalization functions of time. This risk metric may be able to quantify a long term "buy low, sell high" strategy.

This risk metric is the average of three normalized metrics:

1. (btc - 4 yma)/ (std dev)
2. ln(btc / 20 wma)
3. (50 dma)/(50 wma)

* btc = btc price
* yma = yearly moving average of btc, wma = weekly moving average of btc, dma = daily moving average of btc
* std dev = std dev of btc

Important note:
Historical data for this metric is only shown back until 2014, because of the nature of the 1st mentioned metric. The other two metrics produce a value back until 2011. A previous, less robust, version of metric 2 is posted on my TradingView as well.
Notas de prensa:
Tidied up code.
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?