OPEN-SOURCE SCRIPT
Mis à jour

Institutional 7-Point Checklist

600
█ INSTITUTIONAL 7-POINT PRE-TRADE CHECKLIST v2.0 █
█ Pine Script® v6 █

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
OBJECTIVE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Most retail traders show up at 9:30 AM with no plan. They react to 5-minute noise and get chopped to pieces. This indicator solves that.

It runs a 7-point institutional checklist automatically — pulling data from the 4H, 1H, and daily timeframes — and displays a real-time pass/fail panel directly on your chart. Before you take a single trade, the panel tells you whether TODAY is even a trading day, what direction to expect, where to enter, and what to target.

The framework combines two proven concepts:
▸ 4H Chart Analysis — reading institutional expansion vs consolidation for structural bias
▸ Session Profiling — checking whether Asia or London reversed to classify New York as continuation or reversal

v2.0 adds the layers that give you complete market context without switching timeframes:
▸ Multi-timeframe liquidity mapping (Daily, Weekly, Monthly highs/lows)
▸ Anchored VWAP (Daily, Weekly, Monthly) for institutional cost basis
▸ Smart moving averages at the periods that actually matter per timeframe
▸ Midnight Open reference line
▸ Smart nearest-liquidity detection across all tiers

Everything new is an optional toggle. The default view stays clean — just the checklist, PDH/PDL, Daily VWAP, and the 4H 20 EMA. Power users turn on the layers they want.


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
THE 7 CHECKS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

✅ 1. Is the 4H expanding?
Evaluates the last three completed 4H candles. "Expanding" means ≥2 candles have bodies larger than the expansion multiplier × ATR(20), AND the most recent candle has small wicks relative to its range. If the 4H is consolidating → no trade today.

✅ 2. Did the prior session reverse or consolidate?
Tracks Asia (6 PM – 2 AM ET) and London (2 AM – 5 AM ET) in real time. A session "reversed" if it swept a key level and closed back through it. "Consolidated" if its range was under 40% of the daily ATR.

✅ 3. Continuation or reversal day?
▸ Any prior session reversed → NY = CONTINUATION
▸ No session reversed → NY = REVERSAL

✅ 4. Nearest FVG (entry zone)
Scans the 1H for 3-candle Fair Value Gaps — unfilled imbalances from aggressive expansion. Identifies the nearest bullish or bearish FVG with its midpoint price. This is your entry zone.

✅ 5. Nearest external liquidity (target) — NEW: SMART MULTI-TF
Now scans across Daily, Weekly, and Monthly levels (whichever are enabled) and automatically identifies the closest liquidity pool above and below price. The panel shows the tier label (PDH, PWH, PMH, etc.) so you know which level matters most right now. Bigger pools = stronger magnets.

✅ 6. Has price swept external liquidity? (trigger) — NEW: ANY TIER
Monitors sweeps across all enabled tiers. If price takes out PWH while PDH hasn't been swept, that still counts — any tier sweep is a valid trigger. The panel lists exactly which levels have been swept today.

✅ 7. One-sentence bias (auto-generated)
Combines all findings into a single actionable statement:
"4H expanding bearish. NY=CONTINUATION. Pullback into FVG → target PDL."

NEW: CONTEXT ROW
Below the 7 checks, a context line shows price position relative to Daily VWAP and 4H 20 EMA. Example: "above VWAP | above 4H EMA" — a quick confluence check without reading the chart.


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
NEW IN v2.0: LIQUIDITY HIERARCHY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Not all liquidity is equal. A daily level might produce a 10-point displacement on NQ. A weekly level might produce 50 points. A monthly level could fuel a full trend day.

▸ Previous Day H/L (PDH/PDL) — ON by default
Yesterday's range extremes. Stop losses from day traders. Blue dashed lines.

▸ Previous Week H/L (PWH/PWL) — OFF by default
Swing trader stops. Much larger pool than daily. Purple dashed lines.

▸ Previous Month H/L (PMH/PML) — OFF by default
Institutional swing and fund allocation levels. Orange solid lines (thicker for visual hierarchy).

▸ Midnight Open — OFF by default
Price at 00:00 ET. Directional separator for ICT-style analysis. Gray dotted line. Above midnight open = bullish lean, below = bearish lean.

Each tier has its own color and line weight so you can glance at the chart and instantly see which pool price is approaching. The smart detection in Checks 5 and 6 automatically picks the nearest level regardless of tier.


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
NEW IN v2.0: ANCHORED VWAP
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

