X_1:=1;
X_2:=MA(CLOSE,89);
X_3:=MA(CLOSE,144);
X_4:=MA(CLOSE,233);
X_5:=MA(CLOSE,377);
X_6:=MAX(MAX(MAX(X_2,X_3),X_4),X_5);
X_7:=MIN(MIN(MIN(X_2,X_3),X_4),X_5);
X_8:=(X_6/X_7-1)*100;{WWW.ttchagu.com}
X_9:=X_8<15;CHAGULA:SMA(MAX(CLOSE-C,0),7,1)/SMA(ABS(CLOSE-C),7,1)*100,NODRAW;
X_10:=(CLOSE-REF(CLOSE,1))*100/REF(CLOSE,1)>=5;
X_11:=BARSLAST(REF(X_10,1))<21 AND BARSLAST(REF(X_10,1))>5;
X_12:=VOL>=REF(VOL,1)*1.9;
X_13:=HHV(HIGH,21)/LLV(LOW,21)-1<0.2;
X_14:=HHV(HIGH,5)/LLV(LOW,5)-1<0.15;
X_15:=FORCAST(EMA(CLOSE,16),7);
X_16:=FORCAST(EMA(CLOSE,55),7);
X_17:=ABS(LOW-X_15)/MIN(LOW,X_15)<0.03;
X_18:=ABS(LOW-X_16)/MIN(LOW,X_16)<0.1;
X:(X_10 AND X_11 AND X_12 AND X_13 AND X_9 AND X_14 AND X_17 AND X_18 AND CLOSE>MA(CLOSE,144) AND CLOSE>MA(CLOSE,233) AND CLOSE>MA(CLOSE,89) AND CLOSE>MA(CLOSE,377))*X_1;