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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信九天云霄指标公式源码


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

N:=60;
M:=34;
A1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
CC:=(2*CLOSE+HIGH+LOW)/4;
A2:=EMA((CC-LLV(LOW,M))/(HHV(HIGH,M)-LLV(LOW,M))*100,13);
A3:=EMA(0.667*REF(A2,1)+0.333*A2,2);
A4:=SMA(A1,20,1);
A5:=SMA(A4,5,1);
STICKLINE(A4-A5>0,A4,A5,4,1),COLORYELLOW;
STICKLINE(A4-A5<0,A4,A5,4,1),COLORLIBLUE;
STICKLINE(A2-A3>0,A2,A3,2,0),COLORRED;
STICKLINE(A2-A3<0,A2,A3,2,0),COLORGREEN;
T1:=A2-A3>0 AND A4-A5>0 AND A3>A4;
XG:=T1 AND REF(T1,1)=0 AND C>O AND V>REF(V,1);
IF(XG,65,0),DOTLINE,COLORRED;
IF(XG,60,0),DOTLINE,COLORYELLOW;
IF(XG,55,0),DOTLINE,COLORRED;
IF(XG,50,0),DOTLINE,COLORYELLOW;
IF(XG,45,0),DOTLINE,COLORRED;
IF(XG,40,0),DOTLINE,COLORYELLOW;
IF(XG,35,0),DOTLINE,COLORRED;
IF(XG,30,0),DOTLINE,COLORYELLOW;
IF(XG,20,0),DOTLINE,COLORRED;
IF(XG,15,0),DOTLINE,COLORYELLOW;
IF(XG,10,0),DOTLINE,COLORRED;





回复

举报

QQ|

GMT+8, 2024-11-24 05:08

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