- جنوري 22, 2014
- پاران شايع ٿيل: فاریکس وڪي ٽيم
- زمرو: ماهر صلاحڪار
نالو: |
|
||
ليکڪ: | forexavatar (2010.03.14 00:57) | ||
ڊائون لوڊ ٿيل: | 6117 | ||
ڊائون لوڊ ڪريو: |
|
||
وصف: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. Here is description of the strategy: Here is sample code: جيڪڏهن(orderOpenDate == currentDate) { //we place 2 حڪم: buy stop and sell stop if(ticket < 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,سائو); } } سفارشون:
|