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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 「指标」通达信绿山红帆看山水如画副图指标 源码 贴图


    [-----复制链接-----]

22万

主题

22万

帖子

14

精华

积分
11042
楼主
2024-1-15 10:22:26
【资料名称】:通达信绿山红帆看山水如画副图指标 源码 贴图介绍
【资料描述】:

通达信绿山红帆看山水如画副图指标 源码 贴图






DI:=EMA(C,3)-EMA(C,13);
DE:=EMA(DI,9);
MACD1:=2*(DI-DE)*10;
DI2:=EMA(C,5)-EMA(C,26);
DEA2:=EMA(DI2,9);
MACD2:=2*(DI2-DEA2)*10;
DIFF3:=EMA(C,7)-EMA(C,89);
DEA3:=EMA(DIFF3,21);
MACD3:=2*(DIFF3-DEA3)*10;
MMACD5:=MA(MACD3,3);
M3:=IF(MACD3<0,-MACD3,DRAWNULL)LINETHICK4,COLOR646400;
M2:=IF(MACD2<0,-MACD2,DRAWNULL)LINETHICK4,COLOR333333;
M1:=IF(MACD1<0,-MACD1,DRAWNULL);
MM3:=IF(MACD3>0,MACD3,DRAWNULL);
MN1:=HHV(MM3,250);
MN2:=HHV(M3,250);
MMM:=CONST(MAX(MN1,MN2));
DRAWBAND(MMM,RGB(50,80,50),-MMM,DRAWNULL);
DRAWBAND(MMM,RGB(150,150,150),0,DRAWNULL);
DRAWBAND(M3,RGB(00,100,100),0,DRAWNULL);
DRAWBAND(M2,RGB(100,100,100),0,DRAWNULL);
DRAWBAND(M1,RGB(80,80,00),0,DRAWNULL);
DRAWBAND(MM3,RGB(0,200,0),0,DRAWNULL);
STICKLINE(MACD2>=0,0,MACD2,4,0),COLOR009900;
STICKLINE(MACD1>=0,0,MACD1,4,0),COLOR006600;
MM:=-M3*0.3;
DRAWBAND(0,RGB(0,0,0),-MM3*0.3,DRAWNULL);
DRAWBAND(0,RGB(0,0,0),MM,DRAWNULL);
IF(MACD3>0,-3,DRAWNULL),COLORFFFF00,POINTDOT;
IF(C>0,-2,-2),COLORFFFF00,POINTDOT;
小花:IF(MACD1>=0 AND REF(MACD1,1)<0,1,DRAWNULL),CROSSDOT,LINETHICK6,COLORFF33FF;
IF(MACD1>=0 AND REF(MACD1,1)<0,1,DRAWNULL),POINTDOT,LINETHICK4,COLOR00CCFF;
红帆:STICKLINE(CROSS(MACD3,MMACD5) AND MACD3<0,MACD3*1.1,MACD3*1.1-0.5,16,0),COLOR3366CC;
STICKLINE(CROSS(MACD3,MMACD5) AND MACD3<0,MACD3*1.1+4,MACD3*1.1+0.3,5,0),COLOR0000FF;
春雪:IF(CROSS(MMACD5,MACD3) AND MACD3>0,MACD3*1.2,DRAWNULL),CROSSDOT, LINETHICK2,COLORFFFFFF;
IF(CROSS(MMACD5,MACD3) AND MACD3<0,MACD3*0.8,DRAWNULL),CROSSDOT, LINETHICK2,COLORCCCCCC;



gd56851


【下载地址隐藏】:                    点:回复可见地址
游客,如果您要查看本帖隐藏内容请回复






上一篇:「指标」通达信持股持币无敌操盘副图指标 源码
下一篇:「指标」通达信巧判大盘顶底副图指标 源码
回复

举报

QQ|

GMT+8, 2024-11-24 07:32

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