指標

指標

指標

SentinelIndexOverview
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. 指標

Trading Sessions with High/Low LevelsTrading Sessions with High/Low Levels
A comprehensive Pine Script indicator for TradingView that provides visual background coloring for major trading sessions along with dynamic high/low level tracking and labeling.
Overview
This advanced indicator combines session background highlighting with precise high/low level detection for each trading session. It tracks and displays the highest and lowest price levels reached during Asia, London, and USA trading sessions, with customizable visual elements including lines, labels, and background colors.
Features
Three Major Trading Sessions : Asia, London, and USA sessions with default time ranges.
High/Low Level Tracking : Automatic detection and display of session highs and lows.
Dynamic Line Drawing : Horizontal lines marking key levels with customizable styling.
Price Labels : Optional labels showing exact high/low values.
Session Background Colors : Customizable background highlighting for active sessions.
Historical Session Display : View multiple previous sessions simultaneously.
Current Day Filter : Option to display only today's sessions.
Line Extension Control : Choose between session-bound or current bar extension.
Timezone Adjustment : Built-in UTC offset adjustment for local timezone compatibility.
Comprehensive Customization : Individual control over colors, styles, and visibility for each session.
Configuration Options
Session-Specific Settings: Each trading session includes the following configurable parameters:
Background Options:
Show session background : Toggle to enable/disable background coloring.
Session background color : Background color with transparency control.
Session Definition:
Name : Custom label for the session.
Session time : Time range in HHMM-HHMM format.
Line Options:
Show High/Low lines : Toggle to enable/disable level lines.
Line/Label color : Color for both lines and labels.
Line width : Thickness of the lines (1-5 pixels).
Line style : Choose between Solid, Dashed, or Dotted lines.
Label Options:
Show High/Low labels : Toggle to enable/disable price labels.
Label text color : Text color for price labels.
Label size : Choose between Tiny, Small, Normal, or Large.
High/Low Lines Options
Number of sessions to show lines : Display 1-21 previous sessions (ignored when current day filter is active).
Only show current day sessions : Filter to display only today's sessions.
Extend lines to current bar : Choose between session-bound lines or extension to current price action.
Global Options
UTC Time Zone Adjustment : Offset value (-12 to +14) to match your local timezone.
Timezone Configuration
The indicator uses a custom UTC offset system. To configure for your timezone:
Examples:
New York (EST) : Set UTC offset to `-5` (or `-4` during DST).
London (GMT) : Set UTC offset to `0` (or `+1` during BST).
Tokyo (JST) : Set UTC offset to `+9`.
Sydney (AEST) : Set UTC offset to `+10` (or `+11` during AEDT).
Key Functionality
Session Tracking
Real-time Detection : Automatically identifies session start/end times.
High/Low Calculation : Tracks extreme values throughout each session.
Historical Storage : Maintains chronological record of completed sessions.
Visual Elements
Background Coloring : Independent control for each session's background.
Horizontal Lines : Precise level marking with customizable styling.
Price Labels : Centered labels showing exact high/low values.
Line Management : Automatic cleanup of old visual elements.
Display Modes
Historical View : Show multiple previous sessions for pattern analysis.
Current Day Focus : Filter to display only today's activity.
Line Extension : Choose between session-specific or current bar alignment.
Limitations
Intraday Only : The indicator will display an error on daily, weekly, or monthly timeframes.
Session Overlap : Multiple sessions may overlap, with colors and lines layering based on execution order.
Maximum of three sessions : Currently supports three configurable sessions.
Line Limit : Maximum of 500 lines enforced by TradingView platform.
指標

指標

指標

策略

策略

指標

指標

指標

指標

指標

指標

指標

指標

指標

指標

指標

指標

Total Futures Volume & Open Interest (Aggregated Curve)Description
Most futures indicators only look at the front contract, but that often tells an incomplete — and sometimes misleading — story.
This indicator solves that problem by aggregating Volume and Open Interest across the entire futures curve, not just the nearest expiry.
Instead of focusing on a single contract, the script automatically scans up to 40 futures contracts ahead (roughly one year forward) for the same underlying root symbol and sums their data into a single, unified series.
🔍 Why this matters
Open Interest is about commitment, not just activity.
A drop in front-month OI can simply mean rolls, not liquidation
Rising total OI confirms new money entering the market, not just contract switching
Divergences between price and aggregated OI often signal positioning stress, exhaustion, or regime shifts
By looking at total participation across all maturities, you get a much cleaner view of:
Real capital inflows vs. mechanical rolls
Structural positioning changes
Whether volatility is driven by speculation or true exposure changes
This is especially useful during high-volatility phases, contract roll periods, and major macro moves, where front-month data alone can be deceptive.
⚙️ How it works
Automatically iterates through the last 40 futures contracts of the same root symbol starting from ~1 year ahead expiry.
Aggregates: Total Open Interest and Total Volume
Lets you choose what to display directly from the indicator settings
Fully dynamic — no manual symbol selection, no roll management
The result is a continuous, roll-agnostic view of futures participation.
🧠 How to use it
Confirm breakouts with rising aggregated OI
Detect false moves when price expands but total OI contracts
Analyze post-spike behavior to see whether moves were driven by forced liquidation or fresh positioning
Compare volatility spikes against true market engagement
指標

指標
