Market Structure Trailing Stop
By LuxAlgoApr 17, 2023
The Market Structure Trailing Stop hands exit management to the market's own skeleton. Within the wider family of trailing methods, it is a structure-driven design: whenever a change of character (CHoCH) or, optionally, any break of structure (BOS) is detected from pivot-based swing points, the stop resets to the prior trend's high or low, then converges toward price at a pace you control. Structure labels can be drawn alongside, keeping the logic visible on the chart.
How to Trade the Market Structure Trailing Stop?
- Ride trends on structure: in uptrends the stop rises by the Increment Factor % of each new trailing-maximum extension; downtrends mirror the logic on trailing minimums.
- Secondary exits and S/R: if structure times your entries, the trailing level doubles as an exit trigger or a support/resistance reference.
- Cut premature stop-outs: lower the Increment Factor % so the stop converges more slowly and gives volatile pullbacks room to breathe.
- Read the labels: CHoCH lines are dashed and BOS lines dotted, so you always know which event reset the stop.
Market Structure Trailing Stop Settings
- Pivot Lookback: length used to detect the swing points the structure (and therefore the stop) is built from.
- Increment Factor %: convergence speed toward price; smaller values trail looser, larger values tighten faster.
- Reset Stop On: reset on CHoCH only, or on both CHoCH and BOS occurrences.
- Show Structure: toggles the market structure labels on the chart.
Frequently Asked Questions
Free indicator
Get free access to this indicator on the platforms below.
TradingView
NinjaTrader
MetaTrader 4/5
Original indicatorBuilt in-house by LuxAlgo
The Library is free. Quant makes it yours.
Pull any concept or indicator into Quant: rebuild it, retune it, or turn it into a backtested strategy of your own.

