需要后台程序化,用户要有专业版帐号,
手工下单需要在后台监控界面,进行手工下单
代码如下:
if tbuyholding(1)>0 and c>tenterprice+10 then tsell(1,0,mkt);
if tbuyholding(1)>0 and c<tenterprice-30 then tsell(1,0,mkt);
if tsellholding(1)<0 and c<tenterprice-10 then tsellshort(1,0,mkt);
if tsellholding(1)<0 and c>tenterprice+30 then tsellshort(1,0,mkt);