oakleywood

Bitcoin Risk Metric II

oakleywood Aggiornato   
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.
Note di rilascio:
Tidied up code.
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?