The Market Structure indicator ports the LuxAlgo Smart Money Concepts structure engine. It tracks two parallel structures - swing (long pivots) and internal (short pivots) - and surfaces breaks, trend, zones, and strong/weak extremes as conditions.
Conditions
- Structure Break (
market_structure_break) - fires on a BOS or CHoCH in a direction, on swing or internal structure. - Structure Trend (
market_structure_trend) - gate on the prevailing bull/bear trend. - Premium / Discount Zone (
in_pd_zone) - gate on where price sits in the trailing swing range. - Strong / Weak High-Low (
strong_weak_level) - gate on whether the current trailing extreme is a defended (strong) or vulnerable (weak) level.
Typical use
Pair a swing-trend filter with an internal CHoCH entry: only take longs while swing trend is bullish, entering on an internal bullish CHoCH in the discount zone. This is the classic SMC "trade with the higher structure, time with the lower" pattern.
