LIMIT:=35;
M1:=5;
M2:=10;
M3:=120;
VOLUME:VOL,VOLSTICK;
X_1:=MA(VOL,LIMIT);
MA1:MA(VOL,M1);
MA2:MA(VOL,M2);
MA3:MA(VOL,M3);
X_2:=MA(VOL,5);
X_3:=MA(CLOSE,5);
脉冲量:VOL>X_1 AND CLOSE>OPEN;
量能簇:EVERY(VOL>X_1 AND CLOSE>OPEN,3);
X_4:=IF(OPEN>CLOSE,OPEN,CLOSE);
黑心柱:VOL>2*X_1 AND (CLOSE<OPEN OR (HIGH-X_4>0.5*(HIGH-LOW) AND (HIGH-LOW)/REF(CLOSE,1)>0.05));
洗盘柱:X_3<REF(X_3,1) AND VOL>REF(VOL,1) AND VOL>X_2 AND ABS(CLOSE/REF(CLOSE,1)-1)>0.03 AND CLOSE<OPEN;
STICKLINE(量能簇,HHV(VOL,3),0,2.5,0),COLORRED;
STICKLINE(量能簇,REF(VOL,1),0,2,0),COLORRED;
STICKLINE(量能簇,REF(VOL,2),0,2,0),COLORRED;
STICKLINE(脉冲量,VOL,0,2,0),COLORYELLOW;
STICKLINE(黑心柱,VOL*0.9,0,2,0),COLORBLACK;
STICKLINE(洗盘柱,VOL*0.8,0,2,0),COLORMAGENTA;