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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[指标编写] 顺势寻牛之选股指标公式


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

X_1:=REF(CLOSE,1);
X_2:=(X_1-CLOSE)*100/X_1;
X_3:=X_2>4 AND Abs(CLOSE-OPEN)/CLOSE>0.05;
X_4:=CLOSE<OPEN AND CLOSE<0.98*MA(CLOSE,5) AND ABS(CLOSE-OPEN)/CLOSE>0.03;
X_5:=X_4 AND (MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>=1/3 AND X_2>=3;
X_6:=CONST(REF(LOW,BArslAST(X_5>0)));
X_7:=0.033;
X_8:=ABS(X_6-LOW)<=X_7 OR ABS(X_6-MIN(OPEN,CLOSE))<=X_7 OR ABS(X_6-HIGH)<=X_7 OR ABS(X_6-MAX(OPEN,CLOSE))<=X_7;
X_9:=COUNT(X_8,30)>=1;
X_10:=vol<=0.505*REF(VOL,1);
X_11:=REF(X_9,1) AND X_10 AND COUNT(X_3,10);
X_12:=SUM((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100,5)<1;
X_13:=(HIGH-LOW)/LOW*100>5 AND (MIN(OPEN,CLOSE)-LOW)/LOW*100>5;
X_14:=X_12 AND X_13;
X_15:=IF(CODELIKE(1),0,1);
X_16:=IF(CODELIKE(2),0,1);
X_17:=IF(CODELIKE(3),0,1);
X_18:=IF(CODELIKE(4),0,1);
X_19:=COUNT(X_11,3)>1;
XG:X_10 OR X_3 OR X_8 AND X_15 AND X_16 AND X_17 AND X_18 AND COUNT(X_10,3)>1;





回复

举报

QQ|

GMT+8, 2024-11-16 02:21

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