Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
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
Experts

Plateau - expert pour MetaTrader 5

Publié par:
Vladimir Karputov
Vues:
7434
Note:
(22)
Publié:
2019.02.07 09:02
Plateau.mq5 (79.26 KB) afficher
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Idea by: Scriptor

mq5 code by: barabashkakvn

The EA refers to the data of two indicators iMA (Moving Average, MA), Fast and Slow, and of one indicator iBands (Bollinger Bands, BB). The indicators work on the current symbol and on the current timeframe.

Trailing the positions and trading signals are generated only when a new bar appears. You can also reverse trading signals (parameter Reverse, variable InpReverse in the code) and close positions opposite to the trading signal (parameter Close opposite, variable InpCloseOpposite in the code).

Block of trading signals:

   if(ma_fast[2]<ma_slow[2] && ma_fast[1]>ma_slow[1] && close[1]<bands_lower[1])
     {
      if(!InpReverse)
         m_need_open_buy=true;
      else
         m_need_open_sell=true;
     }
   if(ma_fast[2]>ma_slow[2] && ma_fast[1]<ma_slow[1] && close[1]>bands_lower[1])
     {
      if(!InpReverse)
         m_need_open_sell=true;
      else
         m_need_open_buy=true;
     }

EURUSD, H1:

Plateau


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

Horizontal Line Levels Horizontal Line Levels

Signal (Alert) at crossing horizontal line by the price

HLCrossSigForDeMarker HLCrossSigForDeMarker

The HLCrossSigForDeMarker is considered as a trend indicator since it is intended for "catching" trends. However, it's a pretty complex and informative indicator that allows excluding the psychological and emotional effects from trading.

BollingerBands_Box BollingerBands_Box

Displaying the latest closed values of indicator Bollinger Bands® with colored rectangles and background filling

PEMA_2HTF PEMA_2HTF

A colored cloud made of two PEMAs from different timeframes on a single chart.