VAR1:=10;
VAR2:=CONST(HHVBARS(VOL,VAR1));
T0:IF(CURRBARSCOUNT<=VAR1+3,CONST(IF(VAR2=0,CLOSE,REF(CLOSE,VAR2))),DRAWNULL),COLORMAGENTA;
IF(CURRBARSCOUNT=VAR2+1,T0,DRAWNULL),CIRCLEDOT,COLORMAGENTA;
DRAWTEXT(ISLASTBAR,T0,1),COLORCC00CC;
VAR3:=20;{股票指标网}
VAR4:=CONST(REF(HHVBARS(VOL,VAR3),VAR2+1)+VAR2+1);
W0:IF(CURRBARSCOUNT<=VAR2+VAR3+3 AND CURRBARSCOUNT>=VAR2+1,CONST(REF(CLOSE,VAR4)),DRAWNULL),COLOR009999;
IF(CURRBARSCOUNT=VAR4+1,W0,DRAWNULL),CIRCLEDOT,COLOR00CCCC;
VAR5:=10;
VAR6:=CONST(REF(HHVBARS(VOL,VAR5),VAR2+1)+VAR2+1);
Q0:IF(CURRBARSCOUNT<=VAR2+VAR5+3 AND CURRBARSCOUNT>=VAR2+1,CONST(REF(CLOSE,VAR6)),DRAWNULL),COLOR009900;
IF(CURRBARSCOUNT=VAR6+1,Q0,DRAWNULL),CIRCLEDOT,COLOR00CC00;
VAR7:=CROSS(HIGH,T0);
STICKLINE(VAR7,OPEN,CLOSE,2,0),COLORYELLOW;