通达信一劳永逸选股公式 通达信选股公式
1、VAR1:=COst(10);
2、VAR2:=REF(CLOSE,7)/MA(REF(CLOSE,7),3)>=1.07 AND REF(CLOSE,7)=HHV(REF(CLOSE,7),3) AND MA(REF(vol,7),2)/MA(REF(VOL,7),40)>=3 AND MA(REF(VOL,7),2)=HHV(MA(REF(VOL,7),2),3) AND REF(VOL,7)>REF(REF(VOL,7),1) AND REF(CLOSE,7)>REF(REF(CLOSE,7),1);
3、VAR3:=REF(REF(CLOSE,7),1);
4、VAR4:=SMA(MAX(REF(CLOSE,7)-VAR3,0),5,1)/SMA(Abs(REF(CLOSE,7)-VAR3),5,1)*100;
5、VAR5:=COUNT(VAR4<20,20)>=1;
6、VAR6:=(INDEXC-LLV(INDEXL,89))/(HHV(INDEXH,89)-LLV(INDEXL,89))*100;
7、VAR7:=SMA(VAR6,8,1);
8、VAR8:=SMA(VAR7,10,1);
9、VAR9:=REF(INDEXC,1);
10、VARA:=SMA(MAX(INDEXC-VAR9,0),6,1)/SMA(ABS(INDEXC-VAR9),6,1)*100;
11、VARB:=VARA>=75 AND VARA<90 AND VAR7>VAR8 AND BArslAST(crOSS(VAR7,VAR8))<=21;
12、VAR2 AND VAR5 AND VARB;