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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信突破平台选股公式 过左锋 源码


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

以下是通达信突破平台选股公式 过左锋 源码

信号出现 结合MACD KDJ大胆买入


{过左锋主图1}
ZF:=(C-REF(C,10))/REF(C,10)*100;
A:=BARSLAST(H=HHV(H,10) AND ZF>=30);
ZFA:=(HHV(H,A+1)-L)/L*100;
B:=BARSLAST(L=LLV(L,A+1) AND ZFA>20 AND A>3 );
CC:=BARSLAST(H=HHV(H,B+1) AND A>5 AND H<REF(H,A));
ZFC:=(HHV(H,CC+1)-L)/L*100;
D:=BARSLAST(L=LLV(L,CC+1) AND ZFC>8 AND L>REF(L,B) AND CC>4);
GD:=REF(HHV(C,CC+1),D);
GL:=REF(H,A)/H*100;
XG:=CROSS(COUNT(C>GD,D+1)=1,0.5) AND A>B AND B>CC AND CC>D AND GL<105;
DRAWICON(XG,L*0.95,1);
STICKLINE(XG,C,O,0.5,0),COLORYELLOW;

{过左锋2未来函数画线主图}
ZF:=(C-REF(C,10))/REF(C,10)*100;
A:=BARSLAST(H=HHV(H,10) AND ZF>=30);
ZFA:=(HHV(H,A+1)-L)/L*100;
B:=BARSLAST(L=LLV(L,A+1) AND ZFA>20 AND A>3 );
CC:=BARSLAST(H=HHV(H,B+1) AND A>5 AND H<REF(H,A));
ZFC:=(HHV(H,CC+1)-L)/L*100;
D:=BARSLAST(L=LLV(L,CC+1) AND ZFC>8 AND L>REF(L,B) AND CC>4);
GD:=REF(HHV(C,CC+1),D);
GL:=REF(H,A)/H*100;
XG:=CROSS(COUNT(C>GD,D+1)=1,0.5) AND A>B AND B>CC AND CC>D AND GL<105;
Q1:=BARSLAST(CROSS(BACKSET(XG,A+1)=1,0.5));
Q2:=BARSLAST(CROSS(BACKSET(XG,B+1)=1,0.5));
Q3:=BARSLAST(CROSS(BACKSET(XG,CC+1)=1,0.5));
Q4:=BARSLAST(CROSS(BACKSET(XG,D+1)=1,0.5));
DRAWICON(XG,L*0.95,1);
STICKLINE(XG,C,O,0.5,0),COLORYELLOW;
DRAWLINE(Q1=0,H,Q2=0,L,0),COLORYELLOW;
DRAWLINE(Q1=0,H,Q3=0,H,1),COLORYELLOW;
DRAWLINE(Q2=0,L,Q3=0,H,0),COLORYELLOW;
DRAWLINE(Q3=0,H,Q4=0,L,0),COLORYELLOW;

{过左锋选股}
ZF:=(C-REF(C,10))/REF(C,10)*100;
A:=BARSLAST(H=HHV(H,10) AND ZF>=30);
ZFA:=(HHV(H,A+1)-L)/L*100;
B:=BARSLAST(L=LLV(L,A+1) AND ZFA>20 AND A>3 );
CC:=BARSLAST(H=HHV(H,B+1) AND A>5 AND H<REF(H,A));
ZFC:=(HHV(H,CC+1)-L)/L*100;
D:=BARSLAST(L=LLV(L,CC+1) AND ZFC>8 AND L>REF(L,B) AND CC>4);
GD:=REF(HHV(C,CC+1),D);
GL:=REF(H,A)/H*100;
XG:CROSS(COUNT(C>GD,D+1)=1,0.5) AND A>B AND B>CC AND CC>D AND GL<105;





回复

举报

QQ|

GMT+8, 2024-11-17 16:18

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