TradingView
OrionAlgo
25 Nis 2021 05:32

BTC ATH ROI 

Bitcoin Liquid IndexBrave New Coin

Açıklama

This indicator shows the ROI % of Bitcoin from when it passed its ATH of the previous bull cycle. I found it interesting that each time it crossed its ATH it took around 260-280 days to peak for each one. This bull run seems to follow between both of the previous bull runs including this recent dip.

There are a couple issues I want to fix but can't figure out:
1. You need to completely scroll out and move towards 2013 on the Daily chart for all 3 lines to show up. Would be nice to load all of that data at the start.
2. I can't query the value of the plots after they have been offset. This would be useful to create a prediction bias for the current plot so would could see where btc might go.

If you peeps know of a way to load all data or query plot values after offsets, please share. That would be awesome.

Sürüm Notları

Cleaned up the plots a bit by moving smoothing and rsi into roi function.

Sürüm Notları

Created a new function to try to reference the historical bars. This fixes drawing issues up to the current bar, but not past the current bar. User still needs to scroll out to get the first historical bars, but we are on the right track.
Using the new v2 function I was able to create a 'prediction' curve based on previous cycles and current cycle.
Yorumlar
Hutmacher42
thats a interesting one
OrionAlgo
If you can't see all the lines, make sure you are on the Daily chart, scroll all the way out, and move the chart towards 2013. Then move back to the current bar and the lines should be there.
Daha Fazla