通达信低吸买点及选股指标公式

n:=20;
DXD:=crOSS((EMA((L+H+C*2)/4,14)-REF(EMA((L+H+C*2)/4,14),1))/REF(EMA((L+H+C*2)/4,14),1)*100,0);{一级}
TS:=REF(BArslAST(DXD=1),1)+1;
RH:=REF(H,TS);
RL:=REF(L,TS);
EJHY:=(DXD>0 AND L<=RH AND H>=RH) OR (DXD>0 AND L>=RL AND H<=RH) OR (DXD>0 AND L<=RL AND H>=RL);{二级}
SJHY:=COUNT(DXD,N)=3 AND EJHY;{三级}
SJD:=IF(SJHY>0,3,IF(EJHY>0,2,IF(DXD>0,1,0)));
TS3:=BARSLAST(SJD=1)+1;
G:=BARSLAST(SJD=1)>BARSLAST(SJD=2) AND BARSLAST(SJD=2)>BARSLAST(SJD=3)AND COUNT(SJD=1,TS3)=1 AND COUNT(SJD=2,TS3)=1 AND COUNT(SJD=3,TS3)=1 AND SJD=3 AND TS3<=N;{三级}
F:=BARSLAST(G=1)-1+TS3<=N AND EJHY AND COUNT(DXD,BARSLAST(G=1)+1+TS3)=4;{四级}
STICKLINE(DXD>0,0,1,4,0),COLORWHITE;
STICKLINE(EJHY>0,0,2,4,0),COLORYELLOW;
STICKLINE(G,0,3,6,0),COLORRED;
STICKLINE(G,0,3,4,0),COLORYELLOW;
STICKLINE(G,0,3,2,0),COLORMAGENTA;
STICKLINE(F,0,4,8,0),COLORRED;
STICKLINE(F,0,3.8,6,0),COLORYELLOW;
STICKLINE(F,0,3.5,4,0),COLORMAGENTA;
STICKLINE(F,0,3.2,2,0),COLORBLUE;
低吸买点:IF(F>0,4,IF(G>0,3,IF(EJHY>0,2,IF(DXD>0,1,0)))),NODRAW;

{
选股公式:

m:=4;n:=20;
DXD:=CROSS((EMA((L+H+C*2)/4,14)-REF(EMA((L+H+C*2)/4,14),1))/REF(EMA((L+H+C*2)/4,14),1)*100,0);
TS:=REF(BARSLAST(DXD=1),1)+1;
RH:=REF(H,TS);
RL:=REF(L,TS);
EJHY:=(DXD>0 AND L<=RH AND H>=RH) OR (DXD>0 AND L>=RL AND H<=RH) OR (DXD>0 AND L<=RL AND H>=RL);
SJHY:=COUNT(DXD,N)=3 AND EJHY;
SJD:=IF(SJHY>0,3,IF(EJHY>0,2,IF(DXD>0,1,0)));
TS3:=BARSLAST(SJD=1)+1;
G:=BARSLAST(SJD=1)>BARSLAST(SJD=2) AND BARSLAST(SJD=2)>BARSLAST(SJD=3)AND COUNT(SJD=1,TS3)=1 AND COUNT(SJD=2,TS3)=1 AND COUNT(SJD=3,TS3)=1 AND SJD=3 AND TS3<=N;
F:=BARSLAST(G=1)-1+TS3<=N AND EJHY AND COUNT(DXD,BARSLAST(G=1)+1+TS3)=4;
低吸买点:IF(F>0,4,IF(G>0,3,IF(EJHY>0,2,IF(DXD>0,1,0))))=M;
}




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图