资源描述:
《通达信精准选股公式.doc》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、通达信精准选股公式: 条件选股公式源码:年认同价:=MA(C,240);价格中枢:=(SUM(年认同价,0)/(BARSSINCE(年认同价>0)+239));箱顶:=价格中枢1.2;箱底:=价格中枢0.8;毛利润率:=FINANCE(21)/FINANCE(20);成长价值:=年认同价(1+毛利润率);收益价值:=年认同价+FINANCE(33);回调认同:=EMA(EXPMA(C,20),13);多头:=(回调认同>REF(回调认同,1))AND(成长价值>REF(成长价值,1))AND(收益价值>REF(收益价值,1))AND(DYNAINFO(7)>0);回调条件:=COUNT
2、(C<回调认同,5)>=3;回调突破:=(REF(C,1)<=REF(回调认同,1))AND(C>回调认同)AND(回调条件)AND多头;成长条件:=COUNT(C<成长价值,5)>=3;成长突破:=(REF(C,1)<=REF(成长价值,1))AND(C>成长价值)AND(成长条件)AND多头;收益条件:=COUNT(C<收益价值,5)>=3;收益突破:=(REF(C,1)<=REF(收益价值,1))AND(C>收益价值)AND(收益条件)AND多头;箱底条件:=COUNT(C<箱底,5)>=3;箱底突破:=(REF(C,1)<=REF(箱底,1))AND(C>箱底)AND(箱底条件
3、)AND多头;价格条件:=COUNT(C<价格中枢,5)>=3;价格突破:=(REF(C,1)<=REF(价格中枢,1))AND(C>价格中枢)AND(价格条件)AND多头;箱顶条件:=COUNT(C<箱顶,5)>=3;箱顶突破:=(REF(C,1)<=REF(箱顶,1))AND(C>箱顶)AND(箱顶条件)AND多头;突破买点:(回调突破+成长突破+收益突破+箱底突破+价格突破+箱顶突破);专买老鼠仓{老鼠仓}AA1:=AMOUNT/V;BB1:=L1.2;DD1:=L4、1.2;DD1:=L5、0.921;EE1:=V=REF(C,2)ORREF(C,2)=LLV(C,4)ANDREF(C,1)<=REF(C,3)ANDREF(C,2)[=REF(C,1);VAR4:=VAR1>REF(VAR1,1)ANDREF(VAR1,1)]6、5:=LOWHHV(VAR1,13)ANDCLOSE>REF(C,1)ANDCLOSE>OPEN;VAR6:=VAR5ANDCOUNT(VAR4,2);VAR7:=VAR6ANDNOT(REF(VAR6,1));VAR8:=100EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);VAR9:=EMA(MA(C,13),13);VAR10:=FILTER((LLV(VAR8,2)=LLV(VAR8,7)ANDCOUNT(VAR8<0,2)ANDCROSS(VAR8,MA(VAR8,2)))
7、=1,5);VAR11:=SMA(EMA((C-REF(C,1))/REF(C,1),5)100,3,1)10;VAR12:=FILTER(((CROSS(VAR11,0)ORCROSS(C,VAR9))ANDVAR10)=1,3);VAR13:=MA(C,18)>=REF(MA(C,18),3)ANDCROSS(C,MA(C,18));RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))100;K: