N:=6; MA5:=MA(CLOSE,5); MA10:=MA(CLOSE,10); MA20:=MA(CLOSE,20); MA30:= MA(CLOSE,40); MA60:=MA(CLOSE,60); MA120:= MA(CLOSE,120); VAR1:=ABS(MA5-MA20)/MA20*100<=N; VAR2:=ABS(MA5-MA30)/MA30*100<=N; VAR3:=MA5>REF(MA5,1); VAR4:=MA20>REF(MA20,1); VAR5:=MA30>REF(MA30,1); DTPL:=MA20>MA30 AND MA30>MA120; LYT:=DTPL AND VAR4 AND VAR5 AND COUNT(VAR3,4)<=1; GJHS:=C>MA5 AND ((VAR3 AND NOT(REF(VAR3,1))) OR C>REF(C,3)); {www.gupang.com 股旁網(wǎng)_通達(dá)信股票指標(biāo)公式} LYKK:=GJHS AND (VAR1 OR VAR2) AND LYT; MAI:=(LYKK AND NOT(REF(LYKK,1)))*50 ; VARC:=C=LLV(C,5)AND HHV(O,5)/C>=1.098 ; VARD:=(C=HHV(C,4))AND REF(VARC,1); YX:(MAI AND COUNT((MA10>MA20),5)=5) AND VARD;
|