Post
Topic
Board Speculation
Re: BETI: Bitcoin Exponential Trend Index and technical analysis
by
mararn1618
on 08/01/2018, 18:44:47 UTC
And to make it worse, i have also added a BETI indicator to Tradingview. Wink


Screenshot https://i.imgur.com/3GqkR6n.png

Code:
//based on
//https://www.wolframalpha.com/input/?i=e+%5E+(+0.00331836433279664++(+number+of+seconds+since+jul+17,+2010+12pm+UTC%2F86400%2Fseconds+)+-0.120774828196607+)
//https://bitcointalk.org/index.php?topic=470453.680

study(title='BTC BETI', overlay=false)

a = 0.00331836433279664
b = -0.120774828196607
timevar = (time-1279368000000)/(1000*60*60*24)
my_beti(price) => log(price/exp(a*timevar+b))

plot(my_beti(close))

plot(2, color=#111111, transp=50)
plot(1, color=#111111, transp=50)
plot(0, color=#111111, transp=50)
plot(-1, color=#111111, transp=50)
plot(-2, color=#111111, transp=50)

//Epoch timestamp: 1279368000
//Timestamp in milliseconds: 1279368000000
//Human time (GMT): Saturday, July 17, 2010 12:00:00 PM
//Human time (your time zone): Saturday, July 17, 2010 2:00:00 PM GMT+02:00