mljones

2-Year MA Multiplier

This is a recreation of the chart from "Bitcoin Investor Tool: 2-Year MA Multiplier" at lookintobitcoin by Philip Swift.

It gives an idea of BTC swings on a 2 year period with the highs being marked by 5x the 2 year SMA. This could be useful on other alts like LTC and Eth.

Source:

//@version=3
// based on Bitcoin Investor Tool: 2-Year MA Multiplier
// lookintobitcoin com/charts/bitcoin-investor-tool/
study(title="2-Year MA", overlay=true)
avg = sma(close, 730)
avgMult = avg*5
avgPlot=plot(avg, color = green, linewidth = 1)
avgMultPlot=plot(avgMult, color = red, linewidth = 1)

fill(avgPlot, avgMultPlot)
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?