Source Code

0
(0)
İsim:
Source Code
Yazar: Me (2011.05.10 10:06)
İndirildi: 4048
İndirmek:
Source Code 1
SourceCode.mq4 (3.0 kb) Görüş

Tanım:

This is first EA I am providing for everyone to see and work upon. This is written by me. This EA should be used on EURUSD 15min with initial capital of $1000. If you run this EA from 14th Jan 2011 till today, you might find profit with good profit%.

öneriler:

  • EURUSD only
  • 15 minimum grafik
  • Firstly run this as long, then as short, then as long+ short from 12th Jan till today to see in which direction the wind is blowing. Then please test according to that wind direction.
5 yorumlar Yeni bir yorum göndermek için, Lütfen giriş yapmak veya kayıt olmak

tg2007:
This is source code modified. Please run this as long from 01/16 till today or whenever you download it and be amazed. Yes the risk /reward is not great. Fakat, look at the percent won and the graphs. However also note that the total trade # is low. Hence dont expect a trade right away. Maybe a few trades (daha az 5) a month can be expected.
int init()
{
  geri dönmek(0);
}

int deinit()
{  
  geri dönmek(0);
}

int başlangıç()
{     
      int total = OrdersTotal();                  
      eğer (OrdersTotal() < 1)   // I wont open more than 1 trade per time.
         eğer(Saat() > 8 && Saat() < 17)  //Will trade during volatile times when people are usually awake
            if( iMACD(HÜKÜMSÜZ,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0) > iMACD(HÜKÜMSÜZ,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,0) )
            eğer ( ( (iMA(HÜKÜMSÜZ,15,3,0,MODE_EMA,PRICE_MEDIAN,0)) < (iMA(HÜKÜMSÜZ,15,34,0,MODE_EMA,PRICE_MEDIAN,0))) && (iSAR(HÜKÜMSÜZ, 15, 0.02, 0.2, 0) > Yüksek[0]) &&
               ( iBearsPower(HÜKÜMSÜZ,15,13,PRICE_CLOSE,0) <   0  &&  iBearsPower(HÜKÜMSÜZ,15,13,PRICE_CLOSE,0) >    iBearsPower(HÜKÜMSÜZ,15,13,PRICE_CLOSE,1)))          
               OrderSend(Sembol(),OP_SELL,0.1,Bid,10,Bid+400*Point,Bid-4000*Point,"Open a Sell Order",16384,0,Kırmızı); // Risk/Reward sucks here..

      eğer (OrdersTotal() < 1)   // I wont open more than 1 trade per time.
         eğer(Saat() > 8 && Saat() < 17)  //Will trade during volatile times when people are usually awake
         //If the prices are within Boil Band and EMA 3,34 crossover in favor and BullsPower in favor, then trade in buy
            if( iMACD(HÜKÜMSÜZ,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0)< iMACD(HÜKÜMSÜZ,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,0) )       
            eğer( (Yüksek[1] < iBands(HÜKÜMSÜZ,0,20,2,0,PRICE_LOW,MODE_UPPER,1))  &&  (Yüksek[2] < iBands(HÜKÜMSÜZ,0,20,2,0,PRICE_LOW,MODE_UPPER,2)))
              eğer ( (iMA(HÜKÜMSÜZ,15,3,0,MODE_EMA,PRICE_MEDIAN,0) > iMA(HÜKÜMSÜZ,15,34,0,MODE_EMA,PRICE_MEDIAN,0) ) && (iSAR(HÜKÜMSÜZ, 15, 0.02, 0.2, 0) < Düşük[0])&&( iBullsPower(HÜKÜMSÜZ,15,13,PRICE_CLOSE,0) >   0)  &&  (iBullsPower(HÜKÜMSÜZ,15,13,PRICE_CLOSE,0) <    iBullsPower(HÜKÜMSÜZ,15,13,PRICE_CLOSE,1)))  
               OrderSend(Sembol(),OP_BUY,0.1,Ask,10,Ask-4000*Point,Ask+400*Point,"Open a Buy Order",16384,0,Yeşil);// Risk/Reward sucks here..

}

Start testing with 1000USD EURUSD M15

21.05.2011 10:49 tg2007

This is source code modified. Please run this as long from 01/16 till today or whenever you download it and be amazed. Yes the risk /reward is not great. Fakat, look at the percent won and the graphs. However also note that the total trade # is low. Hence dont expect a trade right away. Maybe a few trades (daha az 5) a month can be expected.
int init()
{
  geri dönmek(0);
}

