foosmoo

US Treasury Constant Maturity Spreads

foosmoo ที่อัปเดต:   
Plots and tabulates constant maturity treasury yield spreads

// colours per curve type for the plots and table headers
C_30Y_20Y=color.orange
C_10Y_5Y=color.purple
C_10Y_2Y=color.blue
C_7Y_5Y=color.gray
C_5Y_2Y=color.red
C_3Y_2Y=color.yellow
C_10Y_1Y=color.olive
เอกสารเผยแพร่:
Added spreads for short end of the curve, 10yr minus 3m, 10yr minus 1m
เอกสารเผยแพร่:
Changes:
  • Added labels for recession bands.
  • Adjusted visibility of 2009 recession band.

Identifying colours:
  • Orange = 30Y minus 20Y
  • Purple = 10Y minus 5Y
  • Blue = 10Y minus 2Y
  • Grey = 7Y minus 5Y
  • Red = 5Y minus 2Y
  • Yellow = 3Y minus 2Y
  • Olive = 10Y minus 1Y
  • Maroon = 10Y minus 3M
  • Teal = 10Y minus 1M
เอกสารเผยแพร่:
Changes as follows:
  • Minor display and visual changes for readability - moved spread table, font
  • Updated to common markup lib v4
เอกสารเผยแพร่:
Changes a follows:
  • Added parameter that allows user to consider two consecutive quarters of negative GDP growth as a recession. Defaults to false but can be set on Inputs dialog.
เอกสารเผยแพร่:
Changes a follows:
  • Minor UI changes to allow plot and spread table colours to be changed via the indicator’s settings tool
  • Increased precision on the y-scale
  • General refactoring and code hygiene.
เอกสารเผยแพร่:
Changes as follows:

  • Improved the visual for recession band rendering
  • Introduced user defined types and refactored code
  • Added 2001
สคริปต์โอเพนซอร์ซ

ด้วยจิตวิญญาณของ TradingView อย่างแท้จริง ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้ผู้ค้าสามารถเข้าใจและตรวจสอบได้ ไชโยให้กับผู้เขียน! คุณสามารถใช้ได้ฟรี แต่การใช้รหัสนี้ซ้ำในสิ่งพิมพ์อยู่ภายใต้กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?