A7:=C-REF(C,1); A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6); 买进LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2))),COLORRED; DRAWTEXT(买进,0.5,'↖买进'),COLORYELLOW;
AA:=REF(CLOSE>OPEN,1); LL:=CLOSE<OPEN; HH:=CLOSE/REF(CLOSE,1)>1; DD:=AA AND LL AND HH; BB:=REF(CLOSE<OPEN,1); EE:=CLOSE<OPEN; TT:=CLOSE/REF(OPEN,1)>1; GG:=AA AND LL AND HH; YY:=DD OR GG; ZTO:EXIST(YY,N);