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에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?