MA5:=MA(C,5);
MA10:=MA(C,10);
MA30:=MA(C,30);
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
AK1:=EMA((((CLOSE-VAR1)/(VAR2-VAR1))*100),5);
AK:=EMA((((CLOSE-VAR1)/(VAR2-VAR1))*50),13);
AB:=crOSS(AK1,AK);
YY:=AB=1;
AA1:=AMOUNT/V;
BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=V<MA(V,5)*1.5;
FA:=BArslAST(CROSS(MA10,MA5)) AND CROSS(MA5,MA10);
XG:FA AND MA5>MA30 AND MA10>MA30 AND MA10>REF(MA10,1),COLORRED;