SterlCore FX Matrix [JOAT]

SterlCore FX Matrix is a multi-timeframe forex indicator that integrates market structure analysis, central bank policy proxies, currency strength correlation, session-based liquidity tracking, and volatility diagnostics into a single overlay system.
Note: This script is published as invite-only. Access requires authorization through the script's access control settings.
Why Invite-Only: The source code is protected to preserve proprietary calculation methods, composite scoring algorithms, and multi-module integration logic. The indicator combines several analytical approaches in a specific configuration that represents significant development effort. Invite-only access allows controlled distribution while maintaining the integrity of the implementation.
This Script has so much custom settings you can choose upon, to make it even more organized and tailored to your needs!
Custom settings with HeatMap and signals tailored to the daily timeframe and currency pair
## Core Functionality
This indicator addresses the challenge of synthesizing multiple analytical dimensions in forex trading. Currency markets operate across multiple timeframes simultaneously, with central bank policy shifts, cross-pair correlations, and session-specific liquidity patterns all influencing price action. Most indicators focus on a single dimension; this script attempts to integrate several.
What This Script Does:
- Multi-timeframe structure analysis using synchronized EMAs across strategic (daily), tactical (4-hour), and execution (hourly) timeframes
- Central bank policy pressure assessment through normalized currency index proxies
- Real-time currency strength matrix tracking eight major currencies (USD, EUR, GBP, JPY, AUD, CAD, CHF, NZD)
- Cross-pair correlation monitoring using configurable reference pairs
- Session-based VWAP calculations with drift and range metrics for Asia, Europe, and US trading windows
- Market structure detection including break-of-structure (BOS) confirmation, liquidity sweep identification, and RSI-based divergence alerts
- Composite macro confluence score combining all modules with configurable weights
---
## Technical Architecture
### Multi-Timeframe Structure Lattice
The indicator calculates exponential moving averages (EMAs) across three timeframes:
- Strategic EMA (default: Daily timeframe, 96-period EMA) — Anchors to longer-term monetary drift and macro flows
- Tactical EMA (default: 4-hour timeframe, 55-period EMA) — Captures rotational pressure during positioning for economic data or policy events
- Execution EMA (default: 1-hour timeframe, 21-period EMA) — Tracks microstructure in real time
An adaptive ATR-based channel surrounds the execution EMA to define a "value corridor" for entry consideration. Break-of-structure (BOS) logic requires price to close beyond prior swing highs/lows by a configurable ATR percentage threshold to reduce false breakouts.
### Policy Gradient & Carry Intelligence
The script uses currency index proxies (defaults:
The carryComposite calculation blends:
- Normalized policy spread between base and quote currency proxies
- Policy drift (difference between tactical and macro timeframe policy spreads)
- Carry acceleration (rate of change in policy spread)
Carry opportunity signals appear when the composite exceeds a threshold and aligns with structure bias and currency strength dispersion.
### Currency Strength Matrix
Eight currency baskets are tracked using configurable symbol inputs (defaults use $FX_IDC pairs). Each currency's strength is normalized to a -1 to +1 scale relative to its lookback range. The heatmap table displays which currencies are dominating, allowing quick assessment of broad market moves before they appear in individual pair price action.
### Correlation Intelligence Grid
Three reference pairs (defaults:
### Momentum, Volatility & Liquidity Stack
- Dual ROC momentum — Fast and slow rate-of-change calculations prevent whipsaw from single-length oscillators
- Volatility pulse — Compares current ATR to a slower baseline; signals require volatility above a floor threshold
- Volatility forecast slope — Uses linear regression to project ATR 21 bars ahead, warning of imminent expansion or contraction
- Liquidity pulse — Compares current volume to smoothed average; low participation is visually indicated via background tinting
### Session Awareness & Performance Console
Asia, Europe, and US trading sessions are tracked with configurable UTC windows. Each session maintains:
- Live VWAP that resets at session open
- Drift score quantifying price deviation from VWAP in ATR terms
- Range percentage showing session expansion relative to VWAP
Session bias composite feeds into macro confluence to reduce signal aggression when all sessions are mean-reverting.
### Liquidity & Market Structure Suite
- Liquidity sweeps — Detects stop hunts above prior highs or below prior lows within a configurable lookback
- RSI divergence — Identifies momentum divergences using confirmed pivot points only
- Supply/demand zones — Automatically generated from pivot highs/lows and projected forward for a set number of bars
### Macro Alignment Engine
The macroConfluence score combines:
- Structure score (weighted average of strategic/tactical/execution EMAs)
- Carry composite
- Currency strength spread (base minus quote)
- Momentum score
- Liquidity modifier
- Session bias composite
- Correlation consensus
Long/short alignment signals require:
- Macro confluence exceeding configurable threshold (default: 0.55)
- Volatility pulse above floor threshold
- Optional: Price above/below tactical EMA (execution filter toggle)
---
## Visual Elements
Candle Coloring: Candles are recolored based on macro confluence: teal for bullish alignment, magenta for bearish alignment, neutral gray for distribution phases.
Background Tint: Volatility intensity modulates chart background; bold colors indicate elevated ATR, washed-out tones suggest choppy conditions.
Labels:
- Macro Align Long/Short — Primary entry signals when confluence exceeds threshold
- BOS↑/↓ — Break-of-structure confirmation
- Sweep↑/↓ — Liquidity sweep detection
- RSI Bull/Bear Div — Momentum divergence alerts
- Carry Bias± — Policy-strength alignment flags
Session Overlays: Transparent background shading indicates active trading sessions (Asia, Europe, US) with configurable opacity.
Session VWAPs: Each region's VWAP is plotted in a distinct color (teal for Asia, blue for Europe, purple for US).
## Dashboard Tables
The indicator includes several configurable information tables:
- Intelligence Dashboard (top-right, default) — Displays strategic/tactical/execution bias, policy pressure, currency spread, volatility pulse, policy impulse, session drift, correlation, and macro state
- Currency Heatmap (bottom-right, default) — Shows normalized strength values for all tracked currencies
- Correlation Grid (bottom-left, default) — Lists reference pairs with correlation coefficients and qualitative states
- Session Performance Panel (bottom-center, default) — Displays drift scores and range percentages for each session
- Diagnostics Table (top-left, optional) — Additional session range metrics and liquidity pulse values
All table positions are configurable via input settings to avoid overlap with TradingView UI elements.
---
## Configuration Parameters
Multi-Timeframe Structure: All EMA timeframes and lengths are adjustable. Default strategic timeframe is Daily; tactical is 4-hour; execution is 1-hour.
Policy Proxies: Base and quote currency policy proxy symbols are user-configurable. Defaults use $FX_IDC pairs for broad compatibility.
Currency Strength: Each currency's tracking can be toggled on/off. Symbol inputs allow substitution of alternative data sources if default indices are unavailable.
Correlation References: Three reference pair symbols, timeframe, and lookback period are all configurable.
Signal Thresholds: Macro alignment trigger, volatility pulse floor, and carry opportunity threshold are adjustable to match different trading styles.
Visual Controls: Label visibility, zone display, session overlays, VWAP plotting, and all dashboard tables can be toggled independently.
---
## Technical Implementation Notes
- Pine Script v6 compliant
- All calls use
Pine Script® request.securityto prevent historical repaintingPine Script® lookahead_off - BOS, divergence, and sweep detection rely on confirmed pivot points only
- Session VWAP calculations reset strictly on session boundaries
- Zone objects are automatically capped and managed to respect TradingView resource limits
- All calculations include division-by-zero guards and NA handling for real-time stability
---
## Usage Considerations
Timeframe Selection: The indicator is designed for forex pairs. Default timeframes (D/4H/1H) are optimized for swing and intraday trading. Scalpers may prefer shorter execution timeframes; position traders may extend strategic to weekly.
Pair Compatibility: Tested on major pairs (
Session Windows: Default UTC windows (Asia: 22:00-06:00, Europe: 06:00-13:00, US: 13:00-21:00) can be customized. Adjust for daylight saving time transitions as needed.
Signal Interpretation: Macro alignment signals indicate confluence across multiple dimensions but do not guarantee profitable outcomes. Use in conjunction with risk management and market context. The indicator is a tool for analysis, not a standalone trading system.
Resource Usage: With all features enabled, the script operates within TradingView's resource budgets. Disable unused modules (currency tracking, correlation grid, diagnostics) if running multiple instances on a single layout.
---
## Limitations & Compromises
- Policy proxies are approximations using currency indices; actual central bank policy requires external economic analysis
- Correlation calculations use price-based correlation, which may lag during regime shifts
- Session VWAPs reset at session boundaries; overlapping sessions (e.g., London/NY) may show conflicting signals
- Supply/demand zones are generated from pivots; false zones may appear during ranging markets
- Macro confluence is a composite score; individual components may conflict, requiring discretionary interpretation
The indicator is optimized for trending and rotational markets. Performance may degrade during extended consolidation or during major economic event volatility when multiple central banks act simultaneously.
---
## Alert System
The script includes four alert conditions:
- SterlCore FX Bullish Alignment — Fires when macro confluence exceeds threshold with volatility and EMA filters satisfied
- SterlCore FX Bearish Alignment — Mirror of bullish logic
- SterlCore FX Carry Long — Fires when carry composite, currency spread, and structure align for long bias
- SterlCore FX Carry Short — Mirror of carry long logic
---
## Why This Approach
Forex markets require analysis across multiple dimensions simultaneously. A single timeframe or single indicator cannot capture the interplay between central bank policy expectations, cross-pair correlations, session-specific liquidity, and market structure. This script attempts to synthesize these elements into actionable signals while maintaining transparency about its limitations.
The composite scoring system allows traders to see when multiple factors align, reducing reliance on single-signal systems that may fail during regime changes. The modular design enables users to disable components that don't fit their trading style while retaining core functionality.
Skrypt tylko na zaproszenie
Dostęp do tego skryptu mają wyłącznie użytkownicy zatwierdzeni przez autora. Aby z niego korzystać, należy poprosić o zgodę i ją uzyskać. Zgoda jest zazwyczaj udzielana po dokonaniu płatności. Więcej informacji można znaleźć w instrukcjach autora poniżej lub kontaktując się bezpośrednio z officialjackofalltrades.
TradingView NIE zaleca płacenia za skrypt ani korzystania z niego, jeśli nie ma pełnego zaufania do jego autora i nie rozumie się zasad jego działania. Można również znaleźć darmowe, otwartoźródłowe alternatywy w skryptach społeczności.
Instrukcje autora
Wyłączenie odpowiedzialności
Skrypt tylko na zaproszenie
Dostęp do tego skryptu mają wyłącznie użytkownicy zatwierdzeni przez autora. Aby z niego korzystać, należy poprosić o zgodę i ją uzyskać. Zgoda jest zazwyczaj udzielana po dokonaniu płatności. Więcej informacji można znaleźć w instrukcjach autora poniżej lub kontaktując się bezpośrednio z officialjackofalltrades.
TradingView NIE zaleca płacenia za skrypt ani korzystania z niego, jeśli nie ma pełnego zaufania do jego autora i nie rozumie się zasad jego działania. Można również znaleźć darmowe, otwartoźródłowe alternatywy w skryptach społeczności.