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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[指标编写] 圆弧启动之选股指标公式


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

MA5:=MA(C,5);
MA10:=MA(C,10);
MA46:=MA(C,46);
CT1:=C<=MA46;
AB0:=COUNT(EVERY(CT1,1),22)>=10;
CS1:=MA5>MA10;
AB1:=COUNT(EVERY(CS1,1),12)>=3;
CS2:=MA5>=REF(MA5,1);
AB2:=COUNT(EVERY(CS2,2),22)>=1;
CS3:=MA10>=REF(MA10,1);
AB3:=COUNT(EVERY(CS3,1),5)>=1;
ZYT:=(C-REF(C,1))/REF(C,1)*100>=9.86 AND C=H;
CNY8:=COUNT(EVERY(ZYT,4),160)<1 AND COUNT(EVERY(ZYT,3),85)<1 AND COUNT(EVERY(ZYT,1),4)<2;
JJJ1:=MA5>MA46;
JJJ2:=(MA5-MA10)/MA10*100>3.5;
JJJ:=COUNT(EVERY(JJJ1,1),12)<1 AND COUNT(EVERY(JJJ2,1),8)<1;
QMZ1:=(H-REF(C,18))/REF(C,18)*100>=58;
QMZ:=COUNT(EVERY(QMZ1,1),120)<1;
QMZ2:=(H-REF(C,24))/REF(C,24)*100>=65;
QMZ3:=COUNT(EVERY(QMZ2,1),100)<1;
EH5:=REF(HHV(H,150),30);
EH6:=LLV(L,30);
EAA:=(EH5-EH6)/EH6*100>45 OR (PPART(100)*100>=28 AND WINNER(HHV(H,42))*100>45);
CC:=AB0 AND AB1 AND AB2 AND CS3 AND AB3 AND CNY8 AND JJJ AND QMZ AND QMZ3 AND EAA;
Lbs:=IF(BETWEEN(FROMOPEN,0,60),3,IF(BETWEEN(FROMOPEN,60,120),2.67,IF(BETWEEN(FROMOPEN,120,180),2.33,IF(BETWEEN(FROMOPEN,180,240),2,2))));
不停牌:=DYNAINFO(4)>=0;
去ST:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S'));{去除ST}
MTR:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=SUM(IF(HD>0&&HD>LD,HD,0),14);
DMM:=SUM(IF(LD>0&&LD>HD,LD,0),14);
PDI:=DMP*100/MTR;
mdi:=DMM*100/MTR;
ADX:=MA(ABS(MDI-PDI)/(MDI+PDI)*100,6);
ADXR:=(ADX+REF(ADX,6))/2;
BS:=PDI>=REF(PDI,1);
HS:=MDI<=REF(MDI,1);
cr:=ADX<=REF(ADX,1) OR ADXR<=REF(ADXR,1) OR (ADX<PDI AND ADX<MDI) OR PDI>=MDI;
AAA:=CR AND COUNT(EVERY(BS,1),7)>=1 AND COUNT(EVERY(HS,1),7)>=1;
BB:=(C-REF(C,1))/REF(C,1)*100<=3 AND C*1.1>=MA46 AND C<=MA46 AND C*CAPITAL*100/100000000<=125;
SY:=COUNT(EVERY(C>=O,2),18)>=4 OR COUNT(EVERY(C>=O,3),18)>=2;
YY:=CC AND AAA AND BB AND LBS AND 不停牌 AND 去ST;
YHQD:COUNT(EVERY(YY,1),3)>=1 AND REF(C,1)<=REF(MA(C,46),1) AND REF(C,1)*1.1>=MA(C,46) AND H/REF(C,1)>=1.07 AND C/REF(C,1)>=1.051;





回复

举报

QQ|

GMT+8, 2024-11-17 05:52

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