INVITE-ONLY SCRIPT
업데이트됨 AlgoIndex - All Stages (AM & Mid-Day Long/Short)

Scope (read first)
ES1! on 5-minute only. The strategy backtests ES fills; alerts can post JSON messages to a Webhook URL you configure. Exits are target-based with ITTC - if ES touches target intra-bar, an exit alert is sent immediately. No fixed ES stop-loss. Positions can also exit at scheduled time-based safety closes (session end, holiday/half-day, or expiration end). You can always close manually.
What this is
One intraday engine with four session presets (“Stages”). Stages only change session windows, trade side, and a few risk/confirmation governors—the core logic is the same. Single invite-only listing; not a multi-post suite.
How it trades
Why traders use it
A progressive filter for intraday continuity: OR context → VWAP alignment → authentic breakout (impulse) → ITTC to sync ES triggers with options execution. Stage-governed adds keep scaled positions coherent from open to close.
Stages (session templates; one engine)
You can replicate any Stage via session times, side, and thresholds; presets exist for convenience and auditability.
Public inputs (what you can adjust)
Contracts (order size)
Alerts (how to use)
Create an alert on this strategy and select “Any alert() function call.” (Optional) add a Webhook URL you control to receive the JSON the script sends. Leave Message empty.
Backtest vs options (read carefully)
Backtests show ES fills on 5-minute bars; options pricing (IV, DTE, spreads, partial fills) isn’t simulated. Because live execution uses options, ES PnL is a directional proxy only.
Evaluate quality via: trade count (target ≥100), win rate, average time-in-trade, MAE/MFE, and holding-time distribution. Do not read ES $ PnL as expected options returns—actual options outcomes depend on strike/DTE, IV regime, spreads, and execution.
Defaults used in this publication (match these before interpreting results)
Operating notes
ES1! symbol only; 5-minute resolution only
Disclosures
Educational research tool, not financial advice. Past or hypothetical performance does not guarantee future results. Trading involves risk, including the risk of loss. Test thoroughly and use at your own discretion.
ES1! on 5-minute only. The strategy backtests ES fills; alerts can post JSON messages to a Webhook URL you configure. Exits are target-based with ITTC - if ES touches target intra-bar, an exit alert is sent immediately. No fixed ES stop-loss. Positions can also exit at scheduled time-based safety closes (session end, holiday/half-day, or expiration end). You can always close manually.
What this is
One intraday engine with four session presets (“Stages”). Stages only change session windows, trade side, and a few risk/confirmation governors—the core logic is the same. Single invite-only listing; not a multi-post suite.
How it trades
- Opening Range (OR): Each Stage begins with a short OR at its session start; that Stage won’t take entries until its OR closes.
- VWAP alignment: Trade with flow. Price must align with VWAP (simple pass/fail; optional gap offset).
- Real breakouts only: A composite “impulse” check looks for volume expansion, recent momentum, ATR-scaled range, body/range quality, and a clean OR break (or a gap-aware extension).
- Entry & target: Entries occur on the signal bar’s close; targets are set in underlying (ES) units.
- ITTC (close on touch): If ES touches target intra-bar, ITTC sends a one-shot exit.
- Adds (preset by Stage): S1/S2/S3 allow up to two adds on defined ES retraces; S4 disables adds. Adds use a fixed scale-out policy handled internally—no user input required.
- Time-based safety closes: At the configured session end (and on holiday/half-day or expiration when applicable), any open position is closed. These are time exits, not price stops.
Why traders use it
A progressive filter for intraday continuity: OR context → VWAP alignment → authentic breakout (impulse) → ITTC to sync ES triggers with options execution. Stage-governed adds keep scaled positions coherent from open to close.
Stages (session templates; one engine)
- S1 — 09:30–11:20 NY, Long-only. Standard impulse; adds ON.
- S2 — 09:30–11:30 NY, Short-only. Tighter breakout standard; adds ON.
- S3 — 11:15–15:15 NY, Long-only. Trade-protection ON; slightly lower underlying target; adds ON.
- S4 — 11:30–14:30 NY, Short-only. Alternative trigger governor; slightly lower underlying target; adds OFF.
You can replicate any Stage via session times, side, and thresholds; presets exist for convenience and auditability.
Public inputs (what you can adjust)
Contracts (order size)
- TP (Underlying) and TP (Options)
- Trade Limiter (toggle) + Max profitable trades per session
- Session settings: Exchange Day Session times, optional Custom Time Zone, Session 1 times, optional Session 2, and day-of-week checkboxes
- Visual overlays (display-only): VWAP, Prior-Day High/Low, Session High/Low, Round Numbers, Bias Banner, Trade Markers
- Display: Inputs in status line
Alerts (how to use)
Create an alert on this strategy and select “Any alert() function call.” (Optional) add a Webhook URL you control to receive the JSON the script sends. Leave Message empty.
Backtest vs options (read carefully)
Backtests show ES fills on 5-minute bars; options pricing (IV, DTE, spreads, partial fills) isn’t simulated. Because live execution uses options, ES PnL is a directional proxy only.
Evaluate quality via: trade count (target ≥100), win rate, average time-in-trade, MAE/MFE, and holding-time distribution. Do not read ES $ PnL as expected options returns—actual options outcomes depend on strike/DTE, IV regime, spreads, and execution.
Defaults used in this publication (match these before interpreting results)
- Dataset: last 12–24 months of ES1! 5-minute RTH (to ensure ≥100 trades)
- Initial capital: $25,000
- Commission: $1.00 per order per contract (≈ $2 round-trip)
- Slippage: 1 tick
- Order size: 1 contract; pyramiding only for Stage-governed adds
- No fixed ES stop-loss; exits are target-based with ITTC and scheduled safety closes
Operating notes
ES1! symbol only; 5-minute resolution only
- You can run multiple Stages in parallel via separate tabs/alerts; if you want a single net position across Stages, enforce it in your own tooling (e.g., ignore new orders while a position is open)
- Use a clean chart when publishing (only this strategy active)
- Keep results separate by using four TradingView tabs (one per Stage)
Disclosures
Educational research tool, not financial advice. Past or hypothetical performance does not guarantee future results. Trading involves risk, including the risk of loss. Test thoroughly and use at your own discretion.
릴리즈 노트
Update: Live session-end exit now triggers 5 minutes before RTH close (12:55/15:55 ET) to avoid after-hours queueing, with no changes to entries, TPs, or backtests.릴리즈 노트
Bug fix: exit alerts no longer send with quantity 0—alerts now snapshot the live position size at close, and yesterday’s pre-close exit (12:55/15:55 ET) remains unchanged.릴리즈 노트
v3.9.7 PUBLIC — Fix: Restored TP bracket alert so overnight gap-open into TP sends a single tp_bracket exit at the open. Add1/Add2 brackets remain silent (one webhook total).릴리즈 노트
v3.9.8.1: Stage-2 adds hardened—no same-bar doubles; deterministic sequencing with TP Add-1=30% / Add-2=50% (tpPct in extras); add markers visible.릴리즈 노트
v3.9.8.2 — Hotfix• Fixed rare duplicate Add-1 intrabar alert (pre-flip + per-bar + per-position guards).
• No changes to entry/exit math or performance.
• Add markers removed; visuals may still shift on reload (cosmetic only).
릴리즈 노트
v3.9.8.3Hotfix: prevents duplicate Add-1/Add-2 on the same bar; resilient after reload. No logic changes to thresholds/sizing.
릴리즈 노트
v3.9.8.4 — Stability Hotfix (adds & alerts)Triple-layer add protection: platform-state sync + per-bar gates + pre-flip, eliminating same-bar duplicate ADD1 and surviving mid-bar reloads (no more repaint/ghost ADD1).
Overrun handling: if price hits ADD1 and ADD2 in the same bar, ADD2 takes priority (optional—see note below to keep ADD1→ADD2 order).
Preset defaults refreshed: Updated Stage presets to match our live tuning (sessions, TP/SL inputs, averaging triggers, VWAP/Gap filters). No change to core logic or behaviors.
릴리즈 노트
Minor update to Stage 4 properties only - changed expiration date to 1DTE, updated TP릴리즈 노트
Update v3.9.9.0- Removed all OPRA request.security() calls (Dynamic architecture).
- Exits now reference frozen, stage-correct OPRA tickers and cached side.
- Pre-close (-5m) guard suppressed when “extend until expiration” is enabled.
- Initial capital unified at $25,000 (public backtest standard).
- Minor stability and housekeeping improvements.
릴리즈 노트
V3.9.9.1NEW FEATURE:
- Added "Enable Averaging (Add1 & Add2)" toggle in Averaging Settings
CAPITAL ADJUSTMENT:
- Initial capital increased from $25,000 to $100,000
- Reason: Ensures adequate margin for ES futures backtesting
- With pyramiding=3, previous capital was insufficient for
full strategy execution
- $100,000 represents realistic professional trading capital
BUG FIX:
- Fixed pre-close exit logic (now closes 5 min before session end)
- Stage 1 & 2 (0DTE) will close at 15:55 in live trading
릴리즈 노트
AlgoIndexOS v3.9.9.1 UpdateThree improvements: (1) All stages now exit at 3:55 PM on their expiration day - Stage 1/2 exit same day (0DTE), Stage 3/4 hold overnight and exit next day. (2) Performance boost with bar-close calculation only. (3) New user toggle to enable/disable averaging for Stages 1-3 (Stage 4 always disabled).
릴리즈 노트
v3.9.9.3 Release Notes1. Averaging Disabled by Default for All Stages
2. Unified Averaging Control
- Removed Stage 4 exception - all stages now use the same user input toggle
- Consistent behavior across all stages
3. Pre-Close Exit Fix for Live Trading
Re-enabled calc_on_every_tick = true
- Ensures live trading exits at 3:55 PM (pre-close) on expiration day
Upgrade Note: Existing users should verify their averaging settings after updating, as the default is now OFF.
릴리즈 노트
v3.9.9.4Preset update – options distance
Default Strikes Away for SPY contracts tightened from 3 → 1 across all stages.
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청 후 승인을 받아야 하며, 일반적으로 결제 후에 허가가 부여됩니다. 자세한 내용은 아래 작성자의 안내를 따르거나 MyAlgoIndex에게 직접 문의하세요.
트레이딩뷰는 스크립트의 작동 방식을 충분히 이해하고 작성자를 완전히 신뢰하지 않는 이상, 해당 스크립트에 비용을 지불하거나 사용하는 것을 권장하지 않습니다. 커뮤니티 스크립트에서 무료 오픈소스 대안을 찾아보실 수도 있습니다.
작성자 지시 사항
Request access: send a private TradingView message with your TradingView username, or email info@algoindex.com with your TradingView username. Do not request access in comments.
If you want to contact me Email: info@algoindex.com or algoindex.com
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청 후 승인을 받아야 하며, 일반적으로 결제 후에 허가가 부여됩니다. 자세한 내용은 아래 작성자의 안내를 따르거나 MyAlgoIndex에게 직접 문의하세요.
트레이딩뷰는 스크립트의 작동 방식을 충분히 이해하고 작성자를 완전히 신뢰하지 않는 이상, 해당 스크립트에 비용을 지불하거나 사용하는 것을 권장하지 않습니다. 커뮤니티 스크립트에서 무료 오픈소스 대안을 찾아보실 수도 있습니다.
작성자 지시 사항
Request access: send a private TradingView message with your TradingView username, or email info@algoindex.com with your TradingView username. Do not request access in comments.
If you want to contact me Email: info@algoindex.com or algoindex.com
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.