Added France, Italy, Spain and Greece for country selection.
Release Notes
New functions added;
1. Auto and manual mode selection When “Auto” mode selected, yield spread will automatically be calculated based on chart’s ticker ID. For instance, if you open GBPUSD chart, then yield spread between British government bond yield and U.S. government bond yield. If you choose EURO crosses, German government bond will be applied for EURO. As for bond’s term, bond1’s term will be applied.
Auto mode works for major forex pairs which consists of 8 major currency; USD, JPY, EUR, GBP, AUD, NZD, CAD, CHF.
For manual mode, yield spread will be calculated based on user input parameters.
2. Label Label of selected bonds combination can be displayed so that you can always remember what you are seeing now.
Corrected the logic for manual mode. When Manual mode selected, yield spreads will be shown not only on Forex chart but also on other assets charts.
マニュアルモード選択時はFXの通貨ペア以外でも利回り差を表示するよう修正。
Release Notes
Added yield spread value in label.
Release Notes
Added MA of yield spread.
Release Notes
Added each yield value as label below yield spread. 利回り差のラベルの下にそれぞれの国債の利回りを表示するようにしました。
Release Notes
Added Sweden and Norway in country selection.
Release Notes
-Added "01" for bond term selection -Added month terms for bond term selection The numbers with suffix 'M' means month-term bonds. E.g. 03M means a 3-Month bond. -Updated to Pine Script version5
This script is published closed-source and you may privately use it freely.
Want to use this script on a chart?
Disclaimer
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.