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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信量角量比+45度副图2指标


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

以下是通达信量角量比+45度副图2指标

通达信量角量比+45度副图2指标

源码

公积金:FINANCE(18),COLORRED,NODRAW;
现金流亿:FINANCE(26)/100000000,NODRAW;
五换手:DYNAINFO(37)+REF(DYNAINFO(37),1)+REF(DYNAINFO(37),2)
+REF(DYNAINFO(37),3)+REF(DYNAINFO(37),4),NODRAW,COLORYELLOW;
十换手:五换手+REF(DYNAINFO(37),5)+REF(DYNAINFO(37),6)+
REF(DYNAINFO(37),7)+REF(DYNAINFO(37),8)+REF(DYNAINFO(37),9),
NODRAW,COLORYELLOW;
市值:FINANCE(40)/100000000,COLORFF00FF,NODRAW;

LB:=V/MA(V,8);
WLT1:=EMA(LB,3)*1.88,COLOR00FFFF,LINETHICK2;
WLT2:=EMA(LB,89)*1.88,COLORFF00FF;
DRAWBAND(WLT1,RGB(155,50,50),WLT2,RGB(0,100,50));
遵:IF(WLT1>=WLT2,WLT1,DRAWNULL),COLORRED;
守:IF(WLT2>=WLT1,WLT2,DRAWNULL),COLORFF9900;
纪:IF(WLT1>=WLT2,WLT2,DRAWNULL),COLOR00FFFF;
律:IF(WLT2>=WLT1,WLT1,DRAWNULL),COLOR00FF00;
IF(WLT1>REF(WLT1,1),WLT1,DRAWNULL),COLORRED,LINETHICK2;
IF(WLT1
IF(CROSS(WLT1,WLT2),LB*1.2,DRAWNULL),CROSSDOT,LINETHICK6,COLORFF88FF;
STICKLINE(LB>0 AND LB<1,0,LB,3,0),COLOR990000;
STICKLINE(LB>0 AND LB<1,0,LB,2.0,0),COLORCC0000;
STICKLINE(LB>0 AND LB<1,0,LB,1.5,0),COLORFF4400;
STICKLINE(LB>0 AND LB<1,0,LB,1.0,0),COLORFF8800;
STICKLINE(LB>0 AND LB<1,0,LB,0.5,0),COLORFFCC00;
STICKLINE(LB>=2 AND LB<3,0,LB,3,0),COLOR660066;
STICKLINE(LB>=2 AND LB<3,0,LB,2,0),COLOR880088;
STICKLINE(LB>=2 AND LB<3,0,LB,1.5,0),COLORAA00AA;
STICKLINE(LB>=2 AND LB<3,0,LB,0.8,0),COLORDD00DD;
STICKLINE(LB>=2 AND LB<3,0,LB,0.3,0),COLORFF00FF;

STICKLINE(LB>=1 AND LB<2,0,LB,3,0),COLOR006666;
STICKLINE(LB>=1 AND LB<2,0,LB,2,0),COLOR008888;
STICKLINE(LB>=1 AND LB<2,0,LB,1.5,0),COLOR00AAAA;
STICKLINE(LB>=1 AND LB<2,0,LB,0.8,0),COLOR00DDDD;
STICKLINE(LB>=1 AND LB<2,0,LB,0.3,0),COLOR00FFFF;

STICKLINE(LB>=3 AND LB>REF(LB,1),0,LB,3,0),COLOR000066;
STICKLINE(LB>=3 AND LB>REF(LB,1),0,LB,2,0),COLOR000088;
STICKLINE(LB>=3 AND LB>REF(LB,1),0,LB,1.5,0),COLOR0000AA;
STICKLINE(LB>=3 AND LB>REF(LB,1),0,LB,0.8,0),COLOR0000DD;
STICKLINE(LB>=3 AND LB>REF(LB,1),0,LB,0.3,0),COLOR0000FF;

X1:=(C+L+H)/3;
BB5:=ATAN(EMA(X1,5)-REF(EMA(X1,5),1))*3.1416*10;
EMA3:=EMA(C,3);
DRAWTEXT(FILTER(BB5>1 AND EMA(X1,5)>REF(EMA(X1,3),1),10),
LB*1.1,'∠45角升'),COLORRED;

{收益:FINANCE(33),NODRAW,COLORWHITE;
市盈:DYNAINFO(39),NODRAW,COLORFF00FF;
流通:ROUND(CAPITAL/1000)/1000,NODRAW,COLORRED;
换手:DYNAINFO(37),NODRAW,COLORGREEN;};





回复

举报

QQ|

GMT+8, 2024-11-18 17:40

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