News Trader Strategy

0
(0)
Nomen:
News Trader Strategy
Author: forexavatar (2010.03.14 00:57)
Downloaded: 6117
Download:
News Trader Strategy 1
NewsTrader.mq4 (2.5 Kb) Visum
 

Descriptio:

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 pips SL. 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:

   si(orderOpenDate == currentDate)
   { 
      //we place 2 iussus: buy stop and sell stop
      if(ticket < 1)
      {
         orderAsk = Ask - bias * Point;
         orderBid = Bid - bias * Point;
         ticket=OrderSend(Symbolum(),OP_SELLSTOP,multum,orderBid,1,orderAsk+Point*sl,orderBid-tp*Point,"NewsTrader",2,0,rubrum); 
      }
      si(ticket2 < 1)
      {
         orderAsk = Ask + bias * Point;
         orderBid = Bid + bias * Point;
         ticket2=OrderSend(Symbolum(),OP_BUYSTOP,multum,orderAsk,1,orderBid-Point*sl,orderAsk+tp*Point,"NewsTrader",2,0,Viridis); 
      }         
   }

Commendationes:

Quam utile fuit hoc post?

Click on a stella ad rate it!

Mediocris rating 0 / 5. Suffragium Comitis: 0

Nulla suffragia usque! Primus ad rate esto post haec.

Dolemus quod haec posta tibi non utilis fuit!

Emendare post haec!

Dic nobis quomodo hanc postem emendare possimus?



Author: Praenomen to Team
Nos sumus quadrigis maxime peritus congue mercatores [2000-2023] qui vitam nostram vivendo sunt addicti. Primarium propositum nostrum est libertatem ac libertatem attingere, et sui educationem secuti sumus et in Forexino foro peritia multa consecuti sumus ut media ad vitam sustinendam sui sustentandam..