X_1:=IF(DATE<=1220101,1,0);
X_2:=IF(MONTH<12,1,100000);
X_3:=(2*CLOSE+HIGH+LOW)/4;
X_4:=LLV(LOW,34);
X_5:=HHV(HIGH,34);
X_6:=EMA((X_3-X_4)/(X_5-X_4)*100,13);
X_7:=EMA(0.667*REF(X_6,1)+0.333*X_6,2);
X_8:=EMA(X_6-X_7,0);
X_9:=REF(X_8,0)-REF(X_8,1);
X_10:=REF(X_9,0)-REF(X_9,1);
矢量值:X_8*X_1,COLORRED,LINETHICK2;
沸点线:4*X_1,COLORGREEN;
冰点线:(-3)*X_1,COLORRED;
STICKLINE(REF(X_8,1)>=REF(X_8,0) AND X_1,0,0.1,2,0),COLORGREEN;
STICKLINE(REF(X_8,1)<=REF(X_8,0) AND X_1,0,0.1,2,0),COLORRED;
DRAWICON(REF(CLOSE,0)>REF(CLOSE,1) AND REF(CLOSE,1)>REF(CLOSE,2) AND REF(CLOSE,2)>REF(CLOSE,3) AND REF(CLOSE,0)>REF(OPEN,0) AND REF(CLOSE,1)>REF(OPEN,1) AND REF(CLOSE,2)>REF(OPEN,2) AND CLOSE>MA(CLOSE,5) AND MA(CLOSE,11)<MA(CLOSE,5) AND X_8>0 AND X_1,4,11);
DRAWICON(REF(CLOSE,0)>REF(CLOSE,1) AND REF(CLOSE,1)>REF(CLOSE,2) AND REF(CLOSE,3)>REF(CLOSE,2) AND REF(CLOSE,0)>REF(OPEN,0) AND REF(CLOSE,1)>REF(OPEN,1) AND CLOSE>MA(CLOSE,5) AND MA(CLOSE,11)<MA(CLOSE,5) AND X_8>0 AND X_1,5,5);
STICKLINE(REF(CLOSE,0)<REF(CLOSE,1) AND REF(X_8,1)>REF(X_8,0) AND COUNT(X_8>4,3)>=1 AND X_8>1 AND X_1,(-3.2),(-3),2,0),COLORGREEN;
X_11:=EMA((-3)*(HHV(HIGH,30)-CLOSE)/(HHV(HIGH,30)-LLV(LOW,30))+2.7,9)*5;
X_12:=EMA(WINNER(CLOSE)*100,10)/50*5;
STICKLINE(X_11>4 AND X_1,4,4.1,4,0),COLORRED;
X_13:=REF(X_11,0)-REF(X_11,1);
X_14:=REF(X_12,0)-REF(X_12,1);
X_15:=CLOSE/REF(CLOSE,1)<1.03;
X_16:=CLOSE/REF(CLOSE,1)>1.03;
DRAWICON(X_11>4 AND X_11<9 AND X_16 AND REF(X_15,1) AND REF(X_8,1)<=(-2.5) AND REF(X_8,1)>(-7) AND REF(X_13,0)>REF(X_13,1) AND REF(X_14,0)>REF(X_14,1) AND REF(X_8,3)>REF(X_8,2) AND REF(X_8,2)>REF(X_8,1) AND REF(X_8,1)<REF(X_8,0) AND X_1,5,9);
X_17:=CLOSE/REF(CLOSE,1)>1.03;
DRAWICON(X_11>4 AND X_17 AND REF(X_15,1) AND REF(X_8,4)<0 AND REF(X_8,3)<0 AND REF(X_8,2)<0 AND REF(X_8,1)<0 AND REF(X_8,0)>0 AND crOSS(CLOSE,MA(CLOSE,10)) AND REF(X_8,0)>(-0.5) AND REF(X_10,0)>1.8 AND X_1,4,34);
DRAWICON(X_8>0 AND REF(X_8,1)<0 AND X_1,4,1);