Library "L_Beta" TODO: add library description here
length()
beta()
simple_beta()
index_selector()
Release Notes
v2 [] More refined. In order to replicate/re-test the values (i.e., from Yahoo Fiance), the intervals (D,W,M) "M" must be selected.
Added: beta_length()
beta_less_intuitive()
returns()
Updated: beta()
Removed: length()
simple_beta()
Release Notes
v3 1) Corrected Returns by converting the values into percentages. 2) Corrected (Country Selection) by adding a proper function name. 3) Crossed checked/referenced to Yahoo Finance and Investing.com results. 4) Time-Frame Checker added to highlight the correct selected time-frames. 5) Added table for easier sight [beta, correlations]. - More updates coming if needed. :) Added: index_auto_select()
return_checker()
Removed: index_selector()
Release Notes
v4 + Time-frame Auto-select + Function: Returns (Now has output for decimal and percentage) + Function: Index (You can now reference to more options!) + Table: Helpful "Legend" Section () More updates coming when appropriate. :) Added: timeframe_auto_select()
Release Notes
v5 + correction: the frequency/intervals selection is now based on "D" and then finally based on the selection. >> More Accurate than the previous version. Added: positron()
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House rules.
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.