B7:=C-REF(C,1);
D8:=100*EMA(EMA(B7,6),6)/EMA(EMA(ABS(B7),6),6);
SHORT:=7;
LONG:=19;
RMQ:=EMA(CLOSE,SHORT);
NMQ:=EMA(CLOSE,LONG);
UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMQ,RMQ))+1),LLV(L,BARSLAST(CROSS(NMQ,RMQ))+1),H=HHV(H,BARSLAST(CROSS(RMQ,NMQ))+1),HHV(H,BARSLAST(CROSS(RMQ,NMQ))+1),0);
DWOW:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMQ,NMQ))+1),HHV(H,BARSLAST(CROSS(RMQ,NMQ))+1),L=LLV(L,BARSLAST(CROSS(NMQ,RMQ))+1),LLV(L,BARSLAST(CROSS(NMQ,RMQ))+1),0);
XG:=(LLV(D8,2)=LLV(D8,7) AND COUNT(D8<0,2) AND CROSS(D8,MA(D8,2))) AND REF(DWOW,1)<REF(DWOW,2) AND UP>REF(DWOW,1);
买A:IF(XG=1,1,0);
16019A212050-24P44.jpg
|