同时挂两个对冲单子的模块
同时挂两个对冲单子的模块 extern double Lots = 0.1; extern int ChasStart = 10; extern int ChasStop = 22; extern int Step = 15; extern int TP = 200; if (TimeHour(TimeCurrent())==ChasStart && TimeMinute(TimeCurrent())==0) { OrderSend(Symbol(),OP_BUYSTOP,Lots,Ask+Step*Point,3,0,Ask+(Step+TP)*Point,””,12321,0, Green); OrderSend(Symbol(),OP_SELLSTOP,Lots,Bid-Step*Point,3,0,Bid-(Step+TP)*Point,””,12321,0,R ed); } |
打赏
最新创建圈子
- 新闻EA运行效果图圈 2019-05-05
圈主:admin 帖子:1