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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信原创趋势指标


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

以下是通达信原创趋势指标

通达信原创趋势指标

源码

0;
5;
HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;
AA:=(20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6)+13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12)+7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+REF(HHJSJDA,20))/210,COLORYELLOW;
BB:=MA(AA,5);
VAR4:=(2*CLOSE+HIGH+LOW)/4;
FF:=EMA(VAR4,233)*1;
DD:=FF*1.382;
XG:CROSS(H,FF);
XG1:CROSS(H,AA) AND AA>BB;
XG2:CROSS(H,DD);
DRAWTEXT(XG,1,'始'),COLORRED;
DRAWTEXT(XG,2,'开'),COLORRED;
DRAWTEXT(XG,3,'势'),COLORRED;
DRAWTEXT(XG,4,'趋'),COLORRED;
DRAWTEXT(XG1,1,'续'),COLORYELLOW;
DRAWTEXT(XG1,2,'延'),COLORYELLOW;
DRAWTEXT(XG1,3,'势'),COLORYELLOW;
DRAWTEXT(XG1,4,'趋'),COLORYELLOW;
DRAWTEXT(XG2,1,'飞'),COLORGREEN;
DRAWTEXT(XG2,2,'腾'),COLORGREEN;
DRAWTEXT(XG2,3,'势'),COLORGREEN;
DRAWTEXT(XG2,4,'趋'),COLORGREEN;





回复

举报

QQ|

GMT+8, 2024-11-19 04:20

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