你的後語不符前言,要求不明,若要12點和1點間之高點,當然可做,只是你想一想在12點時如何能預知1點時高點要如何了?下面的式子用到未來函數, 5分線用
n:=13;
w:barslast((time>120000 and ref(time,1)<120000) or time=120000),linethick0;
w1:=barslast((time>130000 and ref(time,1)<130000) or time=130000);
//hh:ref(hhv(h,w+1),w1);
vertline(w=0),pointdot,colorwhite;
vertline(w1=0),coloryellow,pointdot;
HH1:=refx(HHV(H,w+1),N-1-w);
HH:ref(hh1*(w=0),barslast(hh1*(w=0))),linethick0;
partline(w>0,HH);
至於關於150分這部份,我不懂你的處境,只好請King版主了
|