X_1:=(MA(AMOUNT,5)/MA(vol,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AMOUNT,5)/MA(VOL,5)/100);
X_2:=MA((LLV(LOW,28)-CLOSE)/(HHV(HIGH,28)-LLV(LOW,28))*100,5);
X_3:=IF(NAMELIKE(1),0,1) AND IF(NAMELIKE(2),0,1);
X_4:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30);
X_5:=X_4*100;
X_6:=X_1*100;
X_7:=X_2;
X_8:=Abs(X_6)-ABS(X_5)>25;
DD:crOSS((-10),X_7) AND X_3 AND X_6<(-35) AND X_5<0;
DD*80,STICK,COLORRED,LINETHICK4;
DD*50,STICK,COLORYELLOW,LINETHICK4;
DD*25,STICK,COLORGREEN,LINETHICK4;
DRAWTEXT(DD,70,'關注'),COLORGREEN;
X_9:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
BK:SMA(X_9,7,1),COLORRED;
ZVAR2:SMA(BK,5,1),COLORGREEN;
TT:(CROSS(BK,ZVAR2) AND BK<20 AND COUNT(DD,30)>=1)*60,COLORGREEN;
DRAWTEXT(TT=60,40,'買!'),COLORGREEN;