Skip to main content
|View as Markdown|

Market Structure Indicators

Break of structure, change of character, swing failures, range detectors, and pivot forecasts. This category documents 12 MetaTrader 5 library indicators.

← Back to Indicator Library Reference · Interactive Indicator Showcase

Quick Index​

IndicatorPlacementVersionSummary
AIMS Swing Failure PatternMain-Chart Overlay1.00AIMS Swing Failure Pattern (SFP) MT5
AIMS Breakout & RetestMain-Chart Overlay1.00AIMS Swing Breakouts Tests & Retests MT5
AIMS Range DetectorMain-Chart Overlay1.00AIMS Range Detector & Breakout Monitor MT5
AIMS CHoCH BOS FractalMain-Chart Overlay1.00AIMS Market Structure CHoCH / BOS (Fractal) MT5
AIMS Donchian Zig ZagMain-Chart Overlay1.00Donchian Zig-Zag
AIMS Pivot Trailing Max MinMain-Chart Overlay1.00Pivot Trailing Maxima & Minima
AIMS Market Structure OscSubwindow Oscillator1.00Multi-Tier Market Structure Oscillator
AIMS Market Structure BreakersMain-Chart Overlay1.00Market Structure Breakers (MSB/MSS)
AIMS Protected SwingsMain-Chart Overlay1.00Protected Swings (CISD)
AIMS Master PatternMain-Chart Overlay1.00Master Pattern & Liquidity Levels
AIMS Price SimplificationMain-Chart Overlay1.00RDP Price Simplification
AIMS Pivot HL ForecastMain-Chart Overlay1.00Pivot High/Low Analysis & Forecast

Indicator Specifications​

AIMS Swing Failure Pattern​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: AIMS Swing Failure Pattern (SFP) MT5
  • Plot Labels: Bullish SFP, Bearish SFP, Bullish SFP Confirmed, Bearish SFP Confirmed

Parameters​

ParameterVariableTypeDefault
Swing Pivot Left BarsInpSwingLenint5
Enable Bullish SFPInpBullSFPbooltrue
Enable Bearish SFPInpBearSFPbooltrue
Draw Active Swing LinesInpShowLinesbooltrue
Bullish Line ColorInpBullColorcolorclrMediumSeaGreen
Bearish Line ColorInpBearColorcolorclrCrimson

AIMS Breakout & Retest​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: AIMS Swing Breakouts Tests & Retests MT5
  • Plot Labels: Bullish Support Test, Bearish Breakout Retest, Bearish Resistance Test, Bullish Breakout Retest

Parameters​

ParameterVariableTypeDefault
Swing Left BarsInpLeftBarsint10
Swing Right BarsInpRightBarsint1
Zone Width (ATR Mult)InpAtrMultdouble1.0
Max Bars Per ZoneInpMaxBarsint500
Min Bars Between RetestsInpMinGapint0
Support Zone ColorInpBullClrcolorclrSeaGreen
Resistance Zone ColorInpBearClrcolorclrCrimson

AIMS Range Detector​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: AIMS Range Detector & Breakout Monitor MT5
  • Plot Labels: Range Top, Range Bottom

Parameters​

ParameterVariableTypeDefault
Minimum Range LengthInpMinLengthint20
Range Width (ATR Mult)InpWidthMultdouble1.0
ATR LengthInpAtrLenint500
Unbroken Range ColorInpUnbrokencolorclrDodgerBlue
Broken Upward ColorInpBrokenUpcolorclrMediumSeaGreen
Broken Downward ColorInpBrokenDncolorclrCrimson

AIMS CHoCH BOS Fractal​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: AIMS Market Structure CHoCH / BOS (Fractal) MT5
  • Plot Labels: Bullish BOS, Bullish CHoCH, Bearish BOS, Bearish CHoCH

Parameters​

ParameterVariableTypeDefault
Fractal Length (>= 3)InpFractalLenint5
Max Structure LinesInpMaxLinesint20
Bullish Structure ColorInpBullColorcolorclrMediumSeaGreen
Bearish Structure ColorInpBearColorcolorclrCrimson

AIMS Donchian Zig Zag​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: Donchian Zig-Zag
  • Plot Labels: Donchian Zig-Zag, Donchian Upper, Donchian Lower, Bounce Flip

Parameters​

ParameterVariableTypeDefault
Donchian LengthInpLengthint50
Bounce SpeedInpBounceSpeeddouble1.0

AIMS Pivot Trailing Max Min​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: Pivot Trailing Maxima & Minima
  • Plot Labels: Trailing Maximum, Trailing Minimum, Trailing Average, Pivot Low Mark, Pivot High Mark

Parameters​

ParameterVariableTypeDefault
Pivot LengthInpLengthint24

AIMS Market Structure Osc​

  • Placement: Subwindow Oscillator
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: Multi-Tier Market Structure Oscillator
  • Plot Labels: MS Oscillator, Cycle Oscillator

Parameters​

ParameterVariableTypeDefault
Short-Term WeightInpWeightSTdouble1.0
Intermediate-Term WeightInpWeightITdouble3.0
Long-Term WeightInpWeightLTdouble2.0
Oscillator SmoothingInpNormSmoothint4
Cycle EMA LengthInpCycleSmoothint7

AIMS Market Structure Breakers​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: Market Structure Breakers (MSB/MSS)
  • Plot Labels: Active Bull Breaker, Active Bear Breaker, Bull Breaker Breakout, Bear Breaker Breakout

Parameters​

ParameterVariableTypeDefault
Swings PeriodInpSwingLengthint20
Maximum Breaks per BreakerInpMaxBreaksint1
Breaker Maximum Duration (Bars)InpMaxDurationint1000

AIMS Protected Swings​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: Protected Swings (CISD)
  • Plot Labels: Protected Swing Low, Protected Swing High

Parameters​

ParameterVariableTypeDefault
Sweep Pivot SensitivityInpSweepSensint5
Include FVG MitigationsInpIncludeFvgbooltrue
FVG Lookback LimitInpFvgLookbackint50
Draw Confirmation LevelsInpShowLinesbooltrue
Max Confirmation LinesInpMaxObjectsint40

AIMS Master Pattern​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: Master Pattern & Liquidity Levels
  • Plot Labels: Bullish Master Pattern, Bearish Master Pattern, Friction Midline, Upper Liquidity, Lower Liquidity

Parameters​

ParameterVariableTypeDefault
Contraction Pivot LookbackInpLengthint3
Liquidity Pivot LookbackInpLiqLengthint20
Draw Master Pattern BoxesInpShowBoxesbooltrue
Max Pattern BoxesInpMaxBoxesint30

AIMS Price Simplification​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: RDP Price Simplification
  • Plot Labels: RDP Simplified Structure

Parameters​

ParameterVariableTypeDefault
RDP Window SizeInpWindowSizeint300
ATR Simplification MultiplierInpAtrMultdouble2.0
ATR LengthInpAtrLengthint14

AIMS Pivot HL Forecast​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: Pivot High/Low Analysis & Forecast
  • Plot Labels: Last Pivot High Level, Last Pivot Low Level, Confirmed Pivot High, Confirmed Pivot Low

Parameters​

ParameterVariableTypeDefault
Pivot Left/Right LookbackInpLengthint20
Draw Forecasted Next Pivot Time LinesInpShowFcastbooltrue