MSB OB Trading Guide
Last updated: July 22, 2026
The Market Structure Break & Order Block is a quantitative technical analysis tool. MSB_OB (Optimized & Lag-Free) Market Structure Break & Order Block (overlay)
What does the indicator show?
- Market Structure & Momentum: Visualizes prevailing trend directions and key reversal zones.
- BUY / SELL Signals: Highlights confirmed entry and exit opportunities based on quantitative rules.
- Dynamic Boundaries: Provides adaptive levels for managing trade risk and reward expectations.
Key Settings
- ZigZag Length (
zigzagLen): Controls the calculation period and sensitivity for market detection. - Show Zigzag (
showZigzag): Controls the calculation period and sensitivity for market detection. - Fib Factor (
fibFactor): Controls the calculation period and sensitivity for market detection. - Delete Old/Broken Boxes (
deleteBoxes): Controls the calculation period and sensitivity for market detection. - Text Size (px) (
textSize): Controls the calculation period and sensitivity for market detection. - Market (
market): Controls the calculation period and sensitivity for market detection. - MSB Up (
msbUp): Controls the calculation period and sensitivity for market detection. - MSB Down (
msbDown): Controls the calculation period and sensitivity for market detection. - In Bu-OB (
inBuOB): Controls the calculation period and sensitivity for market detection. - In Be-OB (
inBeOB): Controls the calculation period and sensitivity for market detection. - In Bu-BB (
inBuBB): Controls the calculation period and sensitivity for market detection. - In Be-BB (
inBeBB): Controls the calculation period and sensitivity for market detection. - Bu-OB Top (
buObTop): Controls the calculation period and sensitivity for market detection. - Bu-OB Bottom (
buObBot): Controls the calculation period and sensitivity for market detection. - Be-OB Top (
beObTop): Controls the calculation period and sensitivity for market detection. - Be-OB Bottom (
beObBot): Controls the calculation period and sensitivity for market detection. - Bu-BB Top (
buBbTop): Controls the calculation period and sensitivity for market detection. - Bu-BB Bottom (
buBbBot): Controls the calculation period and sensitivity for market detection. - Be-BB Top (
beBbTop): Controls the calculation period and sensitivity for market detection. - Be-BB Bottom (
beBbBot): Controls the calculation period and sensitivity for market detection. - MSB Up (
msbUp): Controls the calculation period and sensitivity for market detection. - MSB Down (
msbDown): Controls the calculation period and sensitivity for market detection. - Price In Bu-OB (
inBuOB): Controls the calculation period and sensitivity for market detection. - Price In Be-OB (
inBeOB): Controls the calculation period and sensitivity for market detection. - Price In Bu-BB (
inBuBB): Controls the calculation period and sensitivity for market detection. - Price In Be-BB (
inBeBB): Controls the calculation period and sensitivity for market detection. - Bu-OB Top (
buObTop): Controls the calculation period and sensitivity for market detection. - Bu-OB Bottom (
buObBot): Controls the calculation period and sensitivity for market detection. - Be-OB Top (
beObTop): Controls the calculation period and sensitivity for market detection. - Be-OB Bottom (
beObBot): Controls the calculation period and sensitivity for market detection. - Bu-BB Top (
buBbTop): Controls the calculation period and sensitivity for market detection. - Bu-BB Bottom (
buBbBot): Controls the calculation period and sensitivity for market detection. - Be-BB Top (
beBbTop): Controls the calculation period and sensitivity for market detection. - Be-BB Bottom (
beBbBot): Controls the calculation period and sensitivity for market detection.
How to use Strategy Parameters (Condition Source)
Within the Strategy Tester module, this indicator can be used both as a direct signal source and as a market-state filter.
1. Signal Events
msbUp- MSB Up event signal.msbDown- MSB Down event signal.inBuOB- Price In Bu-OB event signal.inBeOB- Price In Be-OB event signal.inBuBB- Price In Bu-BB event signal.inBeBB- Price In Be-BB event signal.
2. Filters and Trade Levels
zigzagLen- ZigZag Length value used for structural qualification or thresholds.showZigzag- Show Zigzag value used for structural qualification or thresholds.fibFactor- Fib Factor value used for structural qualification or thresholds.deleteBoxes- Delete Old/Broken Boxes value used for structural qualification or thresholds.textSize- Text Size (px) value used for structural qualification or thresholds.market- Market value used for structural qualification or thresholds.msbUp- MSB Up value used for structural qualification or thresholds.msbDown- MSB Down value used for structural qualification or thresholds.inBuOB- In Bu-OB value used for structural qualification or thresholds.inBeOB- In Be-OB value used for structural qualification or thresholds.inBuBB- In Bu-BB value used for structural qualification or thresholds.inBeBB- In Be-BB value used for structural qualification or thresholds.buObTop- Bu-OB Top value used for structural qualification or thresholds.buObBot- Bu-OB Bottom value used for structural qualification or thresholds.beObTop- Be-OB Top value used for structural qualification or thresholds.beObBot- Be-OB Bottom value used for structural qualification or thresholds.buBbTop- Bu-BB Top value used for structural qualification or thresholds.buBbBot- Bu-BB Bottom value used for structural qualification or thresholds.beBbTop- Be-BB Top value used for structural qualification or thresholds.beBbBot- Be-BB Bottom value used for structural qualification or thresholds.buObTop- Bu-OB Top value used for structural qualification or thresholds.buObBot- Bu-OB Bottom value used for structural qualification or thresholds.beObTop- Be-OB Top value used for structural qualification or thresholds.beObBot- Be-OB Bottom value used for structural qualification or thresholds.buBbTop- Bu-BB Top value used for structural qualification or thresholds.buBbBot- Bu-BB Bottom value used for structural qualification or thresholds.beBbTop- Be-BB Top value used for structural qualification or thresholds.beBbBot- Be-BB Bottom value used for structural qualification or thresholds.
Strategy Example: Enter Long when buySignal is true and trendFilter == 1, ensuring trades align with dominant momentum.