int deinit()
{  
  geri dönmek(0);
}

int başlangıç()
{     
      int total = OrdersTotal();                  
      eğer (OrdersTotal() < 1)   // I wont open more than 1 trade per time.
         eğer(Saat() > 8 && Saat() < 17)  //Will trade during volatile times when people are usually awake
            if( iMACD(HÜKÜMSÜZ,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0) > iMACD(HÜKÜMSÜZ,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,0) )
            eğer ( ( (iMA(HÜKÜMSÜZ,15,3,0,MODE_EMA,PRICE_MEDIAN,0)) < (iMA(HÜKÜMSÜZ,15,34,0,MODE_EMA,PRICE_MEDIAN,0))) && (iSAR(HÜKÜMSÜZ, 15, 0.02, 0.2, 0) > Yüksek[0]) &&
               ( iBearsPower(HÜKÜMSÜZ,15,13,PRICE_CLOSE,0) <   0  &&  iBearsPower(HÜKÜMSÜZ,15,13,PRICE_CLOSE,0) >    iBearsPower(HÜKÜMSÜZ,15,13,PRICE_CLOSE,1)))          
               OrderSend(Sembol(),OP_SELL,0.1,Bid,10,Bid+400*Point,Bid-4000*Point,"Open a Sell Order",16384,0,Kırmızı); // Risk/Reward sucks here..

      eğer (OrdersTotal() < 1)   // I wont open more than 1 trade per time.
         eğer(Saat() > 8 && Saat() < 17)  //Will trade during volatile times when people are usually awake
         //If the prices are within Boil Band and EMA 3,34 crossover in favor and BullsPower in favor, then trade in buy
            if( iMACD(HÜKÜMSÜZ,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0)< iMACD(HÜKÜMSÜZ,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,0) )       
            eğer( (Yüksek[1] < iBands(HÜKÜMSÜZ,0,20,2,0,PRICE_LOW,MODE_UPPER,1))  &&  (Yüksek[2] < iBands(HÜKÜMSÜZ,0,20,2,0,PRICE_LOW,MODE_UPPER,2)))
              eğer ( (iMA(HÜKÜMSÜZ,15,3,0,MODE_EMA,PRICE_MEDIAN,0) > iMA(HÜKÜMSÜZ,15,34,0,MODE_EMA,PRICE_MEDIAN,0) ) && (iSAR(HÜKÜMSÜZ, 15, 0.02, 0.2, 0) < Düşük[0])&&( iBullsPower(HÜKÜMSÜZ,15,13,PRICE_CLOSE,0) >   0)  &&  (iBullsPower(HÜKÜMSÜZ,15,13,PRICE_CLOSE,0) <    iBullsPower(HÜKÜMSÜZ,15,13,PRICE_CLOSE,1)))  
               OrderSend(Sembol(),OP_BUY,0.1,Ask,10,Ask-4000*Point,Ask+400*Point,"Open a Buy Order",16384,0,Yeşil);// Risk/Reward sucks here..

}
21.05.2011 10:44 tg2007

Can anyone help me with this? Why is this not trading live?
17.05.2011 14:35 tg2007

I am not entirely sure either. WHen I run this on backtest, it does trade nicely. However on real test no trade
17.05.2011 14:28 tg2007

EA compiles OK, but I get no trades at all. Even if I lengthen the time. Thanks anyway, I needed a simple EA to get me writing my own. I think I have problems with my proxy server and the strategy tester :(.

Bu yazı ne kadar faydalı oldu?

Derecelendirmek için bir yıldıza tıklayın!

Ortalama puanı 0 / 5. Oy sayısı: 0

Şu ana kadar oy yok! Bu gönderiye ilk puan veren siz olun.

Bu yazının sizin için yararlı olmadığı için üzgünüz!

Bu yazıyı geliştirelim!

Bu gönderiyi nasıl geliştirebileceğimizi bize bildirin?



Yazar: Forex Wiki Ekibi
Biz son derece deneyimli Forex Yatırımcılarından oluşan bir ekibiz [2000-2023] hayatı kendi şartlarımıza göre yaşamaya kendini adamış olan. Öncelikli hedefimiz mali bağımsızlık ve özgürlüğe ulaşmaktır., ve kendi kendine sürdürülebilir bir yaşam tarzı elde etmenin yolu olarak kendi kendine eğitim peşinde koştuk ve Forex piyasasında kapsamlı deneyim kazandık..