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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[指标编写] 鹰之击主图之买入选股指标公式


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

VAR1:=MA(CLOSE,5);
VAR2:=(CLOSE-VAR1)/VAR1*100;
VAR3:=ATAN((VAR1/REF(VAR1,1)-1)*100)*180/3.1416;
VAR4:=SMA(EMA((VAR1-REF(VAR1,1))/REF(VAR1,1),3)*100,3,1);
VAR5:=EMA((VAR4-REF(VAR4,1)),3);
VAR6:=MA(CLOSE,10);
VAR7:=ATAN((VAR6/REF(VAR6,1)-1)*100)*180/3.1416;
VAR8:=MA(CLOSE,30);
VAR9:=(CLOSE-VAR8)/VAR8*100;
VAR10:=ATAN((VAR8/REF(VAR8,1)-1)*100)*180/3.1416;
VAR11:=FILTER(VAR10>30 AND VAR7>45 AND crOSS(VAR3,60),10);
VAR12:=FILTER(COUNT(CROSS(VAR3,30),5)>=1 AND VAR1>REF(VAR1,1) AND VAR9>REF(VAR9,1) AND VAR6>REF(VAR6,1) AND VAR5>REF(VAR5,1) AND VAR4>REF(VAR4,1),10);
VAR13:=FILTER(COUNT(CROSS(30,VAR3),5)>=1 AND (C>VAR8 OR O>VAR8) AND VAR1<REF(VAR1,1) AND VAR9<REF(VAR9,1) AND VAR6<REF(VAR6,1),10);
VAR14:=CROSS(0,VAR2) AND VAR9<REF(VAR9,1) AND VAR6>REF(VAR6,1);
VAR15:=FILTER(VAR14,10);
VAR16:=COUNT(CROSS(VAR2,0),3)>=1 AND VAR9>REF(VAR9,1) AND VAR1>REF(VAR1,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<VAR8;
VAR17:=FILTER(VAR16,10);
买入:VAR17;





回复

举报

QQ|

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

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