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
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。