精品主升浪选股指标 (源码)
2012-04-28 09:14:00来源:本站整理浏览:3244
通达信精品主升浪选股指标公式股票软件源码如下:
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.gpxiazai.com 股票软件下载网_通达信股票指标公式}
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;
- 上一篇公式:双阴线选股指标 (源码)
- 下一篇公式:峰谷撑压主图指标 (源码)