X_1:=STRCAT(HYBLOCK,3);
X_2:=STRCAT(X_1,DYBLOCK);
X_3:=STRCAT(X_2,3);
DRAWTEXT_FIX(ISLASTBAR,0,0.05,0,STRCAT(X_3,GNBLOCK)),COLORYELLOW;
X_4:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛线:(20*X_4+19*REF(X_4,1)+18*REF(X_4,2)+17*REF(X_4,3)+16*REF(X_4,4)+15*REF(X_4,5)+14*REF(X_4,6)+13*REF(X_4,7)+12*REF(X_4,8)+11*REF(X_4,9)+10*REF(X_4,10)+9*REF(X_4,11)+8*REF(X_4,12)+7*REF(X_4,13)+6*REF(X_4,14)+5*REF(X_4,15)+4*REF(X_4,16)+3*REF(X_4,17)+2*REF(X_4,18)+REF(X_4,20))/210,COLORRED;
X_5:=MA(牛线,6);
MAA5:MA(CLOSE,5);
X_6:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_7:=SMA(X_6,3,1);
X_8:=SMA(X_7,3,1);
X_9:=3*X_7-2*X_8;
X_10:=CLOSE-REF(CLOSE,1);
X_11:=100*EMA(EMA(X_10,6),6)/EMA(EMA(ABS(X_10),6),6);
X_12:=LLV(X_11,2)=LLV(X_11,7) AND COUNT(X_11 0,2) AND CROSS(X_11,MA(X_11,2));
DRAWTEXT(FILTER(X_12=1,5),LOW-0.05,19),COLORYELLOW;
STICKLINE(X_12,OPEN,CLOSE,2,0),COLORYELLOW;
X_13:=150;
X_14:=3;
X_15:=REF(HHV(HIGH,X_13),X_14);
X_16:=REF(LLV(LOW,X_13),X_14);
X_17:=X_15-(X_15-X_16)*0.191;
X_18:=X_15-(X_15-X_16)*0.382;
X_19:=X_15-(X_15-X_16)*0.5;
X_20:=X_15-(X_15-X_16)*0.618;
X_21:=X_15-(X_15-X_16)*0.809;
顶:REFDATE(X_15,DATE),COLORRED,LINETHICK2;
一0.809:REFDATE(X_17,DATE),DOTLINE,COLORYELLOW;
二0.618:REFDATE(X_18,DATE),DOTLINE,COLORMAGENTA;
三0.500:REFDATE(X_19,DATE),DOTLINE,COLORWHITE;
四0.382:REFDATE(X_20,DATE),DOTLINE,COLORGREEN;
五0.191:REFDATE(X_21,DATE),DOTLINE,COLORYELLOW;
低:REFDATE(X_16,DATE),COLORRED,LINETHICK2;