OPEN-SOURCE SCRIPT
Financial Conditions Traffic Light Indicator

Inspired by TomasonMarkets. Today I am publishing my first Indicator on trading view based on Chicago Fed National Financial Conditions Index (NFCI). The NFCI incorporates 105 financial market indicators, helping gauge whether financial conditions are "tightening" (restrictive) or "loosening" (accommodative).
It is nothing too complex:
Negative RoC of NFCI = loosening conditions = more liquidity = Risk-on
Positive ROC of NFCI = tightening conditions = less liquidity = Risk-off
Additionally:
Using the 28-week Exponential Moving Average (EMA) we identify long-term trends:
NFCI above the EMA: Indicates financial conditions are tight (relative to recent trends).
NFCI below the EMA: Indicates financial conditions are loose. (relative to recent trends).
Strategy logic:
🟢 Risk-on trades (bullish Bitcoin and other high beta assets) when the NFCI has a negative slope AND NFCI is below its 28-week EMA.
🔴 Risk-off trades (bearish Bitcoin and other high beta assets) when the NFCI has a negative slope AND NFCI is above its 28-week EMA.
🟡 Neutral: Happens in two scenarios: NFCI has a negative slope but is above its EMA OR NFCI has a positive slope but is below its EMA.
It is nothing too complex:
Negative RoC of NFCI = loosening conditions = more liquidity = Risk-on
Positive ROC of NFCI = tightening conditions = less liquidity = Risk-off
Additionally:
Using the 28-week Exponential Moving Average (EMA) we identify long-term trends:
NFCI above the EMA: Indicates financial conditions are tight (relative to recent trends).
NFCI below the EMA: Indicates financial conditions are loose. (relative to recent trends).
Strategy logic:
🟢 Risk-on trades (bullish Bitcoin and other high beta assets) when the NFCI has a negative slope AND NFCI is below its 28-week EMA.
🔴 Risk-off trades (bearish Bitcoin and other high beta assets) when the NFCI has a negative slope AND NFCI is above its 28-week EMA.
🟡 Neutral: Happens in two scenarios: NFCI has a negative slope but is above its EMA OR NFCI has a positive slope but is below its EMA.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน