-- 作者:berwe
-- 发布时间:2015/5/12 15:28:22
--
AA:=abs(holding); if time>=150700 then begin sellshort(holding<0,AA,thisclose); sell(holding>0,AA,thisclose); end
改写成以下, if time>=150700 then begin sellshort(holding<0,holding,market); sell(holding>0,holding,market); end
这两种写法有什么区别呢?
|