附公式如下: time1:= time>090300 and time<112700 or (time>133300 and time<145700); time:= time> 112700 and time<113000 or (time>145700 and time<150000); if c>均线 and time1 then begin sellshort(); buy(); end//价在均线上平空开多
if c<均线 and time1 then begin sell(); buyshort(); end//价在均线下平多开空
if c<0.99*enterprice and holding>0 then sell();//1%多头止损 if c>enterprice*1.01 and holding<0 then sellshort();//1%空头止损
if time2 then begin//收盘前平仓 sell(); sellshort(); end
|
这帖子见过无数次了,也给过答复 懒得再理你了
时间限制 和止损都出掉?