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