OPEN-SOURCE SCRIPT

NFIFTY4 IOF Quick Entry

640
IOF Quick Entry — v2.0
Institutional Order Flow Zone Scanner with Trade Lifecycle Tracking

What it does
IOF Quick Entry automatically detects Institutional Order Flow zones across up to 3 timeframes simultaneously and tracks every trade from entry to close — no manual zone drawing, no repainting, no guesswork.
The system is built on the IBI (Impulse → Base → Impulse) pattern. When institutions place large limit orders, they leave consolidation clusters between two strong impulse candles. These clusters become high-probability zones where unfilled institutional orders are still sitting. When price returns, those orders get filled — and that reaction is your trade.

Zone Detection

Detects demand and supply zones on confirmed, closed bars only — zones never form on a live candle
Supports LTF, ITF, and HTF simultaneously (default 5m / 15m / 60m, fully configurable)
Body-close invalidation — wicks never kill a zone, only a full body close through the far extreme does
Zones auto-extend right until invalidated

Entry Plan

Entry at OF 0% — the body/wick junction, the purest institutional entry point
Stop loss placed at the far wick extreme plus a configurable tick buffer
TP1, TP2, TP3 at 1×, 2×, 3× zone height beyond entry
Contract count auto-calculated from your dollar risk input using the formula: floor( RISK ÷ (SL ticks × tick value) ) — works on MNQ, MES, MGC, ES, NQ, GC and any other futures instrument automatically

Trade Lifecycle (Phase 3)

Every zone arms automatically when price enters proximity
Fills when price wicks through the entry level
Closes as WIN, LOSS, or BE based on which levels are hit on confirmed bars
Trail-compiled R — win R is the average of all TPs hit, not just the last one
Block re-arm after loss option — zone won't fire again after producing a loss
Arm cooldown between successive trades on the same zone

Performance Dashboard

Shows last 20 trades with: side (L/S), timeframe, entry price, stop price, contracts, dollar risk, SL ticks, and result
Live status row showing currently ARMED and ACTIVE trades
Totals footer: Wins / Losses / BE / Win Rate % / Total R / Net $
Win rate calculated as W ÷ (W+L) — breakevens excluded from denominator


Instruments
Designed for futures. Tested on MNQ, MES, MGC, ES, NQ, GC. Contract sizing auto-adapts to any instrument via syminfo — no manual configuration needed.
No repainting
All zone detection and trade lifecycle processing runs exclusively on barstate.isconfirmed. Zones are stamped with historical bar timestamps. What you see on the chart is exactly what would have appeared in real time.

This indicator does not provide financial advice. Past performance of detected zones does not guarantee future results. Always manage risk and validate setups independently before trading.

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.