ソースコード

0
(0)
名前:
ソースコード
著者: 自分 (2011.05.10 10:06)
ダウンロード済み: 4048
ダウンロード:
Source Code 1
ソースコード.mq4 (3.0 キロバイト) 意見

説明:

これは私が誰もが見て作業できるように提供する最初の EA です. これは私が書いたものです. この EA は EURUSD 15 分で初期資本を使用して使用する必要があります。 $1000. 1 月 14 日からこの EA を実行すると 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 (未満 5) a month can be expected.
int 初期化()
{
  戻る(0);
}

int deinit()
{  
  戻る(0);
}

整数の開始()
{     
      int total = 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)))          
               OrderSend(シンボル(),OP_SELL,0.1,Bid,10,Bid+400*Point,Bid-4000*Point,"Open a Sell Order",16384,0,赤); // Risk/Reward sucks here..

      もしも (注文合計() < 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)))  
               OrderSend(シンボル(),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 (未満 5) a month can be expected.
int 初期化()
{
  戻る(0);
}

int deinit()
{  
  戻る(0);
}

整数の開始()
{     
      int total = 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)))          
               OrderSend(シンボル(),OP_SELL,0.1,Bid,10,Bid+400*Point,Bid-4000*Point,"Open a Sell Order",16384,0,赤); // Risk/Reward sucks here..

      もしも (注文合計() < 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)))  
               OrderSend(シンボル(),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

これまでのところ投票はありません! この投稿を最初に評価してください.

この投稿が役に立たなかったことをお詫び申し上げます!

この投稿を改善しましょう!

この投稿を改善する方法を教えてください?



著者: 外国為替ウィキチーム
私たちは経験豊富な外国為替トレーダーのチームです [2000-2023] 自分の思いどおりに人生を生きることに専念している人. 私たちの主な目的は、経済的自立と自由を獲得することです, 私たちは自立可能なライフスタイルを実現する手段として、独学で外国為替市場での豊富な経験を積んできました。.