VAR1:=MA((2*CLOSE+HIGH+LOW)/4,5);
VAR2:=VAR1*102/100;
VAR3:=VAR1*(200-102)/100;
VAR4:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
VAR5:=DMA(CLOSE,VAR4);
VAR6:=30;
VAR7:=CONST(HHVBARS(VOL,VAR6));
T0:IF(CURRBARSCOUNT=VAR6+7,CONST(IF(VAR7=0,CLOSE,REF(CLOSE,VAR7))),DRAWNULL);
IF(CURRBARSCOUNT=VAR7+1,T0,DRAWNULL),CIRCLEDOT;
中期临界点:DMA(MA(CLOSE+REF(CLOSE,5)/CLOSE*0.098,90),VOL),COLORLIMAGENTA,LINETHICK2;
上:(1+7/100)*VAR5,CIRCLEDOT,COLORBLUE;
下:(1-7/100)*VAR5,CIRCLEDOT,COLORBLUE;
中:(上+下)/2,CIRCLEDOT,COLORBLUE;
DRAWTEXT_FIX(CLOSE>OPEN,0.01,0.01,0,2),COLORYELLOW;