当日一分钟K线内振幅最大的那根K线的高低点划线。
股旁网解答:
T:=BARSLAST(TIME=093100);
ZF:=(H-L)/REF(C,1)*100 ;
HH:=FINDHIGHBARS(ZF,0,T+1,1);
DRAWLINE(CURRBARSCOUNT=CONST(HH)+1 AND PERIOD=0,H,ISLASTBAR,REF(H,HH),0),COLORYELLOW;
DRAWLINE(CURRBARSCOUNT=CONST(HH)+1 AND PERIOD=0,L,ISLASTBAR,REF(L,HH),0),COLORYELLOW;