X_1:=EMA(SLOPE(CLOSE,4)*20+CLOSE,42);
X_2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_3:=SMA(X_2,3,1);
X_4:=SMA(X_3,3,1);
X_5:=3*X_3-2*X_4;
X_6:=100*((EMA((HIGH+LOW)/2,3)-LLV(EMA((HIGH+LOW)/2,5),30)-(EMA(HIGH,20)-EMA(LOW,20)))/(LLV(EMA((HIGH+LOW)/2,5),30)-(EMA(HIGH,20)-EMA(LOW,20))));
X_7:=IF(EMA(CLOSE,2) X_1 AND X_6 0,EMA(CLOSE,3),LLV(EMA((HIGH+LOW)/2,5),30));
X_8:=IF(EMA(CLOSE,2) X_1 AND X_6 0,LLV(EMA((HIGH+LOW)/2,5),30),EMA(CLOSE,5));
回归斜率带:DRAWBAND(X_1,RGB(235,0,230),REF(X_1,2),RGB(0,104,154));
X_9:=SMA(CLOSE,6.5,1);
一号支撑线:SMA(CLOSE,14.5,1);
X_10:=SMA(CLOSE,3,1);
X_11:=SMA(CLOSE,8,1);
X_12:=SMA(CLOSE,3.5,1);
DRAWTEXT(CROSS(X_11,X_10),HIGH*1.08,380),COLORGREEN;
X_13:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,25))/4;
X_14:=X_13+3*STD(X_13,13);
X_15:=X_13-3*STD(X_13,13);
X_16:=MA(CLOSE,55);
X_17:=REF(CLOSE,1);
X_18:=SMA(MAX(CLOSE-X_17,0),6,1)/SMA(ABS(CLOSE-X_17),6,1)*100;
DRAWTEXT(CROSS(82,X_18) AND CLOSE X_10,HIGH*1.04,381),COLORFF9966,LINETHICK2;
X_19:=(2*CLOSE+HIGH+LOW)/4;
操作:MA(X_19,5),COLORBLUE,LINETHICK2;
X_20:=MA(X_19,5)*1.03;
X_21:=MA(X_19,5)*0.97;
DRAWTEXT(CROSS(X_10,X_9) AND X_10 操作,LOW*0.92,382),COLORYELLOW;
VAR1:LLV(X_19,21);
VAR2:HHV(X_19,30);
DRAWTEXT(CROSS(X_10,操作) AND X_10 一号支撑线 AND X_10 X_11 AND X_10 X_9 AND CLOSE VAR1,LOW*0.98,383),COLORYELLOW;
X_22:=操作 =REF(操作,1);
X_23:=MAX(MAX(X_9,X_11),一号支撑线);
X_24:=MIN(MIN(X_9,X_11),一号支撑线);
DRAWTEXT(CROSS(X_10,X_11) AND X_10 操作,LOW*0.98,384),COLORYELLOW;
X_25:=EMA((X_19-VAR1)/(VAR2-VAR1)*100,7);
X_26:=EMA(0.667*REF(X_25,1)+0.333*X_25,5);
X_27:=1000*操作/一号支撑线 =1015 AND 1000*操作/一号支撑线 =975;
X_28:=1000*X_11/一号支撑线 =1020 AND X_11/一号支撑线 =980;
X_29:=1000*X_9/一号支撑线 =1015 AND X_9/一号支撑线 =985;
DRAWTEXT(IF(COUNT(CLOSE REF(CLOSE,1),13)/13 6/10 AND COUNT(X_25 X_26,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE =OPEN,4) AND REF(CLOSE OPEN,3) AND REF(CLOSE OPEN,2) AND REF(OPEN CLOSE,1) AND OPEN REF(CLOSE,1),1,0),LOW*0.94,382),COLORYELLOW;
X_30:=MA(CLOSE,89)-MA(CLOSE,10)/3;
DRAWTEXT(IF(CLOSE X_30 AND VOL/240 MA(VOL,5)/240 AND CLOSE REF(CLOSE,1)*1.08 AND CLOSE MA(CLOSE,13)*1.3,1,0),LOW*0.88,117),COLORBROWN;
X_31:=(CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100;
X_32:=SMA(X_31,3,1);
X_33:=SMA(X_32,3,1);
X_34:=3*X_32-2*X_33;
X_35:=(2*CLOSE+HIGH+LOW)/3;
X_36:=EMA(EMA(EMA(X_35,4),4),4);
X_37:=(X_36-REF(X_36,1))/REF(X_36,1)*100;
X_38:=MA(X_37,3)+0.03;
X_39:=MA(X_37,1);
DRAWICON(CROSS(X_38,X_39) AND X_34 65,HIGH*1.02,15),COLORGREEN;
DRAWICON(CROSS(X_39,X_38),LOW*0.9,9),COLORYELLOW;
DRAWTEXT(CLOSE OPEN AND X_23 CLOSE AND OPEN X_24 AND X_22 AND CROSS(X_10,操作) AND LOW VAR1 AND X_10 一号支撑线 AND X_34 90,LOW*0.9,28),COLORRED;
DRAWTEXT(CROSS(X_10,操作) AND X_27 AND X_28 AND X_29,LOW*0.94,382),COLORYELLOW;
DRAWTEXT(CLOSE OPEN AND X_9 X_11 AND X_11 一号支撑线 AND CLOSE MA(CLOSE,一号支撑线) AND 操作 =REF(CLOSE,操作) AND CROSS(X_10,操作) AND LOW VAR1 AND X_34 90,LOW*0.9,28),COLORRED;
DRAWTEXT(CLOSE OPEN AND 操作 X_9 AND X_9 X_11 AND X_11 一号支撑线 AND CROSS(X_10,操作) AND LOW VAR1 AND X_34 90,LOW*0.86,385),COLORRED;
DRAWTEXT(CLOSE OPEN AND CROSS(X_9,一号支撑线) AND LOW VAR1 AND X_34 90,LOW*0.86,385),COLORRED;
STICKLINE(CLOSE REF(CLOSE,1),HIGH,LOW,0,0),COLORRED;
STICKLINE(CLOSE OPEN AND CLOSE REF(CLOSE,1),CLOSE,OPEN,3,0),COLORFFCC00;
STICKLINE(CLOSE REF(CLOSE,1) AND CLOSE OPEN,OPEN,CLOSE,3,0),COLOR000055;
STICKLINE(CLOSE REF(CLOSE,1) AND CLOSE OPEN,OPEN,CLOSE,2.7,0),COLOR000077;
STICKLINE(CLOSE REF(CLOSE,1) AND CLOSE OPEN,OPEN,CLOSE,2.1,0),COLOR000099;
STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,1.5,0),COLOR0000BB;
STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,0.9,0),COLOR0000DD;
STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,0.3,0),COLORRED;
STICKLINE(CLOSE=REF(CLOSE,1),HIGH,LOW,3,1),COLOR999999;
STICKLINE(CLOSE=REF(CLOSE,1),HIGH,LOW,0,0),COLORWHITE;
STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,3,0),COLOR555555;
STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,2.7,0),COLOR777777;
STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,2.1,0),COLOR999999;
STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,1.5,0),COLORBBBBBB;
STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,0.9,0),COLORDDDDDD;
STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,0.3,0),COLORWHITE;
STICKLINE(CLOSE REF(CLOSE,1),HIGH,LOW,0,1),COLORCYAN;
STICKLINE(CLOSE REF(CLOSE,1) AND CLOSE OPEN,CLOSE,OPEN,3,0),COLORFFCC00;
STICKLINE(CLOSE REF(CLOSE,1) AND CLOSE OPEN,OPEN,CLOSE,3,0),COLOR990000;
STICKLINE(CLOSE REF(CLOSE,1) AND CLOSE OPEN,OPEN,CLOSE,2.7,0),COLORCC0000;
STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,2.1,0),COLORFF4400;
STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,1.5,0),COLORFF8800;
STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,0.9,0),COLORFFCC00;
STICKLINE(CROSS(X_34,X_33) AND X_34 70,CLOSE,OPEN,3.2,0),COLORBB00FF;
STICKLINE(CROSS(X_34,X_33) AND X_34 70,CLOSE,OPEN,2.7,0),COLORFF33FF;
STICKLINE(CROSS(X_34,X_33) AND X_34 70,CLOSE,OPEN,2.1,0),COLORFF66FF;
STICKLINE(CROSS(X_34,X_33) AND X_34 70,CLOSE,OPEN,1.5,0),COLORFF99FF;
STICKLINE(CROSS(X_34,X_33) AND X_34 70,CLOSE,OPEN,0.9,0),COLORFFBBFF;
STICKLINE(CROSS(X_34,X_33) AND X_34 70,CLOSE,OPEN,0.3,0),COLORFFDDFF;