OrionAlgo

BTC ATH ROI

OrionAlgo 已更新   
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.
發布通知:
Cleaned up the plots a bit by moving smoothing and rsi into roi function.
發布通知:
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.
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?