X_1:=EMA(EMA(CLOSE,13),13);
X_2:=(X_1-REF(X_1,1))/REF(X_1,1)*1000;
STICKLINE(X_2<0,X_2,0,1,1),COLORGREEN;
STICKLINE(X_2>REF(X_2,1) AND X_2<0,X_2,0,1,1),COLORMAGENTA;
X_3:=X_2<0;
STICKLINE(X_2>REF(X_2,1) AND X_2>0,X_2,0,1,1),COLORRED;
X_4:=X_2>REF(X_2,1) AND X_2>0;
X_5:=100*WINNER(CLOSE*0.95);
STICKLINE(X_2<REF(X_2,1) AND X_2>0,X_2,0,1,1),COLORCYAN;
X_6:=X_2<REF(X_2,1) AND X_2>0;
STICKLINE(X_5>50 AND COST(85)<CLOSE AND X_2>0,X_2,0,1,1),COLORYELLOW;
高度控盘:X_5>50 AND COST(85)<CLOSE AND X_2>0,COLORYELLOW,LINETHICK2;
X_7:=CROSS(X_2,0);{分析家公式网http://www.70822.com}
X_8:=FILTER(IF(X_7,1,0),5);
X_9:=DYNAINFO(11);
X_10:=55;
X_11:=8;
X_12:=3;
X_13:=(EMA(CLOSE,X_11)-EMA(CLOSE,X_10))*10;
X_14:=EMA(X_13,X_12);
DRAWBAND(X_13,RGB(255,0,0),X_14,RGB(0,100,50));
X_15:=(CLOSE-X_9)/X_9<(-0.005);
X_16:=(CLOSE-X_9)/X_9<(-0.03);
X_17:=LAST(X_9>=REF(X_9,1),5,1) AND (CLOSE-X_9)/X_9<0.005;
X_18:=(CLOSE-X_9)/X_9>0.005;
X_19:=X_2<REF(X_2,1) AND X_2>0.5;
X_20:=X_2>0;
X_21:=X_2>REF(X_2,1) AND X_2<(-0.2);
X_22:=X_2>REF(X_2,1) AND X_2<0;
X_23:=CROSS(X_13,X_14) AND X_13<(-0.3);
X_24:=CROSS(X_13,X_14) AND X_13<(-0.1);
X_25:=CROSS(X_14,X_13);
X_26:=CROSS(X_14,X_13) AND X_13>1.618;
X_27:=FILTER(X_15 AND X_21 AND X_23,13);
X_28:=FILTER(X_16 AND X_21 AND X_23,13);
X_29:=FILTER(X_17 AND X_22 AND X_24,13);
DRAWICON(X_29,X_14,23);
DRAWICON(X_27 AND TIME>10,X_14,27);
DRAWTEXT(X_27,X_14,13),COLORRED;
DRAWTEXT(X_28,X_14*1.2,18),COLORWHITE;
X_30:=FILTER(X_18 AND X_19 AND X_25,13);
DRAWICON(X_30,X_14,19);
X_31:=FILTER(X_20 AND X_26,13);
DRAWICON(X_31,X_14,15);
X_32:=X_30 AND X_31;
DRAWTEXT(X_32,X_14,19),COLORGREEN;