好股查询: 行情资金 DDX查询 超赢 千股千评 消息提示 股票公告 概念题材 机构评级 大小非 十大股东 股本结构 股票高管 股吧 涨停 停牌 基本概况
您的位置:好查股网 > 好查股公式 > 公式正文
股票公式搜索:

通达信MACD黄金副图指标副图[好查股公式]

2022/9/2 20:19:23

通达信MACD黄金副图指标副图

P:=13;S:=5;M:=1;
 DIFF:EMA(C,S)-EMA(C,P);
 DEA:EMA(DIFF,M),COLORRED;
 MACD:2*(DIFF-DEA),COLORSTICK;
 P1:=P;S1:=S;
 DIFF1:EMA(C,S1)-EMA(C,P1);
 DEA1:EMA(DIFF,M),COLORRED;
 MACD1:=2*(DIFF1-DEA1);
 MACD2:=DEA;
 STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2,3,0 ),COLOR00AAFF;
 STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2,1.8,0 ),COLOR00BBFF;
 STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2,1.3,0 ),COLOR00CCFF;
 STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2,1.2,0 ),COLOR00DDFF;
 STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2,1,0 ),COLOR00EEFF;
 STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2,0.5,0 ),COLOR00FFFF;
 STICKLINE(MACD2>REF(MACD2,1)AND MACD2>0,0,MACD2,3.4,0 ),COLOR0000AA;
 STICKLINE(MACD2>REF(MACD2,1)AND MACD2>0,0,MACD2,3.2,0),COLOR0011BB;
 STICKLINE(MACD2>REF(MACD2,1)AND MACD2>0,0,MACD2,3,0),COLOR0022CC;
 STICKLINE(MACD2>REF(MACD2,1)AND MACD2>0,0,MACD2,2,0),COLOR0033DD;
 STICKLINE(MACD2>REF(MACD2,1)AND MACD2>0,0,MACD2,1,0),COLOR0044EE;
 STICKLINE(MACD2>REF(MACD2,1)AND MACD2>0,0,MACD2,0.5,0),COLOR0055FF;
 STICKLINE(MACD2>REF(MACD2,1)AND MACD2<=0,0,MACD2,3.4,0),COLORAA00BB;
 STICKLINE(MACD2>REF(MACD2,1)AND MACD2<=0,0,MACD2,3.2,0),COLORBB11BB;
 STICKLINE(MACD2>REF(MACD2,1)AND MACD2<=0,0,MACD2,3,0),COLORCC22BB;
 STICKLINE(MACD2>REF(MACD2,1)AND MACD2<=0,0,MACD2,2,0 ),COLORDD33BB;
 STICKLINE(MACD2>REF(MACD2,1)AND MACD2<=0,0,MACD2,1,0),COLOREE44BB;
 STICKLINE(MACD2>REF(MACD2,1)AND MACD2<=0,0,MACD2,0.5,0 ),COLORFF55BB;
 STICKLINE(MACD2<=REF(MACD2,1)AND MACD2<=0,0,MACD2,3,0 ),COLORFF7700;
 STICKLINE(MACD2<=REF(MACD2,1)AND MACD2<=0,0,MACD2,1.5 ,0 ),COLORFF8811;
 STICKLINE(MACD2<=REF(MACD2,1)AND MACD2<=0,0,MACD2,1.2,0 ),COLORFFAA22;
 STICKLINE(MACD2<=REF(MACD2,1)AND MACD2<=0,0,MACD2,1.0 ,0 ),COLORFFBB33;
 STICKLINE(MACD2<=REF(MACD2,1)AND MACD2<=0,0,MACD2,0.8 ,0 ),COLORFFDD44;
 STICKLINE(MACD2<=REF(MACD2,1)AND MACD2<=0,0,MACD2,0.5 ,0 ),COLORFFFF55;
 R:=(HHV(DEA,100)+ABS(LLV(DEA ,100)))/2;
 R/4,POINTDOT,COLORFFFF00;
 R/2,POINTDOT,COLORFFFF00;
 R/4*3,POINTDOT,COLORFFFF00;
 -R/4,POINTDOT,COLORFFFF00;
 -R/2,POINTDOT,COLORFFFF00;
 -R/4*3,POINTDOT,COLORFFFF00;

好查股公式指标
好查股网查股:资金行情查询 实时DDX查询 大智慧超赢数据 千股千评 最新提示 股票公告 题材概念 个股评级查询 股东查询 股票高管查询 基本概况查询
手机版 | 电脑端
在线客服
本站股票数据全部免费,内容仅供参考,不构成投资建议,据此操作,风险自担。
本站不为所提供数据的错误或因依此信息所采取的任何行为负责。站内广告不代表好查股网的观点! 豫ICP备2021024630号-1