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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 「指标」一副山水画指标


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-12 17:35:05
【资料名称】:一副山水画指标介绍
【资料描述】:

一副山水画指标

STICKLINE(1=1,0,-MACD,4,0),COLOR333300;
DI:=EMA(C,3)-EMA(C,13);
DE:=EMA(DI,9);
MACD:=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);
STICKLINE(1=1,0,REFDATE(LLV(-MACD3,1000),DATE),4,0),COLOR333300;
IF(MACD3<0,-MACD3,DRAWNULL)LINETHICK4,COLOR646400;
STICKLINE(MACD3<0,0,-MACD3,4,0),LINETHICK4,COLOR646400;
IF(MACD2<0,-MACD2,DRAWNULL)LINETHICK4,COLOR333333;
STICKLINE(MACD2<0,0,-MACD2,4,0),COLOR333333;
IF(MACD<0,-MACD,DRAWNULL)LINETHICK4,COLOR004444;
STICKLINE(MACD<0,0,-MACD,4,0),COLOR004444;

IF(MACD3>=0,MACD3,DRAWNULL)LINETHICK4,COLOR00CC00;
STICKLINE(MACD3>=0,0,MACD3,4,0),COLOR00CC00;
IF(MACD2>=0,MACD2,DRAWNULL)LINETHICK4,COLOR009900;
STICKLINE(MACD2>=0,0,MACD2,4,0),COLOR009900;
STICKLINE(MACD>=0,0,MACD,4,0),COLOR006600;

STICKLINE(MACD3>=0,0,-MACD3*0.8,4,0),COLOR666600;
STICKLINE(MACD2>=0,0,-MACD2*0.8,4,0),COLOR663300;
STICKLINE(MACD>=0,0,-MACD*0.8,4,0),COLOR333300;

小花:IF(MACD>=0 AND REF(MACD,1)<0,1,DRAWNULL),CROSSDOT,LINETHICK6,COLORFF33FF;
IF(MACD>=0 AND REF(MACD,1)<0,1,DRAWNULL),POINTDOT,LINETHICK4,COLOR00CCFF;
春雪:IF(CROSS(MMACD5,MACD3),MACD3*1.2,DRAWNULL),CROSSDOT,
LINETHICK2,COLORFFFFFF;
红帆:STICKLINE(CROSS(MACD3,MMACD5) AND MACD3<0,MACD3*1.1,MACD3*1.1-0.5,16,1),COLORFFFFFF;
STICKLINE(CROSS(MACD3,MMACD5) AND MACD3<0,MACD3*1.1+3,MACD3*1.1+0.3,8,0),
COLOR0000FF;
STICKLINE(CROSS(MACD3,MMACD5) AND MACD3<0,MACD3*1.1,MACD3*1.1+3.5,0.001,1),
COLORFFFFFF;
IF(MACD>=0,-9,DRAWNULL),COLORFFFF00,POINTDOT;
IF(MACD2>=0,-8,DRAWNULL),COLORFFFF00,POINTDOT;
IF(C>0,-7,-7),COLORFFFF00,POINTDOT;
IF(MACD3>0,-6,DRAWNULL),COLORFFFF00,POINTDOT;
IF(MACD3>0,-5,-5),COLORFFFF00,POINTDOT;
IF(C>0,-4,-4),COLORFFFF00,POINTDOT;
IF(MACD3>0,-3,DRAWNULL),COLORFFFF00,POINTDOT;
IF(MACD3>0,-2,DRAWNULL),COLORFFFF00,POINTDOT;
IF(C>0,-1,-1),COLORFFFF00,POINTDOT; 




gd9097


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


回复

举报

QQ|

GMT+8, 2024-11-16 19:30

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