Laguerre MetaTrader indicator — a completely custom indicator that doesn't rely on the standard MT4/MT5 indicators. It shows the weighted trendline in the separate window of the chart. It can be used for simple entry and exit signals. The indicator is available for both MT4 and MT5.

Input parameters

  • Gamma (default = 0.7) — a multiplier that is used in the line's levels calculation. The higher it is the smoother is the line.
  • CountBars (default = 950) — the maximum number of bars for which to calculate this indicator. Set to as high as possible if you don't experience performance problems.

Example and strategy

Laguerre Indicator Example MetaTrader Chart

Laguerre can be used to buy when the line reaches 0.2 level from below and exit the long trade when it reaches 0.5 level from above. Sell when the line crosses 0.8 from above and exit the short trade when the line crosses 0.5 level from below.

Downloads (ver. 1.02, 2022-03-09)

Laguerre for MetaTrader 4 in .zip

Laguerre for MetaTrader 4 in .mq4

Laguerre for MetaTrader 5 in .zip

Laguerre for MetaTrader 5 in .mq5


Warning! If you do not know how to install this indicator, please read the MetaTrader Indicators Tutorial.

Do you have any suggestions or questions regarding this indicator? You can always discuss Laguerre with the other traders and MQL programmers on the indicators forums.


1.02 - 2022-03-09

  • Refactored MQL4 code.

© 2005–2023

Design — Mart Studio

Forex trading bears intrinsic risks of loss. You must understand that Forex trading, while potentially profitable, can make you lose your money. Never trade with the money that you cannot afford to lose! Trading with leverage can wipe your account even faster.

CFDs are leveraged products and as such loses may be more than the initial invested capital. Trading in CFDs carry a high level of risk thus may not be appropriate for all investors.