N1:=3;
N2:=9;
N:=3;
M:=9;
LC:=REF(CLOSE,1);
rsi1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(Abs(CLOSE-LC),N1,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
A:=crOSS(RSI1,RSI2);
dpo:=CLOSE-REF(MA(CLOSE,N),N/2+1);
MADPO:=MA(DPO,M);
B:=CROSS(DPO,MADPO);
volUME:=MA(VOL,N)/VOL;
MID:=100*(HIGH+LOW-REF(HIGH+LOW,1))/(HIGH+LOW);
emv:=MA(MID*VOLUME*(HIGH-LOW)/MA(HIGH-LOW,8),8);
MAEMV:=MA(EMV,4);
D:=CROSS(EMV,MAEMV);
A+B+D=3;