//适用于股指
//逐k线模式
nn:=barslast(time=110000)-barslast(time=091600);
VARIABLE :a=0,b=1000000;
if time>091500 and time<110000 and h>a then BEGIN
a:=h;
end
if time>091500 and time<110000 and l<b then BEGIN
b:=l;
end
drawline(time=091600,refx(a,nn),time=110000,a,0);
drawline(time=091600,refx(b,nn),time=110000,b,0);
改参数,让drawline里面的参数改为向右延长
1
1