Ticaret robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Telegram üzerinde bulun!
Fan sayfamıza katılın
Komut dosyasını ilginç mi buldunuz?
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
Komut dosyasını beğendiniz mi? MetaTrader 5 terminalinde deneyin
Uzman Danışmanlar

DoubleUp с изгибом - MetaTrader 5 için Uzman Danışman

Yayınlayan:
Vladimir Karputov
Görüntülemeler:
4504
Derecelendirme:
(21)
Yayınlandı:
2017.01.19 17:09
Güncellendi:
2017.02.21 07:51
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

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 

 

MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: 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.