- Tháng Một 22, 2014
- Gửi bởi: Nhóm ngoại hối Wiki
- Loại: Chuyên gia tư vấn
Tên: |
|
||
Tác giả: | forexavatar (2010.03.14 00:57) | ||
Đã tải xuống: | 6117 | ||
Tải xuống: |
|
||
Sự miêu tả:Đây là một ví dụ nhỏ về việc sử dụng chiến lược giao dịch theo tin tức. Có ít chiến lược. Tôi đã mô tả tất cả chúng trên trang web của mình và thêm bài viết của tôi vào trình tổng hợp blog pipswanted.com tại đây: 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: nếu như(orderOpenDate == currentDate) { //we place 2 mệnh lệnh: buy stop and sell stop if(ticket < 1) { orderAsk = Ask - Thiên kiến * Điểm; orderBid = Bid - Thiên kiến * Điểm; ticket=OrderSend(Biểu tượng(),OP_SELLSTOP,nhiều,orderBid,1,orderAsk+Point*sl,orderBid-tp*Point,"NewsTrader",2,0,Màu đỏ); } nếu như(ticket2 < 1) { orderAsk = Ask + Thiên kiến * Điểm; orderBid = Bid + Thiên kiến * Điểm; ticket2=OrderSend(Biểu tượng(),OP_BUYSTOP,nhiều,orderAsk,1,orderBid-Point*sl,orderAsk+tp*Point,"NewsTrader",2,0,Màu xanh lá); } } khuyến nghị:
|