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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[指标编写] 主升浪潮主图之选股指标公式


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

VAR1:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(EMA(C,30),EMA(C,35)),EMA(C,40)),EMA(C,45)),EMA(C,90)),EMA(C,98)),EMA(C,106)),EMA(C,114)),EMA(C,140)),EMA(C,148)),EMA(C,156)),EMA(C,164));
VAR2:=MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(EMA(C,30),EMA(C,35)),EMA(C,40)),EMA(C,45)),EMA(C,90)),EMA(C,98)),EMA(C,106)),EMA(C,114)),EMA(C,140)),EMA(C,148)),EMA(C,156)),EMA(C,164));
VAR3:=(EMA((H+L+3*C)/5,20)+EMA((H+L+3*C)/5,30)+EMA((H+L+3*C)/5,40)+EMA((H+L+3*C)/5,50))/4;
VAR4:=IF(INBLOCK(1),0.2,IF(INBLOCK(2),0.2,IF(INBLOCK(3),0.05,0.1)));
VAR5:=EMA(C,114)>EMA(C,148) AND C>VAR1;
VAR6:=((H+L+C)/3-MA((H+L+C)/3,89))/(0.015*AVEDEV((H+L+C)/3,89));
VAR7:=BARSLAST(crOSS(MA(C,5),MA(C,10)));
VAR8:=(C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100;
VAR9:=BARSLAST(CROSS(20,SMA(SMA(VAR8,3,1),3,1)));
VAR10:=VAR4>0.06 AND VAR5 AND C/REF(C,1)>1.02 AND VAR1/VAR2<1.2;
VAR16:=VAR10 AND VAR7<5 AND SMA(SMA(VAR8,3,1),3,1)<60 AND VAR9<20;
VAR18:=VAR10 AND VAR1/VAR2<1.15 AND C/REF(C,1)>1.05 AND SMA(SMA(VAR8,3,1),3,1)<70 AND VAR6>=HHV(VAR6,5);
XG:VAR16 OR VAR18;





回复

举报

QQ|

GMT+8, 2024-11-16 20:48

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