VARIABLE:n=0,m=0;
ma15:ma(c,15);
hh:hhv(h,enterbars+1);
if c>ma15+5 then buy(holding=0,1,market);
if h-enterprice>=3 and h-enterprice<=10 then n:=1;
if l-enterprice<=3 and n=1 then begin
sell(holding>0,holding,market);
n:=0;
end
if h-enterprice>10 then m:=1;
if l-enterprice<=0.7*(hh-enterprice) and m=1 then begin
sell(holding>0,holding,market);
m:=0;
end
if enterprice-l>=15 then sell(holding>0,holding,market);
http://www.weistock.com/bbs/dispbbs.asp?boardid=2&Id=31614&page=3
按照这里的方法进行贴图,你上面的贴图没看到
信号多是因为你的止盈或止损条件达到后平仓 又开仓了,这个就是条件满足了,除非你再修改开平仓条件
加载在哪个品种?哪个周期?哪根k线的信号不对?