股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信低吹买点公式 春秋分享


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2023-10-9 14:48:32

以下是通达信低吹买点公式 春秋分享

通达信低吹买点公式 春秋分享

<<低吸买点>>幅图:


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);
DRAWTEXT_FIX(V<>0,0.12,0.05,2,'春秋分享,欢迎使用')COLORRED;
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|

GMT+8, 2024-11-19 11:23

快速回复 返回顶部 返回列表