ARIABLE:多累计=-2,空累计=-2,建仓量=1;
交易时间:=(time>091000 and time<101000)or(time>103500 and time<112500)or(time>133500 and time<140500)or(time>142500 and time<145000);
//交易时间:=(time>091000 and time<101000)or(time>103500 and time<112500)or(time>133500 and time<145000);
//多确认:=忽略
//空确认:=忽略
//买点:=忽略;
//止损点:=忽略;
if 多确认 then 多累计=-1;
if tstate=0 then 多累计=-2;
多累计=多累计+1;
if 多累计=-1 then 多累计=-2;
tbuy(交易时间 and 多累计>=1 and 买点,建仓量,lmt,dynainfo(34));
tsell(TSTATE=1,0,lmt,(TAVGENTERPRICE+2*mindiff));
if 止损点 then
begin
tcancel(1,0);
tsell(1,0,lmt,dynainfo(28));
end
说明:1,买入需要先‘多确认’条件出现,出现后1个周期以上‘买点’出现就买入
2,买入后自动下止赢单
3。价位回落到‘止损点’自动撤止赢单,和下买1的单
[此贴子已经被作者于2010-1-23 22:58:01编辑过]