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
Experts

DoubleUp с изгибом - expert pour MetaTrader 5

Publié par:
Vladimir Karputov
Vues:
4527
Note:
(21)
Publié:
2017.01.19 17:09
Mise à jour:
2017.02.21 07:51
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Author of the idea — Hazem, author of the MQL5 code — barabashkakvn.

The main difficulty of the code is comparing iCCI and iMACD values with the "Buy Sell Level" variable. The indicator values may be different several or even dozens of times. 

For example, for EURUSD, USDJPY and USDSEK symbols as well as for all period values available in MetaTrader 5:

iCCI max min 

 

iMACD max min 

As you can see, iCCI is stable enough in its readings, while iMACD is highly dependent on the symbol price. To solve that, we may multiply iMACD values by a ratio:

void OnTick()
  {
//----
   m_ext_lot=NormalizeDouble(m_account.Balance()/50001.0,2);
   if(m_ext_lot<0.1)
      m_ext_lot=0.1;

   m_cci=iCCIGet(0);
   m_macd=iMACDGet(MAIN_LINE,0)*1000000;

   m_buy_total=0;
   m_sell_total=0;


DoubleUp2 Open and Close

Tip: EURUSD M30 is recommended.

Results from 2016.01.08 to 2016.11.06, EURUSD M30, initial deposit — 10 000:

DoubleUp2 Open and Close tester 

 

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

Opening and Сlosing on time v2 Opening and Сlosing on time v2

The Expert Advisor opens and closes at a certain time comparing two iMA indicators having different periods. A trade having a specified volume is opened at a specified symbol. Setting Stop Loss and Take Profit. Select position type: Buy or Sell.

Exp_Bezier_ReOpen Exp_Bezier_ReOpen

The Exp_Bezier_ReOpen trading system is based on the Bezier indicator color change with adding to trend-following positions.

Exp_JBrainTrend1Stop_ReOpen Exp_JBrainTrend1Stop_ReOpen

The Exp_JBrainTrend1Stop_ReOpen trading system is based on the JBrainTrend1Stop indicator color change with adding to trend-following positions.

JBrainTrend1Stop_Alert JBrainTrend1Stop_Alert

JBrainTrend1Stop trend indicator features alerts, emails and push notifications.