소스 코드

0
(0)
이름:
소스 코드
작가: Me (2011.05.10 10:06)
다운로드됨: 4048
다운로드:
Source Code 1
SourceCode.mq4 (3.0 kb) 보다

설명:

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%.

추천:

  • EURUSD only
  • 15 최소 차트
  • 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 코멘트 새 댓글을 게시하려면, 제발 로그인 또는 등록하다

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. 하지만, look at the percent won and the graphs. However also note that the total trade # 낮다. Hence dont expect a trade right away. Maybe a few trades (less than 5) a month can be expected.
int 초기화()
{
  반품(0);
}

int deinit()
{  
  반품(0);
}

정수 시작()
{     
      int total = OrdersTotal();                  
      만약에 (OrdersTotal() < 1)   // I wont open more than 1 trade per time.
         만약에(시간() > 8 && 시간() < 17)  //Will trade during volatile times when people are usually awake
            if( iMACD(없는,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0) > iMACD(없는,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,0) )
            만약에 ( ( (iMA(없는,15,3,0,MODE_EMA,PRICE_MEDIAN,0)) < (iMA(없는,15,34,0,MODE_EMA,PRICE_MEDIAN,0))) && (iSAR(없는, 15, 0.02, 0.2, 0) > 높은[0]) &&
               ( iBearsPower(없는,15,13,PRICE_CLOSE,0) <   0  &&  iBearsPower(없는,15,13,PRICE_CLOSE,0) >    iBearsPower(없는,15,13,PRICE_CLOSE,1)))          
               주문보내기(상징(),OP_SELL,0.1,매기다,10,Bid+400*Point,Bid-4000*Point,"Open a Sell Order",16384,0,빨간색); // Risk/Reward sucks here..

      만약에 (OrdersTotal() < 1)   // I wont open more than 1 trade per time.
         만약에(시간() > 8 && 시간() < 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(없는,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0)< iMACD(없는,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,0) )       
            만약에( (높은[1] < iBands(없는,0,20,2,0,PRICE_LOW,MODE_UPPER,1))  &&  (높은[2] < iBands(없는,0,20,2,0,PRICE_LOW,MODE_UPPER,2)))
              만약에 ( (iMA(없는,15,3,0,MODE_EMA,PRICE_MEDIAN,0) > iMA(없는,15,34,0,MODE_EMA,PRICE_MEDIAN,0) ) && (iSAR(없는, 15, 0.02, 0.2, 0) < 낮은[0])&&( iBullsPower(없는,15,13,PRICE_CLOSE,0) >   0)  &&  (iBullsPower(없는,15,13,PRICE_CLOSE,0) <    iBullsPower(없는,15,13,PRICE_CLOSE,1)))  
               주문보내기(상징(),OP_BUY,0.1,Ask,10,Ask-4000*Point,Ask+400*Point,"Open a Buy Order",16384,0,녹색);// 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. 하지만, look at the percent won and the graphs. However also note that the total trade # 낮다. Hence dont expect a trade right away. Maybe a few trades (less than 5) a month can be expected.
int 초기화()
{
  반품(0);
}

int deinit()
{  
  반품(0);
}

정수 시작()
{     
      int total = OrdersTotal();                  
      만약에 (OrdersTotal() < 1)   // I wont open more than 1 trade per time.
         만약에(시간() > 8 && 시간() < 17)  //Will trade during volatile times when people are usually awake
            if( iMACD(없는,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0) > iMACD(없는,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,0) )
            만약에 ( ( (iMA(없는,15,3,0,MODE_EMA,PRICE_MEDIAN,0)) < (iMA(없는,15,34,0,MODE_EMA,PRICE_MEDIAN,0))) && (iSAR(없는, 15, 0.02, 0.2, 0) > 높은[0]) &&
               ( iBearsPower(없는,15,13,PRICE_CLOSE,0) <   0  &&  iBearsPower(없는,15,13,PRICE_CLOSE,0) >    iBearsPower(없는,15,13,PRICE_CLOSE,1)))          
               주문보내기(상징(),OP_SELL,0.1,매기다,10,Bid+400*Point,Bid-4000*Point,"Open a Sell Order",16384,0,빨간색); // Risk/Reward sucks here..

      만약에 (OrdersTotal() < 1)   // I wont open more than 1 trade per time.
         만약에(시간() > 8 && 시간() < 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(없는,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0)< iMACD(없는,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,0) )       
            만약에( (높은[1] < iBands(없는,0,20,2,0,PRICE_LOW,MODE_UPPER,1))  &&  (높은[2] < iBands(없는,0,20,2,0,PRICE_LOW,MODE_UPPER,2)))
              만약에 ( (iMA(없는,15,3,0,MODE_EMA,PRICE_MEDIAN,0) > iMA(없는,15,34,0,MODE_EMA,PRICE_MEDIAN,0) ) && (iSAR(없는, 15, 0.02, 0.2, 0) < 낮은[0])&&( iBullsPower(없는,15,13,PRICE_CLOSE,0) >   0)  &&  (iBullsPower(없는,15,13,PRICE_CLOSE,0) <    iBullsPower(없는,15,13,PRICE_CLOSE,1)))  
               주문보내기(상징(),OP_BUY,0.1,Ask,10,Ask-4000*Point,Ask+400*Point,"Open a Buy Order",16384,0,녹색);// 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 :(.

이 게시물이 얼마나 유용했나요??

평가하려면 별표를 클릭하세요.!

평균 평점 0 / 5. 투표수: 0

현재까지 투표가 없습니다! 이 게시물을 가장 먼저 평가해 보세요..

이 게시물이 귀하에게 도움이 되지 못했다니 죄송합니다!

이 게시물을 개선해 보겠습니다.!

이 게시물을 개선할 수 있는 방법을 알려주세요.?



작가: 외환 위키 팀
우리는 경험이 풍부한 Forex 트레이더 팀입니다. [2000-2023] 우리 자신의 조건에 따라 삶을 살기 위해 헌신하는 사람들. 우리의 주요 목표는 재정적 독립과 자유를 얻는 것입니다., 우리는 자기 교육을 추구하고 Forex 시장에서 자립 가능한 라이프 스타일을 달성하기 위한 수단으로 광범위한 경험을 얻었습니다..