OPEN-SOURCE SCRIPT
TJR Smart Money Model [JOAT]

TJR Smart Money Model [JOAT]
An original, non-repainting build of the smart-money day-trading sequence: sweep liquidity, wait for a market-structure shift, confirm with SMT, then enter the retrace — timed to killzones.
What it is
Most "smart money" tools just spray BOS and CHoCH labels wherever price crosses a line. This one follows the actual process the method teaches, as an ordered sequence, and only signals when each step has happened in the right order. It is written from scratch; it implements widely-taught price-action concepts (liquidity, structure, displacement, SMT, killzones) rather than reusing anyone's code.

The sequence it trades
• Liquidity sweep — price raids an obvious swing high or low (where stops rest) and closes back inside. The failed raid, not the level itself, is the trigger. Sweeps are tagged, and the swept buy-side and sell-side liquidity are drawn and labelled.
• Market structure shift (MSS) — after the sweep, a displacement candle (a body larger than an ATR multiple) must break the short-term structure in the opposite direction. Structure is tracked one break per level: each swing can only produce one BOS or CHoCH, so the labels land exactly where the shift occurs instead of being repeated on every bar. This is the direct fix for the "random label" problem common to naive structure scripts.
• SMT divergence — an optional confluence filter. Set a correlated instrument and the tool checks whether that instrument confirms the sweep's new extreme. If your symbol makes a new low but the correlated one does not (or the mirror for highs), that break in correlation is flagged as SMT and can be required for entries. It is read with lookahead disabled, so it never borrows future data.
• Entry — once the MSS confirms, the tool marks the discount/premium zone: the fair-value gap left by the displacement, or the 50% equilibrium of the reversal leg. A signal fires when price retraces into that zone and reacts, inside a user-selected killzone (London and New York AM by default). The stop rests beyond the swept liquidity — the level that invalidates the idea — and targets ladder out in R multiples inside red-risk and green-reward boxes with labelled entry, stop and take-profit prices.
The dashboard
An adjustable "process card" shows exactly which stage the market is in right now — hunting a sweep, swept and awaiting an MSS, or shifted and awaiting the entry retrace — plus the bias, the SMT state, the active killzone, a conviction reading, the current signal, and a live first-target-before-stop tally computed on closed bars only.
How to use it
• Works on any asset and timeframe; it was designed for intraday index, forex and futures trading but the logic is scale-independent.
• For SMT, pair correlated instruments (for example two related indices, or two correlated currency pairs). Leave the correlated symbol blank to trade the model without the SMT filter.
• Set the killzones and timezone to the session you actually trade, or disable the killzone filter to see signals around the clock.
• Read the dashboard stage before acting: the model is a sequence, and the highest-quality entries are the ones where sweep, shift, SMT and killzone all agree.
Settings
Pivot strength, displacement size, sweep-to-MSS and MSS-to-entry windows, fair-value-gap and order-block controls, equilibrium band thickness, SMT symbol and toggle, killzone windows/timezone, candle paint, risk padding and target R multiples, plus dashboard controls.
Originality and usefulness
The value is the ordered, gated state machine: a sweep must precede a displacement-qualified structure shift, which arms an equilibrium/FVG entry, optionally cross-checked against a correlated instrument and a session window. The once-per-level structure logic and the confirmed-bar evaluation make the labels and signals precise and non-repainting — which is what separates this from a pile of overlaid smart-money drawings.
Notes and limitations
• The model is selective by design; on quiet days or ranges it may produce few or no setups. That is intended.
• SMT is only meaningful with a genuinely correlated symbol; a poor pairing produces misleading divergence.
• Displacement and sweeps are defined algorithmically and may differ slightly from a discretionary trader's manual reading.
• The win tally reflects only past bars on the current chart and is not a prediction of future results.
• Educational and analytical tool, not financial advice. Manage your own risk.
— made with passion by officialjackofalltrades
An original, non-repainting build of the smart-money day-trading sequence: sweep liquidity, wait for a market-structure shift, confirm with SMT, then enter the retrace — timed to killzones.
What it is
Most "smart money" tools just spray BOS and CHoCH labels wherever price crosses a line. This one follows the actual process the method teaches, as an ordered sequence, and only signals when each step has happened in the right order. It is written from scratch; it implements widely-taught price-action concepts (liquidity, structure, displacement, SMT, killzones) rather than reusing anyone's code.
The sequence it trades
• Liquidity sweep — price raids an obvious swing high or low (where stops rest) and closes back inside. The failed raid, not the level itself, is the trigger. Sweeps are tagged, and the swept buy-side and sell-side liquidity are drawn and labelled.
• Market structure shift (MSS) — after the sweep, a displacement candle (a body larger than an ATR multiple) must break the short-term structure in the opposite direction. Structure is tracked one break per level: each swing can only produce one BOS or CHoCH, so the labels land exactly where the shift occurs instead of being repeated on every bar. This is the direct fix for the "random label" problem common to naive structure scripts.
• SMT divergence — an optional confluence filter. Set a correlated instrument and the tool checks whether that instrument confirms the sweep's new extreme. If your symbol makes a new low but the correlated one does not (or the mirror for highs), that break in correlation is flagged as SMT and can be required for entries. It is read with lookahead disabled, so it never borrows future data.
• Entry — once the MSS confirms, the tool marks the discount/premium zone: the fair-value gap left by the displacement, or the 50% equilibrium of the reversal leg. A signal fires when price retraces into that zone and reacts, inside a user-selected killzone (London and New York AM by default). The stop rests beyond the swept liquidity — the level that invalidates the idea — and targets ladder out in R multiples inside red-risk and green-reward boxes with labelled entry, stop and take-profit prices.
The dashboard
An adjustable "process card" shows exactly which stage the market is in right now — hunting a sweep, swept and awaiting an MSS, or shifted and awaiting the entry retrace — plus the bias, the SMT state, the active killzone, a conviction reading, the current signal, and a live first-target-before-stop tally computed on closed bars only.
How to use it
• Works on any asset and timeframe; it was designed for intraday index, forex and futures trading but the logic is scale-independent.
• For SMT, pair correlated instruments (for example two related indices, or two correlated currency pairs). Leave the correlated symbol blank to trade the model without the SMT filter.
• Set the killzones and timezone to the session you actually trade, or disable the killzone filter to see signals around the clock.
• Read the dashboard stage before acting: the model is a sequence, and the highest-quality entries are the ones where sweep, shift, SMT and killzone all agree.
Settings
Pivot strength, displacement size, sweep-to-MSS and MSS-to-entry windows, fair-value-gap and order-block controls, equilibrium band thickness, SMT symbol and toggle, killzone windows/timezone, candle paint, risk padding and target R multiples, plus dashboard controls.
Originality and usefulness
The value is the ordered, gated state machine: a sweep must precede a displacement-qualified structure shift, which arms an equilibrium/FVG entry, optionally cross-checked against a correlated instrument and a session window. The once-per-level structure logic and the confirmed-bar evaluation make the labels and signals precise and non-repainting — which is what separates this from a pile of overlaid smart-money drawings.
Notes and limitations
• The model is selective by design; on quiet days or ranges it may produce few or no setups. That is intended.
• SMT is only meaningful with a genuinely correlated symbol; a poor pairing produces misleading divergence.
• Displacement and sweeps are defined algorithmically and may differ slightly from a discretionary trader's manual reading.
• The win tally reflects only past bars on the current chart and is not a prediction of future results.
• Educational and analytical tool, not financial advice. Manage your own risk.
— made with passion by officialjackofalltrades
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.
The AI Trading Ecosystem, Built to win trades 📈
Get Full Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
Get Full Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
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.
The AI Trading Ecosystem, Built to win trades 📈
Get Full Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
Get Full Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
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.