0
(0)
Tên:
Mã nguồn
Tác giả: Tôi (2011.05.10 10:06)
Đã tải xuống: 4048
Tải xuống:
Source Code 1
Mã nguồn.mq4 (3.0 Kb) Xem

Sự miêu tả:

Đây là EA đầu tiên tôi cung cấp cho mọi người xem và làm việc. Cái này do tôi viết. EA này nên được sử dụng trên EURUSD 15 phút với số vốn ban đầu là $1000. Nếu bạn chạy EA này từ ngày 14 tháng 1 2011 till today, you might find profit with good profit%.

khuyến nghị:

  • EURUSD only
  • 15 biểu đồ tối thiểu
  • 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 bình luận Để gửi bình luận mới, Xin vui lòng đăng nhập hoặc đăng ký

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. Tuy nhiên, look at the percent won and the graphs. However also note that the total trade # chậm. Hence dont expect a trade right away. Maybe a few trades (ít hơn 5) a month can be expected.
int init()
{
  trở lại(0);
}

int deinit()
{  
  trở lại(0);
}

int start()
{     
      int total = OrdersTotal();                  
      nếu như (OrdersTotal() < 1)   // I wont open more than 1 trade per time.
         nếu như(Giờ() > 8 && Giờ() < 17)  //Will trade during volatile times when people are usually awake
            if( iMACD(VÔ GIÁ TRỊ,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0) > iMACD(VÔ GIÁ TRỊ,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,0) )
            nếu như ( ( (có(VÔ GIÁ TRỊ,15,3,0,MODE_EMA,PRICE_MEDIAN,0)) < (có(VÔ GIÁ TRỊ,15,34,0,MODE_EMA,PRICE_MEDIAN,0))) && (iSAR(VÔ GIÁ TRỊ, 15, 0.02, 0.2, 0) > Cao[0]) &&
               ( iBearsPower(VÔ GIÁ TRỊ,15,13,PRICE_CLOSE,0) <   0  &&  iBearsPower(VÔ GIÁ TRỊ,15,13,PRICE_CLOSE,0) >    iBearsPower(VÔ GIÁ TRỊ,15,13,PRICE_CLOSE,1)))          
               OrderSend(Biểu tượng(),OP_SELL,0.1,Đấu thầu,10,Bid+400*Point,Bid-4000*Point,"Open a Sell Order",16384,0,Màu đỏ); // Risk/Reward sucks here..

      nếu như (OrdersTotal() < 1)   // I wont open more than 1 trade per time.
         nếu như(Giờ() > 8 && Giờ() < 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(VÔ GIÁ TRỊ,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0)< iMACD(VÔ GIÁ TRỊ,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,0) )       
            nếu như( (Cao[1] < iBands(VÔ GIÁ TRỊ,0,20,2,0,PRICE_LOW,MODE_UPPER,1))  &&  (Cao[2] < iBands(VÔ GIÁ TRỊ,0,20,2,0,PRICE_LOW,MODE_UPPER,2)))
              nếu như ( (có(VÔ GIÁ TRỊ,15,3,0,MODE_EMA,PRICE_MEDIAN,0) > có(VÔ GIÁ TRỊ,15,34,0,MODE_EMA,PRICE_MEDIAN,0) ) && (iSAR(VÔ GIÁ TRỊ, 15, 0.02, 0.2, 0) < Thấp[0])&&( iBullsPower(VÔ GIÁ TRỊ,15,13,PRICE_CLOSE,0) >   0)  &&  (iBullsPower(VÔ GIÁ TRỊ,15,13,PRICE_CLOSE,0) <    iBullsPower(VÔ GIÁ TRỊ,15,13,PRICE_CLOSE,1)))  
               OrderSend(Biểu tượng(),OP_BUY,0.1,Hỏi,10,Ask-4000*Point,Ask+400*Point,"Open a Buy Order",16384,0,Màu xanh lá);// 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. Tuy nhiên, look at the percent won and the graphs. However also note that the total trade # chậm. Hence dont expect a trade right away. Maybe a few trades (ít hơn 5) a month can be expected.
int init()
{
  trở lại(0);
}

int deinit()
{  
  trở lại(0);
}

int start()
{     
      int total = OrdersTotal();                  
      nếu như (OrdersTotal() < 1)   // I wont open more than 1 trade per time.
         nếu như(Giờ() > 8 && Giờ() < 17)  //Will trade during volatile times when people are usually awake
            if( iMACD(VÔ GIÁ TRỊ,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0) > iMACD(VÔ GIÁ TRỊ,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,0) )
            nếu như ( ( (có(VÔ GIÁ TRỊ,15,3,0,MODE_EMA,PRICE_MEDIAN,0)) < (có(VÔ GIÁ TRỊ,15,34,0,MODE_EMA,PRICE_MEDIAN,0))) && (iSAR(VÔ GIÁ TRỊ, 15, 0.02, 0.2, 0) > Cao[0]) &&
               ( iBearsPower(VÔ GIÁ TRỊ,15,13,PRICE_CLOSE,0) <   0  &&  iBearsPower(VÔ GIÁ TRỊ,15,13,PRICE_CLOSE,0) >    iBearsPower(VÔ GIÁ TRỊ,15,13,PRICE_CLOSE,1)))          
               OrderSend(Biểu tượng(),OP_SELL,0.1,Đấu thầu,10,Bid+400*Point,Bid-4000*Point,"Open a Sell Order",16384,0,Màu đỏ); // Risk/Reward sucks here..

      nếu như (OrdersTotal() < 1)   // I wont open more than 1 trade per time.
         nếu như(Giờ() > 8 && Giờ() < 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(VÔ GIÁ TRỊ,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0)< iMACD(VÔ GIÁ TRỊ,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,0) )       
            nếu như( (Cao[1] < iBands(VÔ GIÁ TRỊ,0,20,2,0,PRICE_LOW,MODE_UPPER,1))  &&  (Cao[2] < iBands(VÔ GIÁ TRỊ,0,20,2,0,PRICE_LOW,MODE_UPPER,2)))
              nếu như ( (có(VÔ GIÁ TRỊ,15,3,0,MODE_EMA,PRICE_MEDIAN,0) > có(VÔ GIÁ TRỊ,15,34,0,MODE_EMA,PRICE_MEDIAN,0) ) && (iSAR(VÔ GIÁ TRỊ, 15, 0.02, 0.2, 0) < Thấp[0])&&( iBullsPower(VÔ GIÁ TRỊ,15,13,PRICE_CLOSE,0) >   0)  &&  (iBullsPower(VÔ GIÁ TRỊ,15,13,PRICE_CLOSE,0) <    iBullsPower(VÔ GIÁ TRỊ,15,13,PRICE_CLOSE,1)))  
               OrderSend(Biểu tượng(),OP_BUY,0.1,Hỏi,10,Ask-4000*Point,Ask+400*Point,"Open a Buy Order",16384,0,Màu xanh lá);// 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 :(.

Bài đăng này hữu ích như thế nào?

Bấm vào một ngôi sao để đánh giá nó!

Đánh giá trung bình 0 / 5. Số phiếu bầu: 0

Không có phiếu bầu cho đến nay! Hãy là người đầu tiên đánh giá bài viết này.

Chúng tôi xin lỗi vì bài đăng này không hữu ích cho bạn!

Hãy để chúng tôi cải thiện bài đăng này!

Hãy cho chúng tôi biết cách chúng tôi có thể cải thiện bài đăng này?



Tác giả: Nhóm ngoại hối Wiki
Chúng tôi là một nhóm gồm các Nhà giao dịch ngoại hối giàu kinh nghiệm [2000-2023] những người cống hiến để sống cuộc sống theo cách riêng của chúng ta. Mục tiêu chính của chúng tôi là đạt được sự độc lập và tự do về tài chính, và chúng tôi đã theo đuổi việc tự học và có được nhiều kinh nghiệm trong thị trường ngoại hối như là phương tiện của chúng tôi để đạt được lối sống bền vững.