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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[指标编写] 短线异动之选股指标公式


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

VAR1:=(6*(vol/SUM(VOL,1))+3*(VOL/SUM(VOL,2))+2*(VOL/SUM(VOL,3)))/11;
VAR2:=DMA(CLOSE,VAR1);
VAR3:=IF(CLOSE>(HIGH+LOW)/2,((7*HIGH+2*LOW)/9+23*CLOSE)/24,IF(CLOSE<(HIGH+LOW)/2,((2*HIGH+7*LOW)/9+23*CLOSE)/24,((HIGH+LOW)/2+23*CLOSE)/24));
VAR4:=(VAR3+VAR2)/2;
VAR5:=(3.6*VAR4+1.4*(2*VAR4+7*(MA(VAR4,1)+MA(VAR4,2))/2)/9+1.5*((MA(VAR4,1)+MA(VAR4,2))/2+17*((MA(VAR4,1)+MA(VAR4,2))/2+MA(VAR4,2))/2)/18)/6.5;
VAR6:=VAR5*(7.7/9);
VAR7:=MAX(WINNER(VAR6)-WINNER(REF(VAR6,1)),0)*100;
VAR8:=(1.1*(7*SUM(VAR7,2)+2*SUM(VAR7,3))/9+1.2*(7*SUM(VAR7,4)+2*SUM(VAR7,6))/9+1.3*(7*SUM(VAR7,6)+2*SUM(VAR7,9))/9)/3.6;
VAR9:=(1.1*(7*SUM(VAR7,4)+2*SUM(VAR7,6))/9+1.2*(7*SUM(VAR7,8)+2*SUM(VAR7,12))/9+1.3*(7*SUM(VAR7,12)+2*SUM(VAR7,18))/9)/3.6;
VAR10:=(1.1*(7*SUM(VAR7,6)+2*SUM(VAR7,9))/9+1.2*(7*SUM(VAR7,12)+2*SUM(VAR7,18))/9+1.3*(7*SUM(VAR7,18)+2*SUM(VAR7,27))/9)/3.6;
VAR11:=(1.1*VAR8+1.2*VAR9+1.3*VAR10)/3.6;
短线异动:C/REF(C,1)>1.05 AND VAR11>REF(VAR11,1) AND VAR11<20;





回复

举报

QQ|

GMT+8, 2024-11-16 07:07

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