VWAP shows where the majority of institutional money actually transacted. It's not just an average — it's the volume-weighted cost basis.

▸ Daily VWAP — ON by default (amber)
Anchored to today's open. The single most referenced level by institutional algorithms during NY session. When price is above VWAP, institutions are in profit and likely to defend it. Below = underwater.

▸ Weekly VWAP — OFF by default (purple)
Anchored to Monday's open. Broader lens on net bullish/bearish flow for the week. Confirms your 4H bias: if 4H is expanding bullish AND price is above weekly VWAP = confluence.

▸ Monthly VWAP — OFF by default (orange)
Background context. Rarely comes into play intraday, but when price tests monthly VWAP at a weekly liquidity level = high-conviction zone.


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
NEW IN v2.0: MOVING AVERAGES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Each MA is chosen for a specific purpose at its timeframe. No filler MAs — every line earns its place on the chart.

▸ 5-MIN 9/21 EMA — execution pair — OFF by default (cyan / indigo)
After your sweep + displacement, the 5m 9 EMA crossing above/below the 21 EMA confirms micro order-flow shift. The gap between them acts as a dynamic FVG — separation = imbalance, convergence = equilibrium.

WHY 9 AND 21: The 9 EMA covers roughly 45 minutes — one micro session. The 21 EMA covers ~105 minutes — the 9:30–11:00 kill zone. Together they capture the rhythm of institutional execution.

▸ 1H 9/21 EMA — intraday pulse — OFF by default (cyan / indigo, stepline)
The 9 EMA represents one full trading session (~6.5 hours). If price rides the 1H 9 EMA during expansion = clean momentum. The 21 EMA covers about two trading days — the intraday trend anchor. Price whipping above/below the 1H 9 EMA = chop warning.

WHY 9 AND 21: On the 1H, 9 periods = one session's worth of candles. 21 periods ≈ two full sessions. These match the session profiling logic in Check 2 — you're seeing the same structure as numbers.

▸ 4H 20 EMA — swing direction — ON by default (green, stepline, thick)
This is the primary MA. It represents roughly one trading week. Institutional swing traders watch the 4H 20 EMA for pullback entries. When your expansion candles are pushing away from this level = strong momentum. When they're drifting back = fading expansion.

WHY 20: On the 4H chart, 20 periods = ~3.3 trading days. This captures the core weekly rhythm — the period where institutional swing positions are managed.

▸ DAILY 20 EMA — monthly trend — OFF by default (yellow, stepline)
Roughly one month of trading days. If price is above the D 20 EMA, the intermediate trend supports your intraday bias. Below it, your bullish setups have headwind.

WHY 20: 20 trading days ≈ 1 calendar month. This is the standard period institutional portfolio managers use for intermediate trend assessment.

▸ DAILY 50 SMA — quarterly trend — OFF by default (orange, stepline)
About 2.5 months of data. When the D 20 EMA is above the D 50 SMA = healthy trend. When they converge or cross = transition zone where 4H consolidation becomes more common. Background context, not a trade trigger.

WHY 50: 50 trading days ≈ one quarter. Fund managers and institutional desks use this as the boundary between "trending" and "mean-reverting."

IMPORTANT: Higher-timeframe MAs projected onto a 5-min chart appear as staircase lines (stepline style). This is correct — the staircase shows you exactly where the value was when the higher timeframe last printed. It's not a bug; it's a feature.


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT APPEARS ON YOUR CHART
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

DEFAULT VIEW (clean — what loads when you first add the indicator):
▸ Checklist panel with all 7 checks + context row
▸ PDH/PDL liquidity lines (blue dashed)
▸ FVG zone (green or red shaded box)
▸ Daily VWAP (amber line)
▸ 4H 20 EMA (green stepline)
▸ Summary badge: TRADE READY / WAIT FOR SETUP / NO TRADE TODAY

OPTIONAL LAYERS (toggle on in settings):
▸ PWH/PWL (purple dashed)
▸ PMH/PML (orange solid, thicker)
▸ Midnight Open (gray dotted)
▸ Weekly VWAP (purple line)
▸ Monthly VWAP (orange line)
▸ 5m 9/21 EMA pair (cyan/indigo)
▸ 1H 9/21 EMA pair (cyan/indigo stepline)
▸ D 20 EMA (yellow stepline)
▸ D 50 SMA (orange stepline)
▸ Price labels on all level lines

All colors are fully customizable in settings.


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
FULL PROPERTIES / SETTINGS REFERENCE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

