Market Structure Targets Model
By LuxAlgoJun 18, 2024
Market Structure Targets Model is an indicator on Vela, our next-generation charting platform, written in Pine Script®.
The Market Structure Targets Model turns structure events into forward price objectives. Each time a market structure shift (MSS) or market structure break (MSB) confirms, it measures the distance from the extreme point between the structure's extremities to the price at the structure line, scales it by a user-defined percentage, and projects a horizontal target ahead. An MSS, a change of character, flags a possible reversal, while an MSB, the classic break of structure, confirms a trend extending through new higher highs or lower lows.
How to Trade the Market Structure Targets Model?
- Take-profit placement: use projected levels as exit objectives, with bullish and bearish distances tuned separately.
- Reversal confirmation: a lower Target Percentage turns targets into confirmation levels that filter false structure signals before entry.
- Exhaustion spotting: with higher percentages, reaching a target often coincides with trend exhaustion and reversal scenarios.
- Support and resistance: the horizontal targets double as S/R, and breakouts through them help validate fresh trends.
Target lines only draw once the level sits beyond the current close, and the model reads cleanly across timeframes: longer swings for position work, shorter for intraday.
Market Structure Targets Model Settings
- Swings: detection period for structure (3 to 10, default 10); lower it to work from shorter-term swing levels.
- Type: governs unreached targets when a new target prints: Switch replaces the previous unreached target of the same direction and event type, Hold keeps it under evaluation.
- Maximum Target Duration: clears any target not reached within the set bar count.
- MSS / MSB groups: independent bullish and bearish toggles, colors, and % Target values for each event type.
Frequently Asked Questions
Free to use
Run it on Vela. Go further with a paid plan.
- Up to 500 strategy alerts, with webhook automation
- Up to 10× the chart history of Free
- Orderflow lookback up to full history
- More Quant usage to customize it, plus extra usage when you need it
- Futures data alongside crypto, stocks, forex and commodities
Also works on
Related indicators
All 18 Break of Structure indicatorsRun it on Vela. Make it yours with Quant.
Open this indicator free on Vela, our next-generation charting platform. Then ask Quant, our coding agent built into Vela, to retune it or turn it into a backtested strategy of your own.




.png&w=3840&q=75)
