Skip to main content
|View as Markdown|

Trend Indicators

Adaptive moving averages, directional filters, Supertrend variants, and trendline engines. This category documents 25 MetaTrader 5 library indicators.

← Back to Indicator Library Reference · Interactive Indicator Showcase

Quick Index​

IndicatorPlacementVersionSummary
AIMS Hull ButterflySubwindow Oscillator1.00AIMS Hull Butterfly Oscillator MT5 - Volatility Squeeze & Exhaustion
AIMS TRAMAMain-Chart Overlay1.00AIMS Trend Regularity Adaptive Moving Average (TRAMA) MT5
AIMS Ehlers SuperSmootherMain-Chart Overlay1.00AIMS Ehlers SuperSmoother MT5 (2-Pole & 3-Pole Butterworth)
AIMS Powered KAMAMain-Chart Overlay1.00AIMS Anchored Powered KAMA with Welford Deviation Bands MT5
AIMS SuperTrend AIMain-Chart Overlay1.00AIMS SuperTrend AI (K-Means Clustering) MT5
AIMS Whittaker EnvelopeMain-Chart Overlay1.00AIMS Whittaker-Henderson Expectile Envelope MT5
AIMS Ehlers TrendlineMain-Chart Overlay1.00AIMS Ehlers Instantaneous Trendline & Trigger MT5
AIMS Monotonicity IndexSubwindow Oscillator1.00AIMS Monotonicity Index (Isotonic PAVA) MT5
AIMS Decycler OscillatorSubwindow Oscillator1.00AIMS Ehlers Decycler Oscillator MT5
AIMS Coral TrendMain-Chart Overlay1.00AIMS Coral Trend Filter (6-Stage T3 Cascade) MT5
AIMS Zero-Lag EMAMain-Chart Overlay1.00AIMS Zero-Lag EMA (Ehlers & Way) MT5
AIMS Cyber CycleSubwindow Oscillator1.00AIMS Ehlers Cyber Cycle & Stochastic Cycle MT5
AIMS Trendlines with BreaksMain-Chart Overlay1.00AIMS Trendlines with Breaks MT5
AIMS MA SabresMain-Chart Overlay1.00AIMS MA Sabres (Trend Inflection Detector) MT5
AIMS Gann HiLo ActivatorMain-Chart Overlay1.00AIMS Gann HiLo Activator MT5
AIMS Evasive SupertrendMain-Chart Overlay1.00Noise-Adaptive Evasive SuperTrend
AIMS Hyper TrendMain-Chart Overlay1.00HyperTrend Adaptive Channel
AIMS Forward Backward EMASubwindow Oscillator1.00Forward-Backward Exponential Oscillator
AIMS Ichimoku TheoriesMain-Chart Overlay1.00Ichimoku Kinko Hyo & Cross Signals
AIMS Adaptive Centric MAMain-Chart Overlay1.00Adaptive Centric Moving Average
AIMS Adjustable MA ExtremitiesMain-Chart Overlay1.00Adjustable MA & Alternating Extremities
AIMS Candle Breakout OscSubwindow Oscillator1.00Candle Breakout Oscillator
AIMS Directional MatrixSubwindow Oscillator1.00Directional Matrix Consensus (SMA/TMA/WMA/REG)
AIMS ML Moving AverageMain-Chart Overlay1.00Machine Learning Moving Average (RBF GPR)
AIMS ML Regression TrendMain-Chart Overlay1.00Machine Learning RANSAC Regression Trend

Indicator Specifications​

AIMS Hull Butterfly​

  • Placement: Subwindow Oscillator
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: AIMS Hull Butterfly Oscillator MT5 - Volatility Squeeze & Exhaustion
  • Plot Labels: Hull Butterfly Hist, Hull Butterfly Line, Bullish Exhaustion, Bearish Exhaustion, Upper Band, Lower Band, Zero Line

Parameters​

