开多后的最高价如何表示
nn:=barslast(type(1)=1);
hh:hhv(h,nn+1);
逐k模式是和序列模式对立的,固定轮询可以用
nn:= min(barslast(type(1)=1), todaybar);//
hh:hhv(h,nn+1);
nn:= min(barslast(type(1)=1), todaybar);
这是把上次开多历时和今天k线根数比较,那个周期小取哪个。
你想要表达什么?
nn:= min(barslast(type(1)=1), todaybar);//
hh:=hhv(h,nn+1);
type(1)=1改成
type(1)=1 and ref(type(1)<>1)