C1:=ref(C,1);
上轨:hhv(C1,NB),colorblack;
下轨:llv(C1,NS),colorblack;
多:=C>上轨 and holding<=0;
空:=C<下轨 and holding>=0;
if 空 then
begin
sell(1,0,market),orderQueue;
buyshort(holding=0,仓,market),orderQueue;
end
if 多 then
begin
sellshort(1,0,market),orderQueue;
buy(holding=0,仓,market),orderQueue;
end
使用IE浏览器,大小不要超过300K
贴图教程:http://www.weistock.com/bbs/dispbbs.asp?boardid=2&Id=31614
比如10:15分的信号,是在10:30的时候没有下单动作?你用的是实盘还是模拟盘?
因为这个bug,我正在寻思是否把程序改成盘中触发类型,但那种类型,会在诸如机构乌龙指的情况,在最差的位置反手,所以,也有潜在的危险。总之各种亏都吃过。