ParameterVariableTypeDefault
Hull LengthInpLengthint14
Band MultiplierInpMultdouble2.0

AIMS TRAMA​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: AIMS Trend Regularity Adaptive Moving Average (TRAMA) MT5
  • Plot Labels: TRAMA

Parameters​

ParameterVariableTypeDefault
TRAMA PeriodInpLengthint99

AIMS Ehlers SuperSmoother​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: AIMS Ehlers SuperSmoother MT5 (2-Pole & 3-Pole Butterworth)
  • Plot Labels: Ehlers SuperSmoother, Bullish Cross, Bearish Cross

Parameters​

ParameterVariableTypeDefault
Cutoff PeriodInpCutoffPeriodint10
Filter PolesInpPolesENUM_SS_POLESSS_2POLE
Color by Filter SlopeInpSlopeColorbooltrue
Show Price Crossing ArrowsInpShowCrossesboolfalse

AIMS Powered KAMA​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: AIMS Anchored Powered KAMA with Welford Deviation Bands MT5
  • Plot Labels: Anchored Powered KAMA, Upper Outer Band, Upper Inner Band, Lower Inner Band, Lower Outer Band

Parameters​

ParameterVariableTypeDefault
Anchor PeriodInpAnchorPeriodENUM_ANCHOR_PERIODANCHOR_AUTO
Power ExponentInpPowerdouble2.0
Bands MultiplierInpBandMultdouble2.0

AIMS SuperTrend AI​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: AIMS SuperTrend AI (K-Means Clustering) MT5
  • Plot Labels: SuperTrend AI, Performance AMA, Bullish Flip, Bearish Flip

Parameters​

ParameterVariableTypeDefault
ATR LengthInpAtrLengthint10
Min FactorInpMinMultdouble1.0
Max FactorInpMaxMultdouble5.0
Factor StepInpStepdouble0.5
Performance MemoryInpPerfAlphadouble10.0
Target ClusterInpFromClusterENUM_ST_CLUSTERST_CLUSTER_BEST
Max Bars for ClusteringInpMaxDataint2500
Show Flip ArrowsInpShowSignalsbooltrue

AIMS Whittaker Envelope​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: AIMS Whittaker-Henderson Expectile Envelope MT5
  • Plot Labels: Upper Whittaker Envelope, Midline Envelope, Lower Whittaker Envelope

Parameters​

ParameterVariableTypeDefault
Window LengthInpLengthint300
Smoothing LambdaInpLambdadouble800.0
Lower Asymmetry (p)InpPLowerdouble0.001
Upper Asymmetry (p)InpPUpperdouble0.999
ALS IterationsInpItersint8

AIMS Ehlers Trendline​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: AIMS Ehlers Instantaneous Trendline & Trigger MT5
  • Plot Labels: Instantaneous Trendline, ITrend Trigger, Bullish Trigger Cross, Bearish Trigger Cross

Parameters​

ParameterVariableTypeDefault
Smoothing Alpha (0.01 - 1.0)InpAlphadouble0.07
Show Trigger Crossover MarkersInpShowCrossesboolfalse

AIMS Monotonicity Index​

  • Placement: Subwindow Oscillator
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: AIMS Monotonicity Index (Isotonic PAVA) MT5
  • Plot Labels: Monotonicity Index, Cumulative Mean, Upper Bound (2x Mean)

Parameters​

ParameterVariableTypeDefault
Isotonic Fit PeriodInpPeriodint20
Index ModeInpModeENUM_MONO_MODEMONO_EFFICIENCY
Index SMA SmoothingInpSmoothint5

AIMS Decycler Oscillator​

  • Placement: Subwindow Oscillator
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: AIMS Ehlers Decycler Oscillator MT5
  • Plot Labels: Decycler Oscillator, Bullish Zero Cross, Bearish Zero Cross

Parameters​

