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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信融轨道指标公式


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

以下是通达信融轨道指标公式

CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);

DD:=DMA(CLOSE,CC);

上轨:(1+7/100)*DD,COLORGREEN;

下轨:(1-7/100)*DD,COLORGREEN;

中轨:(上轨+下轨)/2,COLORGREEN;

疯狂:(1+14/100)*DD,COLORGRAY,POINTDOT;

抄底:(1-14/100)*DD,COLORGRAY,POINTDOT;

DRAWNUMBER(ISLASTBAR,上轨,上轨),COLOR00FFFF;

DRAWNUMBER(ISLASTBAR,下轨,下轨),COLORFFFF00;

DRAWNUMBER(ISLASTBAR,中轨,中轨),COLOR00FF00;

DRAWNUMBER(ISLASTBAR,疯狂,疯狂),COLOR0000FF;

DRAWNUMBER(ISLASTBAR,抄底,抄底),COLORWHITE;

INLINE:=EMA(C,250);

CHIPS:INLINE-(EMA(C,3)-INLINE),COLORGRAY;

上轨红:IF(上轨>=REF(上轨,1),上轨,DRAWNULL),COLORRED,LINETHICK1;

中轨红:IF(中轨>=REF(中轨,1), 中轨,DRAWNULL),COLORRED, LINETHICK1;

下轨红:IF(下轨>=REF(下轨,1), 下轨,DRAWNULL),COLORRED,LINETHICK1;

{中期临界点90:DMA(MA(CLOSE+REF(CLOSE,5)/CLOSE*0.098,90),VOL),CIRCLEDOT,COLORGRAY;}

{年:DMA(MA(CLOSE+REF(CLOSE,5)/CLOSE*0.098,250),VOL),CIRCLEDOT,COLORGRAY;}

STICKLINE(C/REF(C,1)>1.095,C,O,2,0),COLORYELLOW;

涨停:=IF(REF(C,1)*1.095-C<0.01 ,1,0);

STICKLINE(涨停,OPEN,CLOSE,2.5,0),COLORYELLOW;

DRAWTEXT(涨停,L-0.1,'涨停'),COLORYELLOW;

C3:=REF(C,1);

跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);

STICKLINE(跌停,OPEN,CLOSE,2.5,0),COLORBLUE;

DRAWTEXT(跌停,H+0.3,'跌停'),COLORBLUE;

净资产:FINANCE(34),NODRAW,COLORFF00FF;

每股收益:FINANCE(33),NODRAW,COLORFF7F50;

市盈率:DYNAINFO(39),NODRAW,COLORFF00FF;

流通市值:(FINANCE(40)/100000000),NODRAW,COLORRED;

DIR2:=ABS(CLOSE-REF(CLOSE,10));

VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);

ER2:=DIR2/VIR2;

CS2:=ER2*(0.8-2/24)+2/24;

CQ2:=CS2*CS2;

AMA2:EMA(DMA(CLOSE,CQ2),2),COLORLIBLUE,LINETHICK2;

无穷均线:DMA(CLOSE,(VOL)/(CAPITAL)),LINETHICK1,COLORFF00FF;




回复

举报

QQ|

GMT+8, 2024-11-18 22:49

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