Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | LeManStop

Trend-following indicator LeManStop is a representative of system LeMan and displays Stop Loss levels for the existing positions in the chart. It draws two Stop Loss lines for Long and Short positions, displayed in different colors.

It has six configurable parameters:

  • Period - calculation period;
  • Coefficient - coefficient of stop line deviation from the price;
  • Fast MA period - fast moving average calculation period;
  • Fast MA method - fast moving average calculation method;
  • Slow MA period - slow moving average calculation period;
  • Slow MA method - slow moving average calculation method.

Calculations:

If dMA > 0:

LeMan Stop = PrevOpen - Coeff * SMA(HO, Period)

If dMA < 0:

LeMan Stop = PrevOpen + Coeff * SMA(OL, Period)

where:

HO = High - Open  OL = Open - Low  dMA = FastMA - SlowMA  FastMA - MA(Close, Fast MA period, Fast MA method)  SlowMA - MA(Close, Slow MA period, Slow MA method)  

MetaTrader Experts, Indicators, Scripts and Libraries

21163

Best MetaTrader Indicators + Profitable Expert Advisors