//+------------------------------------------------------------------+ //| Íâ»ãEAϵͳָ±ê½»Á÷ȺQQȺºÅ£º73686416 | //| Copyright? 2009 MetaQuotes Software Corp. | //| Íâ»ãEAµÀµÀÂÛ̳ http://waihuiea.5d6d.com/ | //+------------------------------------------------------------------+ #property copyright "Copyright ?2009, " #property link "http://waihuiea.5d6d.com/" #include <stdlib.mqh> #include <WinUser32.mqh> int start() { int ticket,expiration; double point,bid,ask; //---- point=MarketInfo(Symbol(),MODE_POINT); expiration=TimeCurrent( )+PERIOD_D1*60 - (Hour( ) +1)*60; if(MessageBox("EA±àд:´óº£ QQ:806935610 ÄãÕæµÄÏë5µ¥¼Ó²ÖµÍ¹ÒÂô³ö ºÍ 5µ¥¼Ó²Ö¸ß¹ÒÂòÈë"+Symbol()+" ´Ó "+(Bid)+"´Ë¼Û¸ñ£¿Ã¿´ÎÒÔ1ÊÖ£¿ ", "´óº£±àдµÄ½Å±¾",MB_YESNO|MB_ICONQUESTION)!=IDYES) return(1); //---- bid=Bid; ask=Ask; for(int i=5;i>0;i--) { bid-=20*point; ask+=20*point; ticket=OrderSend(Symbol(),OP_BUYSTOP,1,ask,3,ask-50*Point,ask+50*Point,"EA±àд:´óº£ QQ:806935610",20090202,expiration,Blue); ticket=OrderSend(Symbol(),OP_SELLSTOP,1,bid,3,bid+50*Point,bid-50*Point,"EA±àд:´óº£ QQ:806935610",20090202,expiration,Red); if(ticket<1) { int error=GetLastError(); Print("Error = ",ErrorDescription(error)); return; } //---- OrderPrint(); } Alert("´óº£±àдQQ£º806935610 Íâ»ãEA±à³ÌȺQQ£º73686416 EAÂÛ̳ http://waihuiea.5d6d.com"); return(0); } //+------------------------------------------------------------------+
Sample
Analysis
Market Information Used:
Indicator Curves created:
Indicators Used:
Custom Indicators Used:
Order Management characteristics:
It automatically opens orders when conditions are reached
Other Features:
It opens Message Boxes to the user
It issuies visual alerts to the screen