ParameterVariableTypeDefault
Fast Cutoff PeriodInpFastCutoffint30
Slow Cutoff PeriodInpSlowCutoffint60
Express as % of PriceInpAsPercentbooltrue
Show Zero-Cross MarkersInpShowMarkersboolfalse

AIMS Coral Trend​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: AIMS Coral Trend Filter (6-Stage T3 Cascade) MT5
  • Plot Labels: Coral Trend, Bullish Flip, Bearish Flip

Parameters​

ParameterVariableTypeDefault
Smoothing PeriodInpPeriodint21
Lag-Compensation Constant D (0 - 1)InpConstantDdouble0.4
Show Slope Flip MarkersInpShowMarkersboolfalse

AIMS Zero-Lag EMA​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: AIMS Zero-Lag EMA (Ehlers & Way) MT5
  • Plot Labels: ZLEMA, Second ZLEMA, Plain EMA, Bullish Price Cross, Bearish Price Cross

Parameters​

ParameterVariableTypeDefault
ZLEMA LengthInpLengthint21
Show Second ZLEMAInpShowPairboolfalse
Second ZLEMA LengthInpPairLengthint50
Show Plain EMA BenchmarkInpShowEmaboolfalse
Show Price Crossing MarkersInpShowCrossesboolfalse

AIMS Cyber Cycle​

  • Placement: Subwindow Oscillator
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: AIMS Ehlers Cyber Cycle & Stochastic Cycle MT5
  • Plot Labels: Cyber Cycle, Trigger, Bullish Cross, Bearish Cross

Parameters​

ParameterVariableTypeDefault
Smoothing Alpha (0.01 - 0.99)InpAlphadouble0.07
Display ModeInpModeENUM_CYC_MODECYC_STOCH
Stochastic LookbackInpStochLenint8
Show Crossover MarkersInpShowMarkersboolfalse

AIMS Trendlines with Breaks​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: AIMS Trendlines with Breaks MT5
  • Plot Labels: Upper Trendline, Lower Trendline, Upward Breakout, Downward Breakout

Parameters​

ParameterVariableTypeDefault
Swing Detection LookbackInpLengthint14
Slope MultiplierInpMultdouble1.0
Slope MethodInpSlopeMethodENUM_TL_SLOPE_METHODTL_SLOPE_ATR

AIMS MA Sabres​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: AIMS MA Sabres (Trend Inflection Detector) MT5
  • Plot Labels: MA Sabre Baseline, Bullish Sabre Inflection, Bearish Sabre Inflection

Parameters​

ParameterVariableTypeDefault
Moving Average TypeInpMaTypeENUM_SABRE_MASABRE_TEMA
MA LengthInpLengthint50
Prior Trend Duration (Bars)InpPrevDurationint20

AIMS Gann HiLo Activator​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: AIMS Gann HiLo Activator MT5
  • Plot Labels: Gann HiLo Activator, Bullish Flip, Bearish Flip

Parameters​

ParameterVariableTypeDefault
High/Low MA LengthInpLengthint3
Moving Average TypeInpMaTypeENUM_GH_MAGH_SMA
Show Flip MarkersInpShowMarkersbooltrue

AIMS Evasive Supertrend​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: Noise-Adaptive Evasive SuperTrend
  • Plot Labels: Evasive SuperTrend, Bull Flip, Bear Flip

Parameters​

ParameterVariableTypeDefault
ATR LengthInpAtrLenint10
Base MultiplierInpMultdouble3.0
Noise Threshold (xATR)InpNoiseThrdouble1.0
Expansion Alpha (xATR)InpExpAlphadouble0.5

AIMS Hyper Trend​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: HyperTrend Adaptive Channel
  • Plot Labels: HyperTrend Avg, HyperTrend Upper, HyperTrend Lower

Parameters​

ParameterVariableTypeDefault
Multiplicative FactorInpMultdouble5.0
Slope DivisorInpSlopedouble14.0
Channel Width %InpWidthPcdouble80.0

