DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
DAY5:=MA(C,5);
DAY10:=MA(C,10);
VOL5:=MA(V,5);
VOL10:=MA(V,10);
VAR1:=CROSS(DIF,DEA) OR CROSS(REF(DIF,1),REF(DEA,1));
VAR2:=CROSS(DAY5,DAY10) OR CROSS((C-REF(C,5))/5+DAY5,(C-REF(C,10))/10+DAY10);
VAR3:=CROSS(VOL5,VOL10) OR CROSS(REF(VOL5,1),REF(VOL10,1));
XG:VAR1 AND VAR2 AND VAR3;
202108202250.jpg
|