MA5:=MA(C,5);
MA10:=MA(C,10);
V1:=MA(V,5);
V2:=MA(V,10);
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEAD:=EMA(DIFF,9);
RSVD:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
kd:=SMA(RSVD,3,1);
DDD:=SMA(KD,3,1);
TYP:=(HIGH+LOW+CLOSE)/3;
cci:=(TYP-MA(TYP,14))*1000/(15*AVEDEV(TYP,14));
CCIMA:=MA(CCI,10);
V11:=SUM(IF(TYP>REF(TYP,1),TYP*vol,0),14)/SUM(IF(TYP<REF(TYP,1),TYP*VOL,0),14);
MFI:=100-(100/(1+V11));
MAMFI:=MA(MFI,10);
DD:=((V1>V2)+(DIFF>DEAD)+(KD>DDD)+(MA5>MA10)+(CCI>CCIMA)+(MFI>MAMFI));
红箭头:crOSS(DD,2);