THRESHOLDS:
▸ Expansion multiplier (1.5) — body must exceed this × ATR(20). Raise for volatile instruments, lower for quieter ones.
▸ Max wick-to-range ratio (0.35) — candle must be cleaner than this threshold to count as expansion.
▸ 4H candles to evaluate (4) — how many candles the script considers for expansion profiling.

SESSIONS:
▸ Asia session (1800–0200) — overnight accumulation window
▸ London session (0200–0500) — primary reversal window
▸ New York session (0930–1600) — execution window
▸ Timezone (America/New_York) — also supports America/Chicago, Europe/London, Asia/Tokyo, UTC

LIQUIDITY LEVELS:
▸ Previous Day H/L (on) — blue dashed, width 2
▸ Previous Week H/L (off) — purple dashed, width 2
▸ Previous Month H/L (off) — orange solid, width 3
▸ Midnight Open (off) — gray dotted, width 1
▸ All colors are customizable per tier

ANCHORED VWAP:
▸ Daily VWAP (on) — amber, width 2
▸ Weekly VWAP (off) — purple, width 2
▸ Monthly VWAP (off) — orange, width 1

MOVING AVERAGES:
▸ 5m 9/21 EMA (off) — cyan fast / indigo slow
▸ 1H 9/21 EMA (off) — cyan fast / indigo slow, stepline
▸ 4H 20 EMA (on) — green, stepline, thick
▸ D 20 EMA (off) — yellow, stepline
▸ D 50 SMA (off) — orange, stepline
▸ All colors customizable

FAIR VALUE GAP:
▸ Plot FVGs on chart (on) — green box = bullish, red box = bearish

DISPLAY:
▸ Show checklist panel (on)
▸ Panel position (top_right) — 6 positions available
▸ Panel text size (small) — tiny / small / normal / large / huge
▸ Header/summary text size (normal) — controls title and badge
▸ Show price labels on levels (on) — small tags at the right edge of each line


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE — STEP BY STEP
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

SETUP:
1. Add to a 5-minute chart (NQ, ES, or your instrument)
2. The panel auto-populates from 4H, 1H, and daily data — no timeframe switching needed
3. Toggle on additional layers as desired in settings

MORNING ROUTINE:

6:00 AM — Open chart. Panel shows:
▸ Check 1: 4H expanding? If ❌ → no trade today, done
▸ Check 2: What did Asia and London do?
▸ Check 3: Continuation or reversal day?
▸ Context: Price vs VWAP and 4H EMA alignment

6:15 AM — Read auto-generated bias (Check 7). Write it down.

9:15 AM — Panel updates:
▸ Check 4: FVG present? Zone is shaded on chart
▸ Check 5: Nearest liquidity above/below with tier labels

9:30 AM — Watch for Check 6 to flip green (sweep at any tier)

TRADE READY (all checks green):
▸ Drop to 5-min for timing
▸ Wait for displacement + CISD in your bias direction
▸ Use 5m 9/21 EMA cross as micro-confirmation (if enabled)
▸ Enter after confirmation
▸ Stop above/below the sweep
▸ Target the opposite liquidity pool

10:30 AM — In profit, stopped out, or no setup. Done for the day.

KEY RULES:
▸ Check 1 is ❌ → close the laptop
▸ Can't write bias in one sentence → no trade
▸ 0–2 trades per day max
▸ The indicator identifies CONDITIONS, not entries. Final execution is yours.


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
RECOMMENDED SETUPS BY STYLE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

MINIMALIST (learning the framework):
ON: Checklist panel, PDH/PDL, FVG, Daily VWAP, 4H 20 EMA
OFF: Everything else
→ Clean chart, just the essentials. Master the 7 checks first.

INTERMEDIATE (adding confluence):
ADD: PWH/PWL, Midnight Open, 5m 9/21 EMA pair
→ Weekly liquidity for bigger targets, midnight open for directional lean, execution MAs for timing entries.

FULL CONTEXT (experienced trader):
ADD: PMH/PML, Weekly VWAP, 1H 9/21 EMA, D 20 EMA, D 50 SMA
→ Complete institutional map. Every level you might need is on one chart. Use price labels (on) to read values at a glance.


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ALERTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Three built-in alert conditions:

▸ "4H began expanding" — morning wake-up call: today is potentially a trade day
▸ "External liquidity swept" — fires on the first sweep of ANY enabled tier (PDH, PWH, PMH, etc.)
▸ "ALL CHECKS PASSED" — all 7 conditions met. Eyes on chart — setup is live.

Set via: right-click chart → Add alert → select indicator → choose condition


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MA PERIOD RATIONALE — WHY THESE NUMBERS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Every period was chosen to align with a real institutional time horizon:

5m 9 EMA = ~45 min = one micro-session (the opening drive)
5m 21 EMA = ~105 min = the 9:30–11:00 AM kill zone window
1H 9 EMA = ~1.4 days = one full trading session
1H 21 EMA = ~3.2 days = two full sessions (matches session profiling)
4H 20 EMA = ~3.3 days = one trading week's core rhythm
D 20 EMA = ~1 month = intermediate trend (monthly portfolio reviews)
D 50 SMA = ~2.5 months = quarterly trend (fund allocation cycles)

The 4H 20 EMA is ON by default because it's the single most useful MA for this framework — it directly represents the timeframe the entire strategy is built on.


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
UNDERLYING ALGORITHM
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

The entire framework rests on one cycle:

External liquidity → Internal liquidity → External liquidity
(Sweep stops) → (Fill the FVG) → (Target opposite stops)

▸ The 4H chart tells you the DIRECTION
▸ The session profile tells you the TIMING
▸ The VWAP tells you the INSTITUTIONAL COST BASIS
▸ The MAs tell you whether STRUCTURE supports your bias
▸ The 5-minute chart is for EXECUTION ONLY

You read the book from chapter 1, not from the last page.


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TUNING TIPS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

"Check 1 always red" — lower expansion multiplier to 1.2 or 1.0. Different instruments have different volatility profiles.

"FVG never shows" — there's no unfilled 1H gap right now. Wait for the next expansion candle.

"Session labels wrong" — set the Timezone dropdown to match your chart's exchange timezone.

"VWAP looks flat" — if your instrument has no volume data (some forex/CFD feeds), VWAP defaults to HLC3. Switch to a data feed that provides volume, or disable VWAP.

"Too many lines on chart" — start with the Minimalist setup (see Recommended Setups). Only toggle on new layers after you've used the basic setup for at least a week.

"4H EMA appears as staircase" — this is correct. Higher-timeframe data on a lower-timeframe chart updates in steps. The staircase shows you the exact value at the last 4H close.

"Panel covers price" — change panel position to a different corner, or reduce text size.


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TIMEFRAMES & INSTRUMENTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Designed for: 5-minute chart (execution timeframe)
Internally references: 4H (bias), 1H (FVG), Daily/Weekly/Monthly (liquidity + MAs)
Works on: Futures (NQ, ES, YM, RTY), Forex, Crypto, Equities
Best suited for: Intraday traders with a 9:30–11:00 AM ET window


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHY PINE SCRIPT v6
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

This script is written in Pine Script v6 — the latest version of TradingView's language (released Nov 2024). Benefits over v5:

▸ Strict boolean logic — booleans are always true or false, never na. Eliminates an entire class of edge-case bugs in complex conditions like the multi-check panel.

▸ Short-circuit evaluation — and/or operations stop evaluating the moment the result is determined. Significant performance improvement for scripts with many compound conditions (which this checklist uses heavily).

▸ Future-proof — all new TradingView features going forward are v6 exclusive. Dynamic requests, footprint data, enhanced arrays, and upcoming additions will only work on v6.

▸ Cleaner integer division — 5/2 now correctly returns 2.5 instead of 2. Important for any ratio calculations (expansion multiplier, wick ratios).

If you're migrating from the v1 script (which was v5), the logic is identical — v6 just makes it faster and more reliable.

x.com/tsmake
Developed after reading: x.com/L2WTrades/status/2045828490780373189?s=20


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

This indicator is an EDUCATIONAL TOOL designed to enforce trading discipline. It does NOT generate buy/sell signals, does NOT constitute financial advice, and does NOT guarantee profitability. The checklist identifies structural conditions — the final entry decision, risk management, and position sizing are entirely your responsibility.

Trading futures, equities, options, forex, and crypto carries significant risk of loss. Past performance does not guarantee future results. Backtest thoroughly, start with a simulator, and never risk capital you cannot afford to lose. Consult a licensed financial advisor before making trading decisions.


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TAGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

ICT, Smart Money, Liquidity, Fair Value Gap, FVG, Session Profile, VWAP, PDH, PDL, PWH, PWL, PMH, PML, Institutional, Checklist, Pre-Market, Bias, External Liquidity, Internal Liquidity, Moving Average, 4H, NQ, ES, Futures, Forex
Notes de version
Tags updated.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.