Skip to main content
|View as Markdown|

Pattern Recognition Indicators

Candlestick formations, bar classifiers, gap breakouts, and multi-bar reversal detectors. This category documents 10 MetaTrader 5 library indicators.

← Back to Indicator Library Reference · Interactive Indicator Showcase

Quick Index​

IndicatorPlacementVersionSummary
AIMS N-Bar ReversalMain-Chart Overlay1.00AIMS N-Bar Reversal Detector MT5
AIMS The StratMain-Chart Overlay1.00AIMS The Strat (1 / 2U / 2D / 3 Bar Classifier & Combos) MT5
AIMS Long Wick DetectorMain-Chart Overlay1.00Long Wick Rejection Detector
AIMS Rising Falling WindowMain-Chart Overlay1.00Rising & Falling Window Gap Signals
AIMS Three Bar ReversalMain-Chart Overlay1.00Three Bar Reversal Pattern
AIMS Gap Fill BreakoutsMain-Chart Overlay1.00Gap Fill Breakouts (ATR FVG + Structural S/R)
AIMS Island ReversalMain-Chart Overlay1.00Island Reversal Detector
AIMS Horns PatternMain-Chart Overlay1.00Horns Pattern Identifier & Breakout Targets
AIMS Bart PatternMain-Chart Overlay1.00Bart Pattern Edge-Reversal Detector
AIMS McDonalds PatternMain-Chart Overlay1.00Dual-Arch Cubic Bezier M/W Pattern

Indicator Specifications​

AIMS N-Bar Reversal​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: AIMS N-Bar Reversal Detector MT5
  • Plot Labels: Bullish N-Bar Reversal, Bearish N-Bar Reversal, Derived Support, Derived Resistance

Parameters​

ParameterVariableTypeDefault
Sequence Length (N)InpNumBarsint7
Min Counter-Candles %InpMinPctint50
Plot Derived S/R LevelsInpShowSRbooltrue
Trend FilterInpTrendFiltENUM_NBR_FILTERNBR_NONE
Fast EMA (MA Cloud)InpFastMAint50
Slow EMA (MA Cloud)InpSlowMAint200
Donchian LengthInpDonchianint13

AIMS The Strat​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: AIMS The Strat (1 / 2U / 2D / 3 Bar Classifier & Combos) MT5
  • Plot Labels: Open;High;Low;Close, Bullish 2-1-2 / 3-1-2 Combo, Bearish 2-1-2 / 3-1-2 Combo

Parameters​

ParameterVariableTypeDefault
Show 2-1-2 / 3-1-2 Reversal ArrowsInpShowCombosbooltrue

AIMS Long Wick Detector​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: Long Wick Rejection Detector
  • Plot Labels: Upper Wick Signal, Lower Wick Signal

Parameters​

ParameterVariableTypeDefault
Wick Threshold (xATR200)InpWickThreshdouble2.0
Wick Level %InpLevelPctdouble100.0

AIMS Rising Falling Window​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: Rising & Falling Window Gap Signals
  • Plot Labels: Rising Window Test, Falling Window Test

Parameters​

ParameterVariableTypeDefault
Max Live Zone Length (Bars)InpMaxZonesint50
Min Gap Width (xATR200)InpAtrLowdouble0.25
Max Gap Width (xATR200)InpAtrHighdouble5.0
Signal Test TypeInpTestModeENUM_RFW_TESTRFW_ENGULFING

AIMS Three Bar Reversal​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: Three Bar Reversal Pattern
  • Plot Labels: Bullish 3-Bar Reversal, Bearish 3-Bar Reversal, Pattern Support, Pattern Resistance

Parameters​

ParameterVariableTypeDefault
Pattern TypeInpPatternModeENUM_TBR_MODETBR_ALL
Trend FilterInpTrendFilterENUM_TBR_FILTERTBR_FILTER_NONE
Fast EMA LengthInpFastEmaint50
Slow EMA LengthInpSlowEmaint200
Donchian LengthInpDonchianLenint13

AIMS Gap Fill Breakouts​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: Gap Fill Breakouts (ATR FVG + Structural S/R)
  • Plot Labels: Active Bull Gap Top, Active Bear Gap Bot, Bullish Gap Breakout, Bearish Gap Breakout

Parameters​

ParameterVariableTypeDefault
ATR Multiplier for FVG SizeInpAtrMultdouble1.0
Body Pivot LengthInpPivotLengthint5
Max Bars Back for SignalInpMaxBarsBackint200
Max Tracked GapsInpMaxGapsint5

AIMS Island Reversal​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: Island Reversal Detector
  • Plot Labels: Bottom Island Reversal, Top Island Reversal

Parameters​

ParameterVariableTypeDefault
Enable Trend FilterInpTrendFilterbooltrue
Trend LookbackInpTrendLengthint10
Enable Volume FilterInpVolumeFilterboolfalse
Enable Horizontality (R2) FilterInpR2Filterbooltrue
Max R2 ThresholdInpR2Thresholddouble0.50
Enable Volatility FilterInpVolFilterbooltrue
Volatility ATR MultiplierInpVolMultdouble5.0
Draw Island Reversal BoxesInpShowBoxesbooltrue
Max Island BoxesInpMaxBoxesint30

AIMS Horns Pattern​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: Horns Pattern Identifier & Breakout Targets
  • Plot Labels: Confirmation Level, Projected Target, Horn Buy Breakout, Horn Sell Breakout

Parameters​

ParameterVariableTypeDefault
Normalized Horn Distance ThresholdInpThresholddouble0.05

AIMS Bart Pattern​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: Bart Pattern Edge-Reversal Detector
  • Plot Labels: Bearish Bart Signal, Bullish Inverted Bart Signal

Parameters​

ParameterVariableTypeDefault
Median LookbackInpMedianLenint25
Edge Detection ATR MultiplierInpEdgeMultdouble1.0
Range-to-Edges Max ThresholdInpRangeRatiodouble2.0
Show Bullish Inverted BartsInpShowInvertbooltrue
Draw Consolidation Zone BoxesInpShowBoxesbooltrue
Max Zone BoxesInpMaxBoxesint30

AIMS McDonalds Pattern​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: Dual-Arch Cubic Bezier M/W Pattern
  • Plot Labels: Dual-Arch Bezier Curve, Swing Body Top, Swing Body Bottom

Parameters​

ParameterVariableTypeDefault
Body Swing LookbackInpLengthint30
Anchor Rightmost Vertex to Latest CloseInpFromStartbooltrue