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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[指标编写] 强势决策之选股指标公式


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

VAR1:=COST(0.001);
VAR2:=COST(99.999001);
VAR3:=(VAR2-VAR1)/10;
VAR4:=(WINNER(VAR1+VAR3*3)-WINNER(VAR1))*100;
VAR5:=(WINNER(VAR1+VAR3*7)-WINNER(VAR1+VAR3*4))*100;
VAR6:=(WINNER(VAR2)-WINNER(VAR1+VAR3*7))*100;
VAR7:=VAR4< 50 AND VAR5< 50;
VAR8:=VAR4< 50 AND VAR6< 50;
VAR9:=VAR5< 50 AND VAR6< 50;
VAR10:=MAX(VAR4,VAR6)-MIN(VAR4,VAR6)< 20;
VAR11:=MAX(VAR4,VAR5)-MIN(VAR4,VAR5)< 20;
VAR12:=MAX(VAR6,VAR5)-MIN(VAR6,VAR5)< 20;
VAR13:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND NOT(CODELIKE(8091));
VAR14:=VAR7 AND VAR10 AND VAR13;
VAR15:=VAR7 AND VAR11 AND VAR13;
VAR16:=VAR7 AND VAR12 AND VAR13;
VAR17:=VAR8 AND VAR10 AND VAR13;
VAR18:=VAR8 AND VAR11 AND VAR13;
VAR19:=VAR8 AND VAR12 AND VAR13;
VAR20:=VAR9 AND VAR10 AND VAR13;
VAR21:=VAR9 AND VAR11 AND VAR13;
VAR22:=VAR9 AND VAR12 AND VAR13;
VAR23:=VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18 OR VAR19 OR VAR20 OR VAR21 OR VAR22;
临门一脚:BARSLAST(VAR23< 1)=1 AND VAR23=1;





回复

举报

QQ|

GMT+8, 2024-11-16 10:27

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