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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信底部吸筹形态指标公式源码


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

底部吸筹:(EMA(CLOSE,30)-EMA(CLOSE,90))*0.55;
VAR1:(EMA(底部吸筹,26));
macd周:=(底部吸筹-VAR1)*2, COLORSTICK;
DRAWBAND(VAR1,RGB(135,255,35),底部吸筹,RGB(240,160,0));
DRAWTEXT(CURRBARSCOUNT=1,底部吸筹,''),COLORRED;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
DRAWBAND(DIFF,RGB(255,80,120),DEA,RGB(21,138,255));
DRAWTEXT(CURRBARSCOUNT=1,DIFF,''),COLOR00FFFF;
XA_1:=EMA(CLOSE,12/2)-EMA(CLOSE,26/2);
XA_2:=EMA(XA_1,9/2);
DRAWBAND(XA_1,RGB(120,20,255),XA_2,RGB(80,255,20));
DRAWTEXT(CURRBARSCOUNT=1,XA_1,''),COLORFF00FF;
XA_3:=(EMA(CLOSE,12/4)-EMA(CLOSE,26/4)),COLORGREEN,LINETHICK2;
XA_6:=(EMA(XA_3,9/4)),COLORMAGENTA,LINETHICK2;
DRAWBAND(XA_3,RGB(220,50,50),XA_6,RGB(50,120,50));
DRAWTEXT(CURRBARSCOUNT=1,XA_3,''),COLORGREEN;
0,COLORWHITE,DOTLINE;
MACD:(DIFF-DEA)*2,COLORSTICK;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1,1),COLORRED,;
STICKLINE(MACD<REF(MACD,1) AND MACD>0,0,MACD,1,1),COLOR4080FF,;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1,1),COLORYELLOW,;
STICKLINE(MACD<REF(MACD,1) AND MACD<0,0,MACD,1,1),COLORLIGREEN;





回复

举报

QQ|

GMT+8, 2024-11-5 17:27

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