All scripts
Pro · Invite-only on TradingView
Pro · Invite-only
Smart Money Structure Pro
Market structure as a clear set of rules – you see when the trend is confirmed and when it flips.
- Type
- Structure + signals + trade simulator
- Direction
- Long and short
- Recommended
- 4h and daily chart
- Markets
- Liquid trending markets
Smart Money Structure Pro finds the swing highs and lows, marks every Break of Structure (BOS) and every Change of Character (CHoCH), and shows you the level the current structure has to hold. This produces long and short signals with a stop behind the structure, three targets and breakeven. A comparison in the dashboard shows how other swing lengths would have performed on your chart with the same rules. This page explains every feature – and above all, what you do with it and why.
Overview
At a glance
What does it do?
It reads the market structure – highs and lows – and shows you whether the market is rising, falling or turning right now.
What do I do with it?
You trade in the direction of the structure and use the Protected Level as the line where your idea becomes wrong.
Why?
A trend is nothing more than a series of higher highs and higher lows (or lower ones). As long as that series holds, it pays to go with it.
What do I get?
Clear rules instead of interpretation: where the trend is confirmed, where it flips, and where your stop goes.
On your chart in 3 minutes
Quickstart
- 01
Get access
Smart Money Structure Pro is an invite-only script. You get access through the script page on TradingView.
- 02
Add it to your chart
At the top of the chart, click Indicators, choose Invite-only on the left and click Smart Money Structure Pro.
- 03
Pick a market and timeframe
Start with a liquid trending market, for example gold or the S&P 500 via the ETF SPY, on the 4h or daily chart.
- 04
Read the status line
The top of the dashboard tells you what’s going on right now – for example “SHORT READY · entry on break of 732.71”. That way you know which level you’re waiting for.
The chart explained
What you see on the chart
- 1Protected Level The level the structure has to hold.
- 2CHoCH The first break against the previous structure.
- 3BOS A break in the direction of the structure.
- 4Fair Value Gaps Imbalances that price often comes back to.
- 5Traffic-light candles Gray as long as an entry is blocked.
- 6EMA 200 The long-term filter.
- 7Signals BUY and SELL on the confirmed candle.
- 8Trade levels Stop, targets and zones of the active trade.
- 9Dashboard Status, checklist, structure and statistics.
Elements 2 and 3
Reading structure: BOS and CHoCH
Every trend is made of swings. Smart Money Structure Pro marks when these swings are broken – and whether the break confirms the trend or calls it into question.
- BOS (Break of Structure), dashed: price breaks a swing level in the direction of the current structure – in a downtrend, a new lower low. The trend is confirmed.
- CHoCH (Change of Character), solid: the first break against the current structure. From here on, the new direction applies – until it gets broken itself.
- Each level can only be broken once. Once a level is broken, it stays marked, so you can read back through the history of the structure.
What does it do?
It turns the ups and downs of price into one clear direction: up or down, with the time of the last break.
What do I do with it?
After a CHoCH, you watch the new direction. If a BOS follows, it’s confirmed – then you look for entries in that direction.
Why?
A single break can be a slip. Only the sequence – change, then confirmation – shows that the market has really switched direction.
What do I get?
You stop entering against an intact trend, and you spot early when a trend is coming to an end.
Element 1
The Protected Level: your line in the sand
In an uptrend structure, the Protected Level is the last swing low that has to hold. In a downtrend structure, it’s the last swing high. It glows on the chart and has a band that fades out toward price.
What does it do?
It shows the boundary beyond which the current structure no longer holds. If price breaks this level, the structure flips.
What do I do with it?
As long as the level holds, you stay with the direction. If price runs toward it, things get interesting – this is where it’s decided whether the trend continues.
Why?
Lots of stops sit behind the last swing. If it’s broken, these positions have to get out – which often speeds up the move.
What do I get?
You always know where your idea becomes wrong – that’s the basis for every clean stop.
Open swing levels (liquidity)
The current swing high and swing low that haven’t been broken yet are extended to the right and labeled “Swing high · break ▲” and “Swing low · break ▼”. The next break happens at one of these two levels. That’s also exactly where many market participants have their stops – which is why they’re called liquidity.
Element 4
Fair Value Gaps
A Fair Value Gap forms when price moves so fast that a gap in trading is left between two candles. The script only draws gaps above a minimum size, shrinks them as price fills them, and removes them once they’re filled.
What does it do?
It marks zones where one side briefly dominated the market completely.
What do I do with it?
You use open gaps as possible pullback zones – for adding to a position in the trend, or as an area where a countermove could stop.
Why?
Little was traded inside the gap. Markets often come back to such “unfinished” areas.
What do I get?
You see where a pullback is likely to find support, and you don’t have to chase every breakout.
Elements 5 and 6
Traffic-light candles and long-term filter
The candles only take on the color of the structure as long as all enabled filters are met. When they turn gray, the script wouldn’t open a new trade there – for example because price is on the wrong side of the long-term average (default: EMA 200).
- Red or green: structure and filters agree – signals in this direction are allowed.
- Gray: a filter is blocking. By default, longs only happen above the EMA 200, shorts only below it.
- The gray line on the chart is the EMA 200 itself.
Element 7
BUY and SELL signals
A BUY appears when price breaks the open swing high and the filters allow a long. A SELL appears as the mirror image at the open swing low. Every signal is only confirmed on the candle’s close – nothing disappears afterwards.
The status line in the dashboard tells you in advance what you’re waiting for: “LONG READY · entry on break of …” names the exact level. “LONG BLOCKED · below EMA 200” or “NO SETUP” tell you what’s missing.
Before you take a signal
- Is the market trending, or has it been moving sideways for weeks? In sideways phases, structure breaks often fail.
- Are there important events coming up? Central banks, jobs data, inflation, and for stocks the earnings reports.
- Is there a big level right in front of you – an older high, an open Fair Value Gap, a round number?
- What are the related markets doing? For gold the dollar and real yields, for stock indices the bond yields.
- How far away is the stop? The label shows the distance in percent – that’s what you base your position size on.
Element 8
Trade levels: stop behind the structure
Every signal opens a simulated trade. By default, the stop sits behind the last swing – where the structure would be wrong.
- Stop: behind the last swing plus a small buffer, never tighter than the minimum size and never wider than the maximum size. The label shows the distance in percent.
- TP1, TP2, TP3: at 1, 2 and 3 times the risk (R). The position is split evenly.
- Breakeven at TP1: from the first target on, the rest can no longer go negative.
- An opposite signal closes the trade: only one trade is ever open – never long and short at the same time. The dashboard then shows “Reversed”.
Element 9
Reading the dashboard
| Section | What it tells you |
|---|---|
| Status line | READY with the entry level, BLOCKED with the reason, NO SETUP – or, with an open trade, the direction and the result in R. |
| Checklist | Structure, side of the EMA 200, trend phase, momentum, ATR trend and session. A check = met, a cross = missing. |
| Market | Structure with the last break, Protected Level and open swing levels, each with its distance in ATR, plus position relative to the EMA 200 and momentum. |
| Open trade | Entry, stop, initial risk in ATR and percent, next target. If the structure turns against your trade, a warning appears. |
| Statistics | Trades, win rate, result in R and profit factor over the last 5,000 candles (around 100 trades). |
| Target hit rate / Last trades | How often the targets were reached and how the last five trades ended (stop, breakeven, Reversed, all targets). |
| Swing length comparison | How other swing lengths would have performed with exactly the same rules. The best one is marked with ★. |
Recommendations
Which markets fit – and which don’t
We tested Smart Money Structure Pro with default settings on 11 markets and three timeframes, each over the last 5,000 candles. The pattern is clear: structure breaks need trends. Where a market trends cleanly, they carry. Where it moves back and forth, they become a trap.
| Market | 1h | 4h | Daily | Why |
|---|---|---|---|---|
| S&P 500 (ETF SPY) | Clean swings during regular trading hours, carried by large funds. Breaks often hold. Too many false breakouts on 1h. | |||
| S&P 500 future (ES) | – | – | The thin night session forms swings with little trading behind them. Their breaks rarely carry. | |
| Nasdaq 100 future (NQ) | Very fast and volatile: intraday, swings are often pierced briefly and then reclaimed. On the daily chart the structure is clear. | |||
| Gold (XAU/USD) | Long, macro-driven trends (dollar, real yields). Breaks often keep running – together with SPY the strongest market in the test. | |||
| EUR/USD | Very liquid, but lots of short stop runs around the swings. Hardly any edge intraday, solid on the daily chart. | |||
| GBP/NZD | Thin cross pair with wide spreads and long sideways phases. Two central banks and a commodity currency cause breaks that reverse right away. | |||
| Bitcoin (BTC/USDT) | Trades around the clock with thin weekends: wicks take out swings without the trend following. Solid on 4h. | |||
| NVIDIA | Strong trends carried by capital flows. Strongest on 4h; earnings reports cause gaps across the structure. | |||
| Apple | – | – | Large, liquid stock with calm, steady trends. | |
| Crude oil (WTI) | – | Inventory data and OPEC news take out swings in both directions. Many breaks with no follow-through. | ||
| DAX future | – | – | Opening gaps and strong reactions to US data in the afternoon break structures that don’t hold afterwards. |
Basis: our own test with default settings, the script’s statistics over the last 5,000 candles (around 100 trades per market), without costs. ●●● strong, ●●○ solid, ●○○ weak, – not tested. The reasons are our assessment of each market’s characteristics.
Good example: gold and S&P 500
Gold
4h and daily chart
- Long trends: gold moves in one direction for weeks, driven by the dollar, real yields and central bank demand.
- High liquidity around the clock, but with clear main hours in London and New York.
- Breaks of swing levels are often carried further instead of being reclaimed.
S&P 500 via the ETF (SPY)
4h and daily chart
- Swings form during regular trading hours, when the large participants are active.
- The index follows earnings and capital flows – trends often last for months.
- Tip: avoid the future (ES) on 4h. Its night session produces swings with little substance.
Bad example: GBP/NZD
GBP/NZD
all timeframes
- Long sideways phases: the pair often swings within a range for weeks. Every break of a swing level becomes a trap there.
- Two central banks and a commodity currency: the Bank of England, the RBNZ and commodity prices pull in different directions – sudden spikes break swings without any follow-through.
- Thin and expensive: less liquidity and wider spreads than the major pairs. The costs aren’t even included in the statistics.
For comparison: EUR/USD
daily chart
- The most liquid pair in the world – but, especially intraday, full of short stop runs around the swings.
- Solid on the daily chart; on 1h and 4h only just above zero over the last 5,000 candles.
- The lesson: a good-looking section proves nothing. Always look at the statistics over many trades.
Which timeframe?
- Daily chart: the clearest structure, especially for stocks and indices. Few signals, but with substance.
- 4h: the best compromise. This is where the strongest results came in on gold, SPY and NVIDIA.
- 1h: a lot more false breakouts. Only useful on markets with very strong trends like gold – and with an eye on costs.
- Below 1h: not recommended. Mixed in our tests, clearly negative on forex.
Both directions
Long and short
Smart Money Structure Pro trades both directions with the same rules. The gold example above shows a downtrend structure: every SELL formed at the break of a swing low below the EMA 200, and the Protected Levels sit above it and move down with the trend.
The part that makes the difference
How to manage the trades
Before the entry
- Trend or range? Look at the last few weeks. If BOS and CHoCH keep alternating, the market is moving sideways – then it’s better to wait or turn on the range filter.
- Check the calendar. Don’t trade new breaks ahead of big events. News takes out swings in both directions.
- Check intermarket. If the dollar, interest rates or risk sentiment run against your signal, the break is weaker.
- Check the stop distance and calculate your position size from it – not the other way around.
While the trade is running
- Breakeven after TP1 takes the pressure off. From then on, the worst case is that the trade ends flat.
- Take the dashboard warning seriously: “Structure turned against position” means the structure has turned against you. That’s the moment to actively review the trade.
- Trail in a strong trend: with the “Swing” trailing stop, the stop follows the new swing points.
After the trade
- Several “Reversed” in a row? Then the structure is changing too often – a typical sign of a sideways phase. Pause instead of trading on.
- Write down why you took or skipped a signal. After 30 to 50 trades you’ll see which of your rules actually make money.
Don’t miss a thing
Setting up alerts
- 01
Open the alert window
At the top of the chart, click Alert or press
Alt + A. - 02
Choose the condition
Under Condition, select Smart Money Structure Pro and below it the alert you want.
- 03
Trigger
For signals, use “Once per bar close” so the alert only fires on the finished candle.
- 04
Notification
Choose app, email or webhook and save.
| Alert | When it fires |
|---|---|
| Buy / Sell / Buy or sell | New signal on the finished candle, with stop and targets in the message. |
| TP1 / TP2 / TP3 | As soon as price touches a target. |
| Stop hit / Stop moved to breakeven / Stop moved | The stop was hit, moved to the entry or trailed. |
| Bullish / Bearish BOS | A break in the direction of the structure. |
| Bullish / Bearish CHoCH | The first break against the structure – an early warning. |
| Best setting changed | A different length is now ahead in the swing length comparison. |
| Any alert() function call | One alert for everything: the entry with all levels and, if enabled, every target, every stop and every breakeven. |
Reference
All settings
Double-click the name “SMS” at the top left of the chart to open the settings. They’re split into ten groups. Most traders only change groups 1 to 4 – and even there, not much.
1 · Structure & Signals
- Swing lengthDefault: 10
- How many candles to the left and right have to be lower (or higher) for a high (low) to count as a swing. Smaller = internal, fast structure. Larger = main structure, fewer signals.
- Break confirmed byDefault: Wick
- Wick: a wick through the level is enough. Close: only a close beyond it counts – fewer signals, but also fewer stop runs.
- Signal onDefault: BOS + CHoCH
- Signals on both break types or only on one of them.
- EntryDefault: On the break
- Enter right at the break, or only on the retest of the broken level (within the retest window).
- DisplacementDefault: Off
- Requires a strong candle or a Fair Value Gap on the break.
- DirectionDefault: Long & Short
- Long only, short only or both.
2 · Filters
- Long-term filterDefault: on
- Longs only above, shorts only below the long-term average. Definitely keep it on.
- Long-term MA type / lengthDefault: EMA / 200
- Type and length of the long-term average.
- Range filterDefault: Off
- Hides signals in sideways phases (ADX, Choppiness or both). Helpful on markets that often move sideways.
- Momentum confirmationDefault: off
- Also requires momentum in the direction of the signal.
- Sessions and days of the weekDefault: off / all
- Signals only during certain trading hours or on certain days.
3 · Stop & Targets
- Stop modelDefault: Swing
- Swing: behind the last swing (default). Alternatively a fixed ATR distance, the structure of the last candles, ATR trail or percent.
- Stop bufferDefault: 0.25
- Buffer behind the swing, so the stop doesn’t sit exactly on the level.
- Minimum / Maximum stopDefault: 1.5 / 4
- Limits for the stop distance in ATR. Prevents stops that are too tight or too wide.
- Structure wider than maximumDefault: Cap at maximum
- Cap at maximum: shorten the stop to the cap. Skip the trade: leave the trade out. Capping performed clearly better in the test.
- TP1 / TP2 / TP3Default: 1R / 2R / 3R
- Targets in multiples of the risk; each one can be turned off.
4 · Trade Management
- Opposite signal closes the tradeDefault: on
- An opposite signal closes the open trade. That way, long and short are never open at the same time.
- Move stop to breakevenDefault: At TP1
- When the stop moves to the entry.
- Trailing stopDefault: Off
- Trailing by ATR, percent, 1R from the high or along the swings. Useful in clean trends.
5 · Chart
- StyleDefault: Glow
- Glowing or plain display.
- Protected level / BOS-CHoCH / Breaks keptDefault: on / on / 12
- Which structure elements are visible and how many past breaks stay on the chart.
- Open swing levels / Swing pointsDefault: on / off
- Open swing levels (liquidity) and, optionally, all swing points.
- Fair value gapsDefault: on
- Minimum size, number per side and maximum age of the gaps.
- Candle colouringDefault: Traffic light
- Traffic light: gray when an entry is blocked. Structure: structure color only. Off: normal candles.
6 · Trade Display
- Show trade levelsDefault: on
- Entry, stop and targets on the chart.
- Keep closed trades on chartDefault: off
- Keep closed trades visible – good for studying, but fills up the chart quickly.
- Line style / Label size / Prices / ZonesDefault: Dashed / Normal / on / on
- How the lines, labels and zones look.
7 · Dashboard
- Theme / Position / Text sizeDefault: Auto / Top right / Small
- “Auto” adapts to a light or dark chart.
- Statistics / Target hit rate / Last tradesDefault: on
- Show or hide individual sections.
- Settings comparison / Rows shownDefault: on / 4
- The swing length comparison and how many rows it shows.
8 · Trade History
- Show trade historyDefault: off
- An extra table with the most recent closed trades and a small equity curve.
9 · Evaluation
- Evaluation windowDefault: Last N bars
- The statistics over the last N candles or from a start date.
- BarsDefault: 5000
- Around 100 trades with default settings – enough for a first assessment.
10 · Alerts
- “Any alert() function call” also reports exitsDefault: on
- The combined alert also reports every target, every stop and every breakeven.
From practice
Common mistakes
- Trading breaks in sideways phases. If BOS and CHoCH keep alternating, there’s no trend – and so no reason for a structure trade.
- Ignoring gray candles. They show that the big trend isn’t playing along.
- Chasing the star. The swing length that’s best right now often isn’t the best one tomorrow.
- Not checking the stop distance. With wide swings, a trade can risk a lot more percent than you think.
- Trading on small timeframes. Below 1h, false breakouts and costs rise significantly.
- Mistaking a nice-looking section for a good market. What counts are the statistics over many trades.
FAQ
Does Smart Money Structure Pro repaint?
No. Swings are only confirmed once enough candles follow, which is why they appear with a delay – after that they don’t change anymore. Signals and entries only form on finished candles. Only the dashboard and the levels of the open trade update live.
What’s the difference between BOS and CHoCH?
A BOS breaks a swing level in the direction of the current structure and confirms the trend. A CHoCH is the first break against the structure and signals a possible change of direction.
Why are the candles gray?
Because a filter is blocking a new entry – usually price is on the wrong side of the EMA 200. The script wouldn’t open a trade there.
Why is my stop so far away?
The stop sits behind the last swing. If that swing is far away, the stop is shortened to the cap (default: 4 ATR). The label and the dashboard show the actual distance – that’s what you base your position size on.
Should I use the swing length with the star?
Not automatically. The comparison shows how robust the rules are across different lengths. If the star changes often, that’s more chance than information.
Which timeframe is best?
4h and the daily chart. On 1h only for markets with very strong trends like gold. Below 1h, we don’t recommend the default settings.
How do I get access?
Smart Money Structure Pro is an invite-only script on TradingView. The button on this page takes you to the script page. Once access is granted, you’ll find it on the chart under Indicators → Invite-only.
How do you like Smart Money Structure Pro?
Your vote tells us what to work on next.
Support
Report a problem or share feedback
Something off with the script, unclear in the docs, or you have an idea? Write to us. We reply by email.
Smart Money Structure Pro
Market structure as a rule set: swings, break of structure, change of character and the zones in between.
For educational and analytical purposes only. Not financial advice. Signals, levels and statistics are not recommendations to buy or sell. All statistics are hypothetical, calculated on historical prices without fees, spread and slippage; past results are no guarantee of future results. Trading involves a risk of loss.