DIF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORFF00FF,NODRAW;
DEA:EMA(DIF,9),COLORCCC555,NODRAW;
MACD:(DIF-DEA)*2,NODRAW;
DIFT:=6*DIF-5*EMA(DIF,4);
DEAT:=EMA(DIFT,4);
MACDT:=(DIFT-DEAT)*2;
跟庄器:IF(DIFT>0 AND MACD>0,DIFT,0),COLOR0000CC,NODRAW;
DIX:(DIFT+DEA)/2,COLOR00FFFF,NODRAW;
K:=”KDJ.K”;
D:=”KDJ.D”;
J:=”KDJ.J”;
红天:IF(MACD>=0,BARSLAST(CROSS(MACD,0))+1,0),COLOR0000FF,NODRAW;
绿天:IF(MACD0,SUM(MACD,BARSLAST(CROSS(MACD,0))+1),0),COLOR0000FF,NODRAW;
绿M2:IF(绿天>0,SUM(MACD,BARSLAST(CROSS(0,MACD))+1),0),COLOR00FF00,NODRAW;
界面高:=CONST(HHV(DIF,120))*1.1;
界面低:=CONST(HHV(DIF,120))*1.1;
界面中轴:=CONST(IF(CONST((界面高+界面低)/2)>0,(界面高-界面低)/2+界面高,界面低+(界面高-界面低)/2));
叠加界面高:=IF(CONST((HHV(DIF,10)+LLV(DIF,10))/2)>0,0,MAX(ABS(界面高),ABS(界面低)));
叠加界面低:=IF(CONST((HHV(DIF,10)+LLV(DIF,10))/2)>0,-MAX(ABS(界面高),ABS(界面低)),0);
最大界面比例:=MAX(叠加界面高,叠加界面低);
最小界面比例:=MIN(叠加界面高,叠加界面低);
叠加比例中轴:=(最大界面比例+最小界面比例)/2;
叠加比例差值:=最大界面比例-最小界面比例;
叠加指标中轴:=(100-0)/2;
叠加指标差值:=(100-0);
叠加平衡基值:=0;
YY100:=IF(CURRBARSCOUNT
【 】【通达信】MACD叠加KDJ指标公式
特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。