- 1월 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,녹색); } } 추천:
|