Y1:50;
Y2:80;
Y3:20;
X_1:=9;
X_2:=3;
X_3:=3;
X_4:=(CLOSE-LLV(LOW,X_1))/(HHV(HIGH,X_1)-LLV(LOW,X_1))*100;
X_5:=SMA(X_4,X_2,1);
X_6:=SMA(X_5,X_3,1);
X_7:=3*X_5-2*X_6;
X_8:=6;
X_9:=5;
X_10:=EMA(vol,13);
X_11:=EMA(AMOUNT,13);
X_12:=X_11/X_10/100;
X_13:=(CLOSE-X_12)/X_12*100;
X_14:=X_13<0-18;
X_15:=X_13<0-14;
X_16:=X_13<0-10;
X_17:=X_13<0-6;
STICKLINE(X_13<0-18,60,80,3,0),COLORRED;
STICKLINE(X_13<0-14,40,60,3,0),COLORBLUE;
STICKLINE(X_13<0-10,20,40,3,0),COLORYELLOW;
STICKLINE(X_13<0-6,0,20,3,0),COLORWHITE;
高抛:80,POINTDOT,COLORRED;
低吸:20,POINTDOT,COLORGREEN;
X_18:=LLV(LOW,X_8);
X_19:=HHV(HIGH,X_8);
X_20:=EMA((CLOSE-X_18)/(X_19-X_18)*100,X_9);
X_21:=EMA(0.667*REF(X_20,1)+0.333*X_20,2);
红线上穿买:EMA((CLOSE-X_18)/(X_19-X_18)*100,X_9),COLORRED;
蓝线下穿卖:EMA(0.667*REF(X_20,1)+0.333*X_20,2),COLORBLUE;
X_22:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
X_23:=IF(CLOSE>OPEN,X_22*(HIGH-LOW),IF(CLOSE
STICKLINE(CLOSE>=OPEN,0,X_24*3,2.4,0),COLOR880088;
STICKLINE(CLOSE>=OPEN,0,X_24*3,1.6,0),COLORAA00AA;
STICKLINE(CLOSE>=OPEN,0,X_24*3,0.8,0),COLORCC00CC;
STICKLINE(CLOSE>=OPEN,0,X_24*3,0,0),COLORMAGENTA;
STICKLINE(CLOSE<=OPEN,0,X_24*3,2.4,0),COLOREC0000;
STICKLINE(CLOSE<=OPEN,0,X_24*3,1.6,0),COLORFF4600;
STICKLINE(CLOSE<=OPEN,0,X_24*3,0.8,0),COLORFF6300;
STICKLINE(CLOSE<=OPEN,0,X_24*3,0,0),COLORFF8B00;
STICKLINE(crOSS(0.9,1/VOL*1000>0.01 AND X_7<0),X_24<0,(-3),1.2,0),COLORRED,LINETHICK9;
倍量:X_24/REF(X_24,1)>=1.91 AND COUNT(CLOSE>OPEN,1) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND X_24/REF(X_24,1)>=1.91),NODRAW,COLORYELLOW;
STICKLINE(倍量,0,X_24*3,0.0001,0),COLORYELLOW;
X_25:=LLV(LOW,21);
X_26:=HHV(HIGH,21);
DRAWICON(X_20>X_21 AND 倍量 AND X_21<65,X_21,13);
DRAWTEXT(X_20>X_21 AND 倍量 AND X_21<65,X_24<0,'爆发'),COLORRED;
DRAWTEXT(X_21>85 AND 倍量,X_20,77),COLORBLUE;
DRAWICON(X_21>85 AND 倍量,X_20,2);
DRAWTEXT(CROSS(0.9,1/VOL*1000>0.01 AND X_7<0) AND X_20>X_21,X_24<0,78),COLORMAGENTA;
DRAWICON(CROSS(0.9,1/VOL*1000>0.01 AND X_7<0) AND X_20>X_21,X_21,1);