Inversion FVG model with graded setups, sweeps, equal highs and lows, sessions, HTF FVGs, SMT, NWOGs, delta coloring and a checklist.
Overview
This community script builds setups around inversion fair value gaps (IFVGs): gaps that price closes through and that then act from the other side. Each setup gets a grade, entry markers, a stop, break-even and two targets, with an optional contract-size suggestion from a risk amount.
Around the setups it can draw liquidity sweeps, relative equal highs and lows, session highs and lows and boxes, previous day and week levels, midnight, 8:30 and 9:30 opens, higher-timeframe FVGs, SMT divergences, new week opening gaps, per-candle value area boxes, a small volume profile, delta candle colors and a checklist table.
How it works
Gaps are detected in series or one by one, with an ATR filter (0.1 by default). Filters can require a liquidity sweep, delivery from a higher-timeframe PD array, a macro time window, or that break-even was not breached. Gaps of 7 to 15 candles can be allowed.
Swing size for sweeps can follow the chart timeframe or be set by you. SMT uses a correlated symbol, automatic or manual, across several timeframes.
The volume tools estimate buy and sell imbalance per candle from lower-timeframe data.
How to use it
- Use the grade and checklist to see which filters a setup meets.
- Some traders watch IFVGs that form right after a sweep of a session or daily level.
- Use equal highs and lows as reference pools where stops may cluster.
- Turn modules on one at a time to learn what each adds.
These are ways some traders read it, for learning. They are not trade signals.
Settings
| Setting | Default |
|---|---|
| General Settings | |
| DetectionOptions: Single, Series | Series |
| ATR Strictness | 0.1 |
| BiasOptions: Neutral, Bullish, Bearish | Neutral |
| Minimum Grade DisplayedOptions: C, B, A, A+ | C |
| Hide Losing Setups | On |
| Allow 7 - 15 Candle IFVGs | On |
| Require BE not breached on inversion | Off |
| Require Macro Time | Off |
| Require Liquidity Sweep | On |
| Require HTF PDA Delivery | On |
| Number of Setups Displayed | 3 |
Show all 102 settings
| Setting | Default |
|---|---|
| Confluence Lookback (bars) | 30 |
| IFVG | |
| Show Pending FVGs | Off |
| Bullish FVG | color.new(#787b86, 75) |
| Bearish FVG | color.new(#787b86, 75) |
| IFVG Box | color.new(#5d606b, 60) |
| IFVG Transparency | 50 |
| Show CE | Off |
| Liquidity | |
| Alignment ModeOptions: Auto, Custom | Auto |
| Custom Swing Length | 10 |
| Show Sweeps | On |
| Sweep Color | color.new(#4a4a4a, 0) |
| StyleOptions: Dotted, Dashed, Solid | Dotted |
| Label Text | $$$ |
| Sweeps Kept | 5 |
| Show Relative Equal Highs/Lows | On |
| Tolerance (ATR) | 0.1 |
| EQ Color | color.new(#787b86, 0) |
| Show Nearest BSL / SSL | Off |
| Session Liquidity | |
| Asia | On |
| London | On |
| NY AM | On |
| NY PM | On |
| Show Session Boxes | Off |
| Key Levels & Opens | |
| Previous Day H/L | Off |
| Previous Week H/L | Off |
| Midnight Open | Off |
| 08:30 Open | Off |
| 09:30 Open | Off |
| Opens Color | color.new(#9598a1, 0) |
| Lookback (bars) | 100 |
| HTF FVG | |
| Show HTF FVG | On |
| Show CE | On |
| Max Zones per Timeframe | 2 |
| TF 1 | On |
| TF 2 | On |
| TF 3 | Off |
| Bullish Zone | color.new(#787b86, 80) |
| Bearish Zone | color.new(#787b86, 80) |
| Text | color.new(#4a4a4a, 0) |
| SMT | |
| Auto Correlated Symbol | On |
| Manual Symbol | ES1! |
| Show SMT Divergences | On |
| Show SSMTs | On |
| Monthly | On |
| Weekly | On |
| Daily | On |
| 90m | On |
| Micro | On |
| SMT Color | color.new(#4a4a4a, 0) |
| SMTs Kept | 3 |
| Entry Markers | |
| DD+ Color | #2962ff |
| DD- Color | #f23645 |
| Stoploss | On |
| PlacementOptions: Wick, Body, IFVG | Wick |
| Break Even | Off |
| TP1 | color.new(#ff9800, 0) |
| TP2 | color.new(#4a4a4a, 0) |
| Suggested Contracts | On |
| Risk $ | 350.0 |
| Volume Footprints | |
| Require Delta Imbalance | Off |
| Ratio | 1.5 |
| Delta Candle Coloring | Off |
| Buy Imbalance | color.new(#089981, 0) |
| Sell Imbalance | color.new(#f23645, 0) |
| Per-Candle Value Area Boxes | Off |
| Volume Profile | On |
| Profile Lookback | 100 |
| Rows | 70 |
| Max Width (bars) | 25 |
| Offset (bars) | 20 |
| Value Area % | 70 |
| Value Area | color.new(#f7b32b, 10) |
| Outside | color.new(#5d606b, 20) |
| New Week Opening Gaps | |
| Show NWOG | Off |
| Visible Count | 1 |
| SelectionOptions: Recent, Closest | Recent |
| Stored Weeks | 10 |
| Min Gap (ticks) | 4 |
| Color | color.new(#787b86, 85) |
| Checklist | |
| Show Checklist | On |
| PositionOptions: Top Right, Middle Right, Bottom Right, Bottom Left, Top Left | Bottom Right |
| Alerts | |
| Enable Alerts | On |
| Window 1 | On |
| Window 2 | Off |
| Window 3 | Off |
| Sweeps | On |
| Inversions | On |
| Potential Inversions | Off |
| Invalidations | On |
| MTF Confluence | On |
| Watermark | |
| Show? | On |
Alerts
The script sends its own alert messages, and members can create an alert on them from the chart's alert dialog; alerts from indicators run while ZoroCharts is open in the browser.
Notes and limits
- Results shown on the chart follow the script's own rules; Hide Losing Setups changes what you see, not what happened.
- SMT and HTF tools need extra data requests and can slow loading.
- Session times follow New York time.
Education only. Not financial advice. Indicators mark what happened on the chart; they do not predict what price will do. Trading futures, forex, crypto and other markets carries a high level of risk and may not be suitable for everyone.
