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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[指标编写] 金钻擒妖主图之选股指标公式


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

VAR1:=IF(NAMELIKE(1),1,0)=0;
VAR2:=IF(NAMELIKE(2),1,0)=0;
VAR3:=IF(NAMELIKE(3),1,0)=0;
VAR4:=IF(CODELIKE(4),1,0)=0;
VAR5:=IF(CODELIKE(5),1,0)=0;
VAR6:=IF(CODELIKE(6),1,0)=0;
VAR7:=VAR1 AND VAR2 AND VAR3 AND VAR5 AND VAR6;
VAR8:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
VAR9:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
VAR10:=SUM(VAR8,5);
VAR11:=SUM(VAR9,5);
VAR12:=IF(VAR10>VAR11,(VAR10-VAR11)/VAR10,IF(VAR10=VAR11,0,(VAR10-VAR11)/VAR11));
VAR13:=MA(VAR12,5);
VAR14:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
VAR15:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
VAR16:=SUM(VAR14,3);
VAR17:=SUM(VAR15,3);
VAR18:=IF(VAR16>VAR17,(VAR16-VAR17)/VAR16,IF(VAR16=VAR17,0,(VAR16-VAR17)/VAR17));
VAR19:=MA(VAR18,3);
VAR20:=HHV(CLOSE,2);
VAR21:=BARSLAST(VAR20< REF(VAR20,2));
VAR22:=IF(INBLOCK(1),0.2,IF(INBLOCK(2),0.2,IF(INBLOCK(3),0.05,0.1)));
VAR23:=CLOSE>=ZTPRICE(REF(CLOSE,1),VAR22) AND CLOSE=HIGH AND OPEN!=HIGH;
VAR24:=REF(BARSLASTCOUNT(VAR23),1);
VAR25:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR26:=DYNAINFO(15)/OPEN/100;
VAR27:=IF(CAPITAL< 100000,100000,CAPITAL);
VAR28:=VAR26/REF(MA(vol,5),1)*240;
VAR29:=VAR25*VAR26/VAR27*100;
VAR30:=DYNAINFO(15)/OPEN/FINANCE(46)*100;
XG:RANGE(VAR25,4,9) AND VAR24=1 AND VAR28>20 AND VAR29>4 AND VAR30>1.5 AND VAR7 AND CLOSE< 40;





回复

举报

QQ|

GMT+8, 2024-11-27 23:42

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