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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信阴阳合抱指标公式源码


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

TP:=C*CAPITAL*100/100000000<=85;
H7:=REF(HHV(H,32),1);
H8:=LLV(L,3);
BZ:=(H7-H8)/H8*100>25;
H5:=REF(HHV(H,120),11);
H6:=LLV(L,10);
AA:=(H5-H6)/H6*100>60 AND BZ;
VV:=(C-REF(C,1))/REF(C,1)*100<=-9.91;
AB:=COUNT(EVERY(VV,3),45)>=1;
DD:=AA OR AB;
BB:=(REF(HHV(H,4),2)-REF(LLV(L,4),2))/REF(LLV(L,4),2)<0.16;
PB:=(REF(C,1)-REF(C,2))/REF(C,2)*100<=-5.5 AND C>=O;
CC:=LLV(L,3)<REF(LLV(L,65),4) OR L<REF(LLV(L,65),1);
WM:=(C-REF(C,1))/REF(C,1)*100>5.85 AND REF(C,1)<REF(O,1);
VVW:=(C-REF(C,1))/REF(C,1)*100<=-0.1;
ABW:=COUNT(EVERY(VVW,3),15)>=1;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K1:=SMA(RSV,3,1);
K:=K1<25;
D1:=SMA(K1,3,1);
D:=D1<24;
J1:=3*K1-2*D1;
J:=J1<22;
kdj1:=K AND D AND J;
kdJ2:=COUNT(EVERY(KDJ1,1),12)>=1;
LC:=REF(CLOSE,1);
rsi1:=SMA(MAX(CLOSE-LC,0),9,1)/SMA(Abs(CLOSE-LC),9,1)*100,;
RSI2:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100,;
AOO:=RSI1<31 AND RSI2<35;
RSI3:=COUNT(EVERY(AOO,1),12)>=1;
KDRS:=ABW AND KDJ2 AND RSI3;
XG02:=PB AND DD AND CC AND TP AND BB AND WM AND KDRS;
SH7:=REF(HHV(H,32),1);
SH8:=LLV(L,3);
SBZ:=(SH7-SH8)/SH8*100>25;
SH5:=REF(HHV(H,180),11);
SH6:=LLV(L,10);
SAA:=(SH5-SH6)/SH6*100>60 AND SBZ;
SVV:=(C-REF(C,1))/REF(C,1)*100<=-9.91;
SAB:=COUNT(EVERY(SVV,3),45)>=1;
SDD:=SAA OR SAB;
SBB:=(C-REF(C,1))/REF(C,1)*100>=3.15;
SPB1:=(REF(C,1)-REF(C,2))/REF(C,2)*100<=-0.1;
SFF:=(REF(C,2)-REF(C,3))/REF(C,3)*100>-4 AND (REF(C,1)-REF(C,2))/REF(C,2)*100<=2;
SPB:=SPB1 OR SFF;
SCC:=LLV(L,3)<REF(LLV(L,65),4) OR L<REF(LLV(L,65),1);
SNDP:=C>=O AND (REF(H,1)-REF(L,1))/REF(L,1)*100>0.2;
SVVW:=(C-REF(C,1))/REF(C,1)*100<=-0.1;
SABW:=COUNT(EVERY(SVVW,3),15)>=1;
SRSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
SK1:=SMA(SRSV,3,1);
SK:=SK1<25;
SD1:=SMA(SK1,3,1);
SD:=SD1<24;
SJ1:=3*SK1-2*SD1;
SJ:=SJ1<22;
skdj1:=SK AND SD AND SJ;
SKDJ2:=COUNT(EVERY(SKDJ1,1),18)>=1;
SLC:=REF(CLOSE,1);
SRSI1:=SMA(MAX(CLOSE-SLC,0),9,1)/SMA(ABS(CLOSE-SLC),9,1)*100,;
SRSI2:=SMA(MAX(CLOSE-SLC,0),24,1)/SMA(ABS(CLOSE-SLC),24,1)*100,;
SAOO:=SRSI1<31 AND SRSI2<35;
SRSI3:=COUNT(EVERY(SAOO,1),18)>=1;
SKDRS:=SABW AND SKDJ2 AND SRSI3;
SXG:=TP AND SPB AND SDD AND SCC AND SNDP AND SBB AND SKDRS;
XG:XG02 OR SXG;
STICKLINE(XG,O*3,C*40,3.2,0),COLORBLUE;
STICKLINE(XG,O*2,C*100,1,0),COLORYELLOW;
DRAWTEXT(XG,H*60,' ↑ 阴阳合抱'),COLORYELLOW;





回复

举报

QQ|

GMT+8, 2024-11-8 01:28

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