OPEN-SOURCE SCRIPT
NFIFTY4 IOF Quick Entry

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.
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(
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.
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.