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 de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.