- มกราคม 22, 2014
- โพสโดย: ทีมงาน Forex Wiki
- หมวดหมู่: ที่ปรึกษาผู้เชี่ยวชาญ
ชื่อ: |
|
||
ผู้เขียน: | อัตราแลกเปลี่ยน (2010.03.14 00:57) | ||
ดาวน์โหลดแล้ว: | 6117 | ||
ดาวน์โหลด: |
|
||
คำอธิบาย:นี่เป็นตัวอย่างเล็กๆ น้อยๆ ของการใช้กลยุทธ์การซื้อขายตามข่าว. มีกลยุทธ์อยู่เล็กน้อย. ฉันอธิบายทั้งหมดไว้ในไซต์ของฉัน และเพิ่มบทความของฉันไปยังผู้รวบรวมบล็อกของ pipswanted.com ที่นี่: 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,สีเขียว); } } คำแนะนำ:
|