TradingView
LJBunyan
15 mar 2022 22:03

Bitcoin Best Value Corridor 

Bitcoin all time history indexINDEX

Beskrivning

Here is my interpretation of the "Best Time To Buy" Bitcoin over its lifetime using a logarithmic regression trendline. The upper and lower lines are 10% deviations from the centre line. I calculated the trendline in excel and then coded my results into pine script.
Kommentarer
pulitrak
If you want to make it work for any BTC chart, change the first lines of code to:
// Days X-Axis Value

chartStartDate = time
anchorDate = timestamp(2009,1,1,0,0) // Anchor date
days = request.security(syminfo.tickerid, "D", ta.barssince(time == chartStartDate))
offset = math.floor((chartStartDate-anchorDate)/(24 * 60 * 60 * 1000))
d = days + offset

//Logarithmic Equations
pulitrak
It's optimized for a specific graph.
RCBInvestments
Your indicator is not working
hiphopanonymousx
aw are you saying BTC can hit 10k?
Mer