AIMS Forward Backward EMA​

  • Placement: Subwindow Oscillator
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: Forward-Backward Exponential Oscillator
  • Plot Labels: Forward-Backward, Backward, FBE Histogram

Parameters​

ParameterVariableTypeDefault
Oscillator LengthInpLengthint20
EMA SmoothingInpSmoothint10

AIMS Ichimoku Theories​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: Ichimoku Kinko Hyo & Cross Signals
  • Plot Labels: Tenkan-sen, Kijun-sen, Senkou Span A, Senkou Span B, Chikou Span, TK Bull Cross, TK Bear Cross

Parameters​

ParameterVariableTypeDefault
Tenkan-sen LengthInpTenkanint9
Kijun-sen LengthInpKijunint26
Senkou Span B LengthInpSpanBint52
Displacement OffsetInpOffsetint26

AIMS Adaptive Centric MA​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: Adaptive Centric Moving Average
  • Plot Labels: Adaptive Centric MA, Smoothed Source

Parameters​

ParameterVariableTypeDefault
Pre-Smoothing & Range LengthInpLengthint10
Attenuation FactorInpAttenuationdouble1.0
Power FactorInpPowerdouble2.0

AIMS Adjustable MA Extremities​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: Adjustable MA & Alternating Extremities
  • Plot Labels: Adjustable MA, Alternating Extremities

Parameters​

ParameterVariableTypeDefault
Kernel LengthInpLengthint50
Deviation MultiplierInpMultdouble2.0
Kernel Lag (Alpha)InpAlphadouble1.0
Kernel Overshoot (Beta)InpBetadouble0.5
Show Alternating ExtremitiesInpShowExtbooltrue

AIMS Candle Breakout Osc​

  • Placement: Subwindow Oscillator
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: Candle Breakout Oscillator
  • Plot Labels: Bullish, Bearish, Sideways, Bullish Cross, Bearish Cross

Parameters​

ParameterVariableTypeDefault
Lookback WindowInpWindowint100
Smoothing MethodInpSmoothMethodENUM_CBO_SMOOTHCBO_SMOOTH_RMA
Smoothing LengthInpSmoothLengthint2
Weighting MethodInpWeightMethodENUM_CBO_WEIGHTCBO_WEIGHT_NONE

AIMS Directional Matrix​

  • Placement: Subwindow Oscillator
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: Directional Matrix Consensus (SMA/TMA/WMA/REG)
  • Plot Labels: Directional Consensus (%), SMA Consensus (%), TMA Consensus (%), WMA Consensus (%), REG Consensus (%)

Parameters​

ParameterVariableTypeDefault
Minimum LengthInpMinLengthint10
Maximum LengthInpMaxLengthint120
Length StepInpStepint10

AIMS ML Moving Average​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: Machine Learning Moving Average (RBF GPR)
  • Plot Labels: GPR Moving Average, Upper Extremity, Lower Extremity, Bullish Regime Flip, Bearish Regime Flip

Parameters​

ParameterVariableTypeDefault
GPR Window Length (10..120)InpWindowint60
Forecast Offset BarsInpForecastint0
Noise Regularization (Sigma)InpSigmadouble0.05
MAE Band MultiplierInpMultdouble2.0

AIMS ML Regression Trend​

  • Placement: Main-Chart Overlay
  • Version: 1.00
  • Platform: MetaTrader 5 (MQL5)
  • Summary: Machine Learning RANSAC Regression Trend
  • Plot Labels: RANSAC Trend Line, RANSAC Upper Channel, RANSAC Lower Channel

Parameters​

ParameterVariableTypeDefault
Regression WindowInpLengthint100
RMSE Channel Width MultiplierInpWidthMultdouble2.0
Auto Inlier Error MultiplierInpErrorMultdouble1.0
Max Historical Bars ComputedInpMaxBarsint400