OPEN-SOURCE SCRIPT
Mis à jour Bitcoin Risk Metric II

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.
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.
Notes de version
Tidied up code. Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.