-- 作者:czh79
-- 发布时间:2018/1/16 10:23:30
--
开平仓部分的代码
sellshort(count(ktpc,10),ss,THISCLOSE); buy(count(dt,10) and count(dtpc,10)=0 and holding=0 and timelimit,ss,THISCLOSE);
sell(count(dtpc,10) ,ss,THISCLOSE); buyshort(count(kt,10) and count(ktpc,10)=0 and holding=0 and timelimit ,ss,THISCLOSE);
|