Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Vues:
3119
Note:
(8)
Publié:
2018.07.13 15:20
LeManStop.mq5 (14.46 KB) afficher
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

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)

Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/21163

GB GB

Indicator GB (Gaussian Bands) works in the same manner as standard indicator Bollinger Bands. However, unlike the former, it performs filtering centerline and deviation lines by Gaussian method. It also has two deviation lines on each side of the centerline.

DMX DMX

Indicator DMX (Bipolar DMI) is calculated using the standard indicator ADX. However, as compared to that, it displays data as an oscillator with a signal line, and has shorter delay.

MPO MPO

Indicator MPO (Midpoint Oscillator) displays price movement without its trend component around its centerpoint. It is displayed as two lines: Price movement line and signal line. Centerline (MidPoint) is zero level of the oscillator.

PVO PVO

Indicator PVO (Percentage Volume Oscillator) represents a momentum for the volume. It calculates the difference in the percents of large MA between two moving averages based on volumes.