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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信小反转主图副图选股预警源码贴图


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

以下是通达信小反转主图副图选股预警源码贴图

{主图}

M5:MA(C,5);
M10:MA(C,10);
M20:MA(C,20);
G1:=HHVBARS(H,30);
D1:=BARSLAST(L=LLV(L,G1+1));
H1:=REF(C,G1+1);
L1:=REF(C,D1);
ZF:=(L1-H1)/H1*100;
LZF:=REF(ZF,D1);
TJ:=LZF<-10 AND G1>20 AND D1<G1;
GL:=(C-H1)/H1*100;
QD:=C/REF(C,1)>1.03 AND VOL>=REF(VOL,1)*1.8 AND VOL/REF(VOL,1)<3;
ZF3:=(C-REF(C,3))/REF(C,3)*100<15;
A:=SUM(HSL,G1)/G1>2.5;
A1:=CCI.CCI(77)>REF(CCI.CCI(77),1);
A2:=(C-REF(C,D1+1))/REF(C,D1+1)*100;
A4:=MACD.DIF=HHV(MACD.DIF,D1+1);
A5:=IF(O>=REF(MAX(C,O),1),V*0.8<REF(V,1) AND HSL<16 AND VOL/REF(VOL,1)<3.5,V>0);
A3:=EVERY(BARSLASTCOUNT(C>O OR (C=O AND C>=REF(C,1)))<6,D1);
XG:=TJ AND QD AND ZF<GL AND ZF3 AND A AND A1 AND A2<15 AND A3 AND A5 AND A4;
DRAWICON(XG,L*0.95,1);
STICKLINE(XG,C,O,2,0),COLORYELLOW;
STICKLINE(XG,H,L,0,0),COLORYELLOW;


{选股 幅图}
G1:=HHVBARS(H,30);
D1:=BARSLAST(L=LLV(L,G1+1));
H1:=REF(C,G1+1);
L1:=REF(C,D1);
ZF:=(L1-H1)/H1*100;
LZF:=REF(ZF,D1);
TJ:=LZF<-10 AND G1>20 AND D1<G1;
GL:=(C-H1)/H1*100;
QD:=C/REF(C,1)>1.03 AND VOL>=REF(VOL,1)*1.8 AND VOL/REF(VOL,1)<3;
ZF3:=(C-REF(C,3))/REF(C,3)*100<15;
A:=SUM(HSL,G1)/G1>2.5;
A1:=CCI.CCI(77)>REF(CCI.CCI(77),1);
A2:=(C-REF(C,D1+1))/REF(C,D1+1)*100;
A4:=MACD.DIF=HHV(MACD.DIF,D1+1);
A5:=IF(O>=REF(MAX(C,O),1),V*0.8<REF(V,1) AND HSL<16 AND VOL/REF(VOL,1)<3.5,V>0);
A3:=EVERY(BARSLASTCOUNT(C>O OR (C=O AND C>=REF(C,1)))<6,D1);
XG:TJ AND QD AND ZF<GL AND ZF3 AND A AND A1 AND A2<15 AND A3 AND A5 AND A4;





回复

举报

QQ|

GMT+8, 2024-11-27 14:39

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