S1:=5;
S2:=10;
S3:=20;
S4:=60;
X_1:=S1+S2+S3+S4-94;
X_2:=HIGH-MIN(OPEN,CLOSE)*X_1;
X_3:=(CLOSE-OPEN)*X_1;
X_4:=MAX(OPEN,CLOSE)*X_1-LOW;
X_5:=vol/(HIGH-LOW)*X_1;
X_6:=X_2*X_5*X_1;
X_7:=X_3*X_5*X_1;
X_8:=X_4*X_5*X_1;
X_9:=SUM(X_6,0)*X_1;
X_10:=SUM(X_7,0)*X_1;
X_11:=SUM(X_8,0)*X_1;
X_12:=SUM(VOL,0)*X_1;
X_13:=(0-(X_11-X_10-X_9))/CAPITAL*X_1*100;
X_14:=EMA(HHV(X_13,30),2)*X_1;
X_15:=EMA(LLV(X_13,30),2)*X_1;
STICKLINE(1,X_13,X_15,4,0),COLORBROWN;
STICKLINE(1,X_13,X_15,3,0),COLOR0000AA;
STICKLINE(1,X_13,X_15,2,0),COLOR0000CC;
STICKLINE(1,X_13,X_15,1,0),COLOR0000EE;
STICKLINE(1,X_13,X_15,0.1,0),COLOR5555FF;
STICKLINE(X_13 X_14,X_13,X_15,4,(-1)),COLORYELLOW;
STICKLINE(X_13 X_14,X_13,X_15,3.5,0),COLORRED;
STICKLINE(X_13 X_14,X_13,X_15,2.5,1),COLOR007FFF;
STICKLINE(X_13 X_14,X_13,X_15,1,0),COLORYELLOW;
量能高点:X_14,COLORMAGENTA,LINETHICK2;
量能低点:X_15,COLORGREEN,LINETHICK2;
DRAWTEXT_FIX(CLOSE OPEN,0.01,0.9,0,5),COLORMAGENTA;