同时挂两个对冲单子的模块
同时挂两个对冲单子的模块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);
}
zxcxxcccbvbnnn,m. 不错不错,楼主您辛苦了。。。 同时挂两个对冲单子的模块
页:
[1]