OPEN-SOURCE SCRIPT
Apex MTF Index Model

Apex MTF Index Model is a multi-timeframe (MTF) trading strategy designed specifically for index products like the SPDR S&P 500 ETF Trust.
It combines higher timeframe bias with intraday execution to identify high-probability trend continuation setups.
This model is built around a simple idea:
alignment across timeframes + volatility + timing = edge
🔍 Core Logic
🧭 Higher Timeframe Bias
Uses Monthly, Weekly, and Daily trends
Weighted to prioritize macro direction
Outputs a bullish/bearish probability score
⚡ Intraday Execution
Trades only during the New York session (9:30–11:30)
Uses:
EMA (trend)
VWAP (institutional positioning)
📈 Volatility Filter
Requires ATR expansion
Avoids low-volatility / choppy conditions
🎯 Entry Models
1. Pullback Continuation
Trend-aligned market
Price pulls back to EMA
Continuation in direction of bias
2. Opening Range Breakout (ORB)
Break of the first X minutes range
Confirms strong directional intent
Filtered by higher timeframe bias
🧱 Key Levels
Previous Day High (PDH)
Previous Day Low (PDL)
Used for context, liquidity, and breakout behavior
💰 Risk Management
ATR-based stop loss
Dual take-profit structure:
TP1: Partial at ~1.5R
TP2: Runner at configurable RR (default 2.5R)
Designed to balance:
Consistent base hits
Occasional extended trend capture
📊 What to Expect
Moderate win rate (~35–50%)
Positive expectancy via risk/reward structure
Best performance in:
Trending markets
High volatility sessions
Clear macro bias environments
⚠️ Notes
Not designed for:
Low volatility / range-bound days
Overnight or illiquid sessions
Works best on:
Indices (SPY, futures, major ETFs)
Liquid, trend-following instruments
🚀 Philosophy
This is not a prediction tool.
It is a probability alignment framework.
The goal is simple:
Trade less, but trade when multiple forces agree.
If you want, I can also:
Add a short version (for public library visibility)
Write a more aggressive marketing-style description
Or tailor it specifically if you plan to publish or sell it
It combines higher timeframe bias with intraday execution to identify high-probability trend continuation setups.
This model is built around a simple idea:
alignment across timeframes + volatility + timing = edge
🔍 Core Logic
🧭 Higher Timeframe Bias
Uses Monthly, Weekly, and Daily trends
Weighted to prioritize macro direction
Outputs a bullish/bearish probability score
⚡ Intraday Execution
Trades only during the New York session (9:30–11:30)
Uses:
EMA (trend)
VWAP (institutional positioning)
📈 Volatility Filter
Requires ATR expansion
Avoids low-volatility / choppy conditions
🎯 Entry Models
1. Pullback Continuation
Trend-aligned market
Price pulls back to EMA
Continuation in direction of bias
2. Opening Range Breakout (ORB)
Break of the first X minutes range
Confirms strong directional intent
Filtered by higher timeframe bias
🧱 Key Levels
Previous Day High (PDH)
Previous Day Low (PDL)
Used for context, liquidity, and breakout behavior
💰 Risk Management
ATR-based stop loss
Dual take-profit structure:
TP1: Partial at ~1.5R
TP2: Runner at configurable RR (default 2.5R)
Designed to balance:
Consistent base hits
Occasional extended trend capture
📊 What to Expect
Moderate win rate (~35–50%)
Positive expectancy via risk/reward structure
Best performance in:
Trending markets
High volatility sessions
Clear macro bias environments
⚠️ Notes
Not designed for:
Low volatility / range-bound days
Overnight or illiquid sessions
Works best on:
Indices (SPY, futures, major ETFs)
Liquid, trend-following instruments
🚀 Philosophy
This is not a prediction tool.
It is a probability alignment framework.
The goal is simple:
Trade less, but trade when multiple forces agree.
If you want, I can also:
Add a short version (for public library visibility)
Write a more aggressive marketing-style description
Or tailor it specifically if you plan to publish or sell it
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.