News Trader Strategy

0
(0)
姓名:
News Trader Strategy
作者: forexavatar (2010.03.14 00:57)
已下載: 6117
下載:
News Trader Strategy 1
NewsTrader.mq4 (2.5 KB) 看法
 

描述:

This is a small example of using news trading strategy. There are few strategies. I described them all on my site and add my article to the pipswanted.com blog aggregator here: http://pipswanted.com/Trading-News-Working-Methods-%C2%B7-ForexFellowcom-Making-forex-trading-Easy. I wrote about four different strategies to play news. This simple EA includes one and the most interesting of these strategies in my opinion.
I didn't include the method to get news because I found indicator for playing news on this site http://articles.mql4.com/523 and I didn't want to write about it ones more. Here you get a simple implementation of making orders results from one of the strategies I wrote on my blog.

Here is description of the strategy:

Strategy no 3

It’s my favorite strategy. Before the news publication we place two orders: one buy stop and one sell stop. Both for example 5 pisp TP and 5 止損點. We place buy stop above current price let’s say 20 pips above, and sell stop 20 pips under current price. Now we wait for the data. When the market shots in some way it is big probability to hit one of our TP. Even if it returns after all it can his the second TP. The profit can bee small but not very risky. Be careful with your SL’s and TP’s to be not too big cause it is better to earn small than to lose big money.

Here is sample code:

   如果(orderOpenDate == currentDate)
   { 
      //we place 2 命令: buy stop and sell stop
      if(票 < 1)
      {
         orderAsk = Ask - bias * 觀點;
         orderBid = Bid - bias * 觀點;
         ticket=OrderSend(象徵(),OP_SELLSTOP,很多,orderBid,1,orderAsk+Point*sl,orderBid-tp*Point,"NewsTrader",2,0,紅色的); 
      }
      如果(ticket2 < 1)
      {
         orderAsk = Ask + bias * 觀點;
         orderBid = Bid + bias * 觀點;
         ticket2=OrderSend(象徵(),OP_BUYSTOP,很多,orderAsk,1,orderBid-Point*sl,orderAsk+tp*Point,"NewsTrader",2,0,綠色的); 
      }         
   }

建議:

這篇文章有多有用?

點擊一顆星即可對其進行評分!

平均評分 0 / 5. 計票數: 0

目前還沒有投票! 成為第一個評價這篇文章的人.

很抱歉這篇文章對您沒有用!

讓我們改進這篇文章!

告訴我們如何改進這篇文章?



作者: 外匯維基團隊
我們是一支經驗豐富的外匯交易員團隊 [2000-2023] 致力於以我們自己的方式生活的人. 我們的主要目標是實現財務獨立和自由, 我們追求自我教育並在外匯市場上獲得豐富的經驗,以此作為實現自我可持續生活方式的手段.