{金钻小波段}
X_1:=LLV(LOW,9);
X_2:=HHV(HIGH,9);
X_3:=EMA((CLOSE-X_1)/(X_2-X_1)*100,3);
K:EMA(X_3,3),COLORRED;
D:MA(K,3);
X_4:=CLOSE>OPEN;
X_5:=OPEN>CLOSE AND CLOSE/REF(CLOSE,1)>1.015;
X_6:=X_4 OR X_5;{WWW.70822.com}
X_7:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(OPEN,1) AND VOL>=REF(VOL,1)/1.04 AND K<80 AND K>50 AND CROSS(K,D) AND X_6;
X_8:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(OPEN,1) AND VOL>=REF(VOL,1)/1.04 AND K<50 AND CROSS(K,D) AND X_6;
DRAWICON(X_7,D,17);
DRAWICON(X_8,D,26);
DRAWTEXT(X_7,D-0.38,2655),COLORYELLOW;
A:80,COLORRED,LINETHICK2;
B:20,COLORGREEN,LINETHICK2;
T:65,DOTLINE,COLORMAGENTA;
E:50,COLORYELLOW,LINETHICK2;