EMA1:=EMA(C,13);
EMA2:=EMA(C,34);
EMA3:=EMA(C,55);
AR1:=EMA3>EMA2 AND EMA2>EMA1;
AR2:=BARSLAST((C-EMA1)/EMA1*100<-6);
AR3:=EMA1>=REF(EMA1,2);
AR4:=COUNT(CROSS(C,EMA1),AR2)=1;
AR5:=AR1 AND AR2 AND AR3 AND AR4;
红星叫我去战斗:IF(AR5 AND AR5,10,0),COLORRED;
DRAWTEXT(红星叫我去战斗>0,10,'★'), COLORRED;
202108211212.jpg
|