OPEN-SOURCE SCRIPT
SentinelIndex

Overview
The Sentinelindex is a comprehensive risk-assessment tool designed to expose the divergence between market price action and underlying macroeconomic reality. While the S&P 500 might print new highs, the Sentinelindex looks beneath the surface to see if the move is backed by liquidity, economic stability, and institutional conviction.
This indicator aggregates three non-correlated pillars of market health into a single, easy-to-read 0-100 normalized score.
The Three Pillars of the Sentinel Score
Liquidity (M2 Money Supply YoY): Markets run on fuel, and that fuel is money. By tracking the Year-over-Year change in the M2 Money Supply (via FRED data), the indicator penalizes the score when liquidity is contracting or stagnating, signaling a "dry" environment where rallies are harder to sustain.
Economic Clock (Yield Curve 10Y-2Y): The 10Y-2Y spread is the most reliable recession predictor in history. However, the real danger isn't just inversion—it's de-inversion. This script specifically monitors the critical phase where the curve returns to positive territory (0 to 1.0), a zone historically associated with market pivots and economic shifts.
The Shadow (Insider Sell/Buy Ratio): The ultimate "Smart Money" signal. This component tracks the behavior of corporate insiders (CEOs, CFOs). When those with the most information are selling into a rally at a high ratio, the Sentinel Score spikes, revealing a "Distribution Phase" that retail traders often miss.
How to Interpret the Score
0 - 40 (Green): Healthy Accumulation. High liquidity, stable macro, and calm insiders. The trend is likely supported by fundamentals.
40 - 75 (Orange): Tactical Caution. Divergences are forming. Liquidity is tightening or the Yield Curve is shifting. The ice is getting thinner.
75 - 100 (Red): Distribution Alert. Maximum risk. While prices may be high, the "Smart Money Shadow" indicates institutional exiting and macro headwinds. Capital protection becomes the priority.
Instructions for Users
Manual Input: Due to the proprietary nature of aggregate Insider Trading data, the Insider Sell/Buy Ratio must be updated manually once a week (typically every Monday) in the script settings. We recommend using a 1-week aggregate ratio from reliable sources like OpenInsider.
Data Source: This indicator automatically fetches real-time data from the Federal Reserve (FRED). Ensure your TradingView account has access to FRED symbols (default for most users).
Best Timeframes: Daily (D) or Weekly (W) for high-level macro analysis.
The Sentinelindex is a comprehensive risk-assessment tool designed to expose the divergence between market price action and underlying macroeconomic reality. While the S&P 500 might print new highs, the Sentinelindex looks beneath the surface to see if the move is backed by liquidity, economic stability, and institutional conviction.
This indicator aggregates three non-correlated pillars of market health into a single, easy-to-read 0-100 normalized score.
The Three Pillars of the Sentinel Score
Liquidity (M2 Money Supply YoY): Markets run on fuel, and that fuel is money. By tracking the Year-over-Year change in the M2 Money Supply (via FRED data), the indicator penalizes the score when liquidity is contracting or stagnating, signaling a "dry" environment where rallies are harder to sustain.
Economic Clock (Yield Curve 10Y-2Y): The 10Y-2Y spread is the most reliable recession predictor in history. However, the real danger isn't just inversion—it's de-inversion. This script specifically monitors the critical phase where the curve returns to positive territory (0 to 1.0), a zone historically associated with market pivots and economic shifts.
The Shadow (Insider Sell/Buy Ratio): The ultimate "Smart Money" signal. This component tracks the behavior of corporate insiders (CEOs, CFOs). When those with the most information are selling into a rally at a high ratio, the Sentinel Score spikes, revealing a "Distribution Phase" that retail traders often miss.
How to Interpret the Score
0 - 40 (Green): Healthy Accumulation. High liquidity, stable macro, and calm insiders. The trend is likely supported by fundamentals.
40 - 75 (Orange): Tactical Caution. Divergences are forming. Liquidity is tightening or the Yield Curve is shifting. The ice is getting thinner.
75 - 100 (Red): Distribution Alert. Maximum risk. While prices may be high, the "Smart Money Shadow" indicates institutional exiting and macro headwinds. Capital protection becomes the priority.
Instructions for Users
Manual Input: Due to the proprietary nature of aggregate Insider Trading data, the Insider Sell/Buy Ratio must be updated manually once a week (typically every Monday) in the script settings. We recommend using a 1-week aggregate ratio from reliable sources like OpenInsider.
Data Source: This indicator automatically fetches real-time data from the Federal Reserve (FRED). Ensure your TradingView account has access to FRED symbols (default for most users).
Best Timeframes: Daily (D) or Weekly (W) for high-level macro analysis.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.