大浪淘沙选股改写成通达信选股公式
2019/12/15 18:41:34
公式编写说明:
ZF:=(C-REF(C,1))/REF(C,1)*100;YXG:=IF(TROUGHBARS(3,6,1)=0 and HIGH>LOW+0.1,2,0) AND (indexc-ma(indexc,70))/MA(indexc,70)<1;动向流:=(MA(CLOSE,3)-REF(MA(CLOSE,3),2))/REF(MA(CLOSE,3),2);DXL:=MA(动向流,3);XG:ANY(YXG,1) and 动向流>=DXL and ref(动向流,1)0and SUM(ZF>6,16)>=2 AND BARSLAST(ZF>6)>1 ;
公式源码示例:
ZF:=(C-REF(C,1))/REF(C,1)*100;
YXG:=IF(TROUGHBARS(3,6,1)=0 AND HIGH>LOW+0.1,2,0) AND (INDEXC-MA(INDEXC,70))/MA(INDEXC,70)<1;
动向流:=(MA(CLOSE,3)-REF(MA(CLOSE,3),2))/REF(MA(CLOSE,3),2);
DXL:=MA(动向流,3);
XG:EXIST(YXG,1) AND 动向流>=DXL AND REF(动向流,1)<REF(DXL,3)
AND REF(动向流,1)<REF(动向流,6)
AND NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('SST') OR NAMELIKE('S*ST')) AND DYNAINFO(4)!=0
AND SUM(ZF>6,16)>=2 AND BARSLAST(ZF>6)>1 ;
看股 吧公式 www.kan guba.com
其它股票公式列表