X_1:=12;
X_2:=26;
X_3:=9;
X_4:=MA(CLOSE,5);
X_5:=MA(CLOSE,10);
X_6:=MA(CLOSE,20);
X_7:=EMA(CLOSE,X_1)-EMA(CLOSE,X_2);
X_8:=EMA(X_7,X_3);
X_9:=(X_7-X_8)*2;
X_10:=MA(CLOSE,60);
X_11:=MA(CLOSE,120);
X_12:=CLOSE-REF(CLOSE,15);
X_13:=X_12/REF(CLOSE,15);
X_14:=CLOSE-REF(CLOSE,40);
X_15:=X_14/REF(CLOSE,40);
恭喜发财:=REF(CLOSE,1)<REF(X_4,1) AND X_4>X_5 AND X_5>X_6 AND OPEN<X_4 AND CLOSE>X_4 AND X_7>0.5 AND X_7>X_8 AND X_13>0.3 AND X_15<1.2;
STICKLINE(恭喜发财,0,50,2,0),COLORRED;
DRAWICON(恭喜发财>0,50,1);