M2:=EMA(C,2);
M18:=EMA(C,18);
买:=IF(crOSS(M18,M2),5,0* 10000);
RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
VARB2:=(RSVV/2+22)*1;
Q:=EMA(vol,13);
Y:=EMA(AMOUNT,13);
S:=((Y /Q) / 100);
X:=(((CLOSE -S) / S) * 100);
F:=((X < (0)));
XQ:=F AND RSVV