牛熊分界:0,DOTLINE,COLORGREEN;
X_1:=30;
X_2:=10;
X_3:=vol/10000*CLOSE/100;
X_4:=REF(CLOSE,1);
X_5:=SUM(VOL,2)/((HHV(HIGH,2)-LLV(LOW,2))*100);
X_6:=(CLOSE-X_4)*X_5;
X_7:=SUM(X_6,0);
X_8:=X_7;
X_9:=MA(X_8,X_1);
DRAWBAND(X_9,RGB(0,0,80),X_8,RGB(160,0,0));
X_10:=REF(X_8,X_2)=HHV(X_8,2*X_2+1);
X_11:=FILTER(X_10,X_2);
X_12:=BacKSET(X_11,X_2+1);
X_13:=FILTER(X_12,X_2);
T线:REF(X_8,BArslAST(X_13)),NODRAW,COLORMAGENTA;
STICKLINE(CLOSE>0,T线,T线,6,0),COLORFF6600;
JZobv:X_8,COLORWHITE;
MA30:MA(JZOBV,X_1),COLORYELLOW;
DRAWICON(crOSS(JZOBV,T线),T线*0.99,1);
DRAWTEXT_FIX(CLOSE>OPEN,0.01,0.9,0,7),COLOR99EEEE;