N:=-10;
M:=-35;
DAY1:=3;
DAY2:=175;
SS:=0;
X_1:=(MA(AMOUNT,DAY1)/MA(VOL,DAY1)/100-MA(AMOUNT,DAY2)/MA(VOL,DAY2)/100)/(MA(AMOUNT,DAY1)/MA(VOL,DAY1)/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;
X_9:=CROSS(N,X_7) AND X_3 AND X_6<M AND X_5<SS;
X_9*80,STICK,COLORRED,LINETHICK4;
X_9*50,STICK,COLORYELLOW,LINETHICK4;
X_9*25,STICK,COLORGREEN,LINETHICK4;
DRAWTEXT(X_9,70,3),COLORGREEN;
X_10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
BK:SMA(X_10,7,1),COLORRED;
ZVAR2:SMA(BK,5,1),COLORGREEN;
TT:(CROSS(BK,ZVAR2) AND BK<20 AND COUNT(X_9,30)>=1)*60,COLORGREEN;
DRAWTEXT(TT=60,40,4),COLORGREEN;
DRAWNUMBER(X_9,80,X_7),COLORGREEN;