rrggg5:=FILTER(REF(rrggg2,1) AND (rrggg3 OR C REF(C,1)) AND MACD -0.58,10);
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VARB2:=RSV1/2+22;
rrggg6:=(RSV1+2) VARB2;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
SHYY:=rrggg6 AND COUNT(rrggg5,10) =1 AND CCI1 -108;
XG:BARSLASTCOUNT(SHYY)=1;