FX365_Thailand

Government Bonds Yield Spread (Multiple Selection)

FX365_Thailand 已更新   
This indicator shows Government bonds yield spread which is the difference between two government bonds yield.

Country codes and terms(year) are parameterized as listed below so you can combine & compare multiple government bonds as per your needs.

Country:
U.S.
Japan
Australia
New Zealand
U.K.
Germany
Canada
Switzerland

Terms:
2 year
5 year
10 year
20 year
30 year


Sample chart
AUDNZD Daily Chart

As RBNZ’s rate hike has been expected, the yield spread between Australia’s bond and New Zealand’s bond has been increasing with a downtrend of AUDNZD


———————
国債利回りの金利差を表示するインジケーターです。

国と国債の期間を変数化しているので、必要に応じて複数の国の異なる期間の国債利回りの金利差を表示することができます。


国:
アメリカ
日本
オーストラリア
ニュージーランド
イギリス
ドイツ
カナダ
スイス


期間:
2年債
5年債
10年債
20年債
30年債


サンプルチャート
AUDNZDの日足チャートです。
RBNZによる利上げ期待が高まる中、両国の金利差が広がり、下降トレンドを形成しています。

版本注释:
Added France, Italy, Spain and Greece for country selection.
版本注释:
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.

——————————

以下の2つの機能を追加しました。

1. Auto、Manualモードの追加
Autoモードを選択すると、現在開いているチャートのティッカーIDに応じた国債利回り差が計算されます。
例えばGBPUSDのチャートを開くと、イギリス10年国債利回りとアメリカ10年国債利回りの差を計算して表示します。
ユーロクロスペアを選択した場合、ドイツ国債が適用されます。
国債の期間については、Bond1で選択した期間が適用されます。

Autoモードは以下の8主要通貨で構成されるFXの通貨ペアのみに機能します。
USD, JPY, EUR, GBP, AUD, NZD, CAD, CHF.


2. ラベル追加
現在表示している国債利回り差がどの国債利回りの差なのかをわかるようラベル表示可能にしました。
版本注释:
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の通貨ペア以外でも利回り差を表示するよう修正。
版本注释:
Added yield spread value in label.
版本注释:
Added MA of yield spread.

版本注释:
Added each yield value as label below yield spread.
利回り差のラベルの下にそれぞれの国債の利回りを表示するようにしました。

版本注释:
Added Sweden and Norway in country selection.
版本注释:
-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

-国債の期間選択パラメータに"01"を追加
-国債の期間選択パラメータに"月"を追加
末尾に"M"のつく数字は3ヶ月、6ヶ月などの短期国債を表します。例. 03Mは3ヶ月国債
-Pine Scriptバージョン5にアップデート

■”なぜ”がわかる相場分析
・チャートの動きというファクトを元に
・客観的かつロジカルに
・初心者でもわかるように
相場展望を解説

Followすると投稿の度に通知が届きます。
bit.ly/3s888QI

■Editor's Pick
bit.ly/3pkLCEl

■Blog
bit.ly/2VPAMJk

■Indicator
bit.ly/3lmWYFk

■Membership
bit.ly/3zvLkPG
受保护脚本
该脚本是闭源发布的,您可以自由使用它。您可以收藏它以在图表上使用。您无法查看或修改其源代码。
免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?