Skip to content
All library documents

Alpha-Beta Trend Filter with a Multi-Timeframe Dashboard

Article MQL5 code base

Summary

This MQL5 indicator description explains an alpha-beta filter that smooths price while estimating trend velocity. Each bar, it predicts price and velocity from the prior state, then updates both using the observed close and the prediction error. Alpha controls price responsiveness, while beta controls sensitivity to velocity changes. The plotted line changes color according to the estimated trend direction.

A dashboard extends the filter across a user-defined list of symbols and timeframes, showing bullish, bearish, or waiting states. The article gives example parameter settings for faster scalping and smoother swing-trading behavior, but does not provide test results or establish that the settings are profitable. Claims of reduced lag are not supported with comparative evidence, and the dashboard state labels alone do not define entries, exits, or risk limits. The indicator should be evaluated with instrument-specific testing and realistic execution assumptions before use.

Key ideas

  • The alpha-beta filter updates a smoothed price estimate and a velocity estimate from price observations.
  • Alpha controls how closely the estimate follows observed prices, while beta controls velocity responsiveness.
  • The line color represents the sign of estimated velocity, and the dashboard summarizes states across symbols and timeframes.
  • The suggested fast and slow parameter settings are examples without reported performance validation.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.