FREEDOM - TJR Model

\Automates TJRโs well-known NQ playbook with clean visuals, filters, and alertsโso you can focus on execution.\
\Core idea\
1. Trade \NQ\ in the \New York session\ ๐ฝ
2. Wait for a \liquidity sweep\ of a \prior session\ High/Low (Asia or London) โ๏ธ
3. Confirm with \SMT (NQ vs ES) divergence\ ๐
4. Act on a \proprietary entry signal\ ๐
5. Risk at the swing ๐ก๏ธ, target \untapped internal/session liquidity\ ๐ฏ
This indicator draws those session levels for you, tracks sweeps, detects SMT, applies higher-timeframe confluence, and fires alerts that respect your time window and filters.
---
\What it draws & detects\
\โข Sessions & Liquidity Sweeps\ ๐
* Plots \Asia / London / New York\ session bands.
* On session close, it freezes the sessionโs \High/Low\ as dotted โprevious-session levelsโ and \extends them forward\ until price \crosses\ (choose \Wicks\ or \Close\).
* When price takes a previous-session \High\ โ \Buyside sweep\; takes a \Low\ โ \Sellside sweep\.
* Optional \Sweep Zones\ expand around the swept level using an \ATR(21)\ margin; can auto-fade โfakeโ sweeps.
\Tip: Keep โExtend previous session High/Low until crossโ ON to maintain a clean roadmap into NY open.\
\โข SMT Divergence (NQ vs ES)\ ๐
* Classic pivot-to-pivot SMT:
* \Bearish SMT\ = NQ makes a \higher high\ while ES does \not\.
* \Bullish SMT\ = NQ makes a \lower low\ while ES does \not\.
* Draws \lines\ from pivot to pivot (no chart spam), with optional inline โSMTโ label and optional confidence \score\ (0โ100) based on strength + recency.
* Context aware:
* Only shows \Bearish SMT\ after a \buy-side sweep\ (previous-session High taken).
* Only shows \Bullish SMT\ after a \sell-side sweep\ (previous-session Low taken).
* Respects your \NY time window\ if enabled.
\โข Proprietary Entry Signals\ ๐
* Prints entry lines + arrows only when your rules align (proprietary detection under the hood).
* Respects:
* \Session-sweep bias\ (optional): Sells only after buy-side sweep; Buys only after sell-side sweep.
* \Monotonic filter\: new Sell must be \higher\ than last Sell; new Buy must be \lower\ than last Buy (resets each session).
* \Minimum distance\ to nearest previous-session dotted level (in ticks).
* \NY time filter\ window.
* \HTF confluence\ (see below).
---
\HTF Confluence (optional)\ ๐
* Choose \MA slope\ (\EMA/SMA/RMA/WMA\) or \HH/HL structure\ on a higher timeframe (e.g., 60m/240m).
* Entry arrows and alerts can be gated so they only print when HTF bias agrees with the setup.
\Tip: Start with EMA 50 on 60m for a smooth directional filter; add HH/HL only if you want stricter structure confirmation.\
---
\Dashboard (bottom-right)\ ๐งฉ
* \VWAP state\:
* \Overbought\ (๐ด) if close > VWAP + (mult ร stdev)
* \Oversold\ (๐ข) if close < VWAP โ (mult ร stdev)
* Otherwise \Neutral\ (โช๏ธ)
* \Premium / Discount\ vs previous-session 50% midline: Premium = above (red bias), Discount = below (green bias).
* \SMT row\: Bullish / Bearish / Neutral with optional score.
---
\How to use the settings (quick tour)\
\ENTRY\
* \Entry Swing Length\: lower = more signals.
* \Confirmation\: \Candle Close\ or \Wicks\ for breakout.
* \Filter entry by session sweeps\: enforces โsell after buy-side sweep, buy after sell-side sweep.โ
* \Minimum distance (ticks)\: blocks entries too close to previous-session dotted levels.
* \Replay mode\: keeps entries visible in Bar Replay.
* \NY Time filter\: default \08:00โ14:00 NY\; arrows/alerts respect the window.
* \Arrow offset (ticks)\: how far above/below the candle to plot the arrow.
\SESSION SWEEPS\
* Toggle \Buyside/Sellside zones\, adjust \ATR(21)\ margin & length.
* \Hide Fake Sweep Zones\ (default ON).
* \Extend H/L until cross\ (Wicks/Close).
* Optional \daily reset\ for unswept dotted lines.
\SESSIONS\
* Enable/disable \Asia, London, NY AM, NY PM\; set start/end; choose color; extend midline if desired.
* DST toggles for NY/London.
\HTF Confluence\
* Turn it ON/OFF; pick timeframe & method (MA slope or HH/HL); set MA type/length or swing length.
\Dashboard\
* Show/hide table; set VWAP stdev length/multiplier.
* SMT settings: comparison symbol (\default ES1!\), pivot length, show score/labels, recency window, etc.
\Alerts\ (always last) ๐
* \Session line cross\: choose Highs/Lows and crossing mode (\Same as extension / Wicks / Close\).
* \Entry alerts\: \Filtered / Unfiltered / Both\.
* \Filtered\ = respects sweep bias, HTF confluence, minimum distance, monotonic rule, and time window.
* \Unfiltered\ = ignores sweep bias/HTF/monotonic (still respects minimum distance + time window).
* All entry alerts also respect the \NY time window\ when enabled.
---
\Suggested workflow\
* Open NQ on a 1โ5m chart.
* Let the dotted \previous-session H/L\ extend into NY; wait for a \sweep\.
* Check \SMT\: after buy-side sweep โ look for \bearish SMT\; after sell-side sweep โ look for \bullish SMT\.
* Take the \proprietary entry\ when filters agree.
* Stop at the swing; aim for \untapped internal/session liquidity\.
* Let \alerts\ handle the monitoring.
---
\Why traders like it\
* It mirrors the model popularized by \TJR\ while removing the chart admin: sessions, sweeps, SMT, HTF gating, distances, monotonic sequencing, time windows, and ready-to-use alertsโso your execution stays consistent. โจ
---
\Disclaimer\ โ ๏ธ
\This tool is for educational purposes only and does not constitute financial advice. Markets involve risk; always do your own research and test in replay/paper before trading live. FREEDOM โ TJR Model is inspired by TJRโs publicly known framework but is not affiliated with, endorsed by, or sponsored by TJR. You are solely responsible for your trading decisions and outcomes.\
# Patch notes
* Added toggle for monotonic entries (new longs only below prior long, shorts only above prior short).
* Session H/L dotted lines now extend/behave correctly on higher timeframes.
* Entry time window (NY) with highlight overlay + arrow offset control.
* HTF confluence filter (MA-slope or HH/HL) with timeframe and MA type/length.
* SMT table/plots unified to the same divergence logic, optional score, and line labels; respects sweep gating.
* Per-entry SL/TP engine:
* Stop at nearest swing (configurable length), TP via RR (default 2R).
* Lines + green/red fills extend until SL or TP is hit.
* Works on **every** entry (array-based, not just the latest).
* CHOCH entry line uses true breakout price.
* Inverse FVG (IFVG):
* Arms on session sweep; considers **all** FVGs in the session (pre/post sweep).
* Picks the candidate **closest to price** at inversion (highest bullish after HIGH sweep, lowest bearish after LOW sweep).
* IFVG box + label, extends N bars or until touched.
* Auto re-arms when price crosses the qualifying swing high/low after the last IFVG.
* IFVG robustness: queueing, timeout, session scoping, label placement, and cleanup.
* Session arrays + housekeeping to prevent duplicates and compile errors.
* Numerous bugfixes (variable scoping, NA typing, line.new args, label/box lifetime).
Entry Mode selector (๐ข ENTRY โ Entry Mode): Both | CHOCH | IFVG.
โข IFVG mode enters on the close of the IFVG creation bar. Recommended swing length = 1.
London time window (๐ข ENTRY):
Use time filter (LDN), LDN Start/End, Highlight London window, LDN Highlight Color (+ background shading).
Rules Table (๐ RULES TABLE): Optional on-chart checklist with 5 custom rows (defaults provided).
Trade session tagging: Each RR set now stores the session id at entry (for future features/logic).
Improvements
Min-distance & Monotonic filters now use the actual candidate entry price:
โข CHOCH โ uses breakout level (prev swing).
โข IFVG โ uses bar close.
Time gating: Entries allowed if either active window passes (NY or LDN).
Consistent stamping: Entry/SL/TP lines & boxes are stamped on the signal bar (bar_index - 1) for both CHOCH and IFVG.
Background highlights: Separate overlays for NY and LDN windows.
Monotonic memory updates on IFVG entries too.
Behavior changes
CHOCH logic runs only when Entry Mode is CHOCH (or Both).
IFVG entries obey the same global gates: session-sweep bias, time window(s), HTF confluence, min-distance, and optional monotonic filter.
Notes & Tips
IFVG mode setup: set ๐ข ENTRY โ Entry Swing Length = 1 and ๐ RISK/REWARD โ SL pivot length as desired (tip: start with 1โ2).
Alerts: Session H/L and entry alerts remain available; logic unchanged.
Compatibility: Session sweeps, SMT, dashboard, and prior visuals are unchanged.
TL;DR
Added IFVG entry mode, London time filter, a rules checklist, smarter gating, and consistent RR stamping on the signal bar.
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact MrWickTrading directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Disclaimer
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact MrWickTrading directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.