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

Three Typical Candles - expert pour MetaTrader 5

Vues:
6509
Note:
(14)
Publié:
2019.02.07 08:45
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

The EA only operates when a new bar appears within a specified time interval. It calculates the Typical prices for bars #1, #2, and #3. This results in getting trading signals:

   double typical_3=(rates[3].high+rates[3].low+rates[3].close)/3.0;
   double typical_2=(rates[2].high+rates[2].low+rates[2].close)/3.0;
   double typical_1=(rates[1].high+rates[1].low+rates[1].close)/3.0;

   if(typical_3<typical_2 && typical_2<typical_1)
      if(count_buys==0)
         m_need_open_buy=true;

   if(typical_3>typical_2 && typical_2>typical_1)
      if(count_sells==0)
         m_need_open_sell=true;

No more than one position is in the market at a time. A BUY open signal is also a SELL close one, and vice versa: A SELL open signal is a BUY close one (the algorithm is like this: First closing, and then opening).

I recommend testing it on timeframes starting from H1 and higher and on several symbols. 


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

Spreader Spreader

An Expert Advisor for two currency pairs

Stalin_x10 Stalin_x10

Indicator Stalin_x10 displays the trend direction and enter signals of indicator Stalin_NRTR from ten different timeframes on the bar defined in the indicator input parameters.

Heiken_Ashi_Smoothed_Volatility_Volume Heiken_Ashi_Smoothed_Volatility_Volume

Indicator Heiken_Ashi_Smoothed_VolatilityStep without rounding, multiplied by the averaged volumes

Float_Pivot_Digit_HTF Float_Pivot_Digit_HTF

Indicator Float_Pivot_Digit with the timeframe selection option in its input parameters