股票知识网 我的

2018通达信指标公式 大鱼吃小鱼副图公式源码

2018-05-28 股票知识网http://zhishi.southmoney.com/

2018通达信指标公式 大鱼吃小鱼副图公式源码 南方财富网小编为您提供

DIFF:= EMA(DCLOSE,12)-EMA(DCLOSE,26);

 DEA:= EMA(DIFF,9),COLORFFFF00;

 MACD:= (DIFF-DEA)*2;

 A1: BARSLAST(DIFF<REF(DIFF,1)),COLOR00FFFF,LINETHICK1;

 A11: A1*-1,COLOR00FFFF,LINETHICK1;

 A2: BARSLAST(DEA<REF(DEA,1)),COLORRED,LINETHICK1;

 A22: A2*-1,COLORRED,LINETHICK1;

 DRAWBAND(A2,RGB(150,50,20),A1,RGB(150,100,150));

 DRAWBAND(A22,RGB(150,100,150),A11,RGB(150,50,20)); 

STICKLINE(CROSS(DIFF,DEA) AND DIFF<0,A11,0,2,0),COLORRED;

 STICKLINE(CROSS(DIFF,DEA) AND DIFF>0,0,A1,2,0),COLORRED;

 STICKLINE(CROSS(DEA,DIFF) AND DIFF<0,A11,0,2,0),COLORBLUE;

 STICKLINE(CROSS(DEA,DIFF) AND DIFF>0,0,A1,2,0),COLORBLUE;

 STICKLINE(REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA),-25,25,0.00001,0),COLORYELLOW; 

STICKLINE(A1>0 AND A2>0,A2,A1,0.00001,0),COLORFFFFFF;

公众号1:southmoney

公众号2:nczf2016

公众号3:zaiyunli

南方财富网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。

下一页

相关阅读