A1:=EMA((C - REF(C,1)) / REF(C,3),10) * 100;
A2:=EMA(EMA(EMA(EMA(A1,2),2),2),3);
A3:=(C - MA(C,26)) / MA(C,26) * 100;
A4:=1;
A5:=IF(MA((C - MA(C,28)) / MA(C,28),3) * 100 > 0 AND MA(C,5) > MA(C,10) AND A3 > EMA(MA((C - MA(C,28)) / MA(C,28),3) * 100,5) AND A2 > REF(A2,1),MA((C - MA(C,28)) / MA(C,28),3) * 100,0) * A4;
买:V > 0 AND BArslASTCOUNT(A5>0)=1 AND A2 > REF(A2,1);