X_1:=CLOSE>REF(CLOSE,1)*1.094 AND CLOSE=HIGH;
X_2:=LLVBARS(LOW,60);
X_3:=BARSLAST(CURRBARSCOUNT=CONST(X_2)+1);
X_4:=FINDHIGHBARS(HIGH,X_2+1,60,1);
X_5:=DRAWLINE(CURRBARSCOUNT=CONST(X_4)+1,HIGH,ISLASTBAR,REF(HIGH,X_4),0);
X_6:=BARSLAST(CURRBARSCOUNT=CONST(X_4)+1);
X_7:=DRAWLINE(X_3=0,(X_5-LOW)*0.618+LOW,ISLASTBAR,REF((X_5-LOW)*0.618+LOW,X_3),0);
X_8:=IF(CLOSE>OPEN OR (CLOSE=OPEN AND CLOSE>=REF(CLOSE,1)),VOL,0);
X_9:=IF(CLOSE<OPEN OR (CLOSE=OPEN AND CLOSE<REF(CLOSE,1)),VOL,0);
X_10:=SUM(X_8,X_3)/SUM(X_9,X_3);
X_11:=COUNT(CROSS(CLOSE>=X_5,0.5),X_3+1)=1 AND CROSS(CLOSE>=X_5,0.5) AND X_10>1.5;
X_12:=X_1 AND EXIST(CROSS(CLOSE,REF(HIGH,X_6)),3) AND CLOSE>REF(HIGH,X_6);
X_12 AND REF(X_12,1)=0 AND CLOSE>EMA(COST(85/1.2),10);