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));
{ _通达信股票指标公式}
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;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)