同花顺一个特好的MACD指标
-
相关简介:一个特好的MACD指标 C/C++ Code 复制内容到剪贴板 STICKLINE(C0,0,0.002,15,0),colorgreen; DIFF:=EMA(CLOSE, SHORT )-EMA(CLOSE, LONG ); DEA:EMA(DIFF,M); MACD:=2*(DIFF-DEA/2); MAMACD:=MA(MACD,5); STICKLINE(MAMACD=1*REF(DIFF,1),MAMACD,0,1,0),COLORF000DF; STIC
-
文章来源:择股网作者:股海网发布时间:2009-09-14浏览次数:
一个特好的MACD指标
C/C++ Code复制内容到剪贴板
- STICKLINE(C>0,0,0.002,15,0),colorgreen;
- DIFF :=EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
- DEA : EMA(DIFF,M);
- MACD :=2*(DIFF-DEA/2);
- MAMACD:=MA(MACD,5);
- STICKLINE(MAMACD>=1*REF(DIFF , 1),MAMACD,0, 1, 0),COLORF000DF;
- STICKLINE(MAMACD<=1*REF(DEA , 1), MAMACD, 0,1, 0),COLORFFAC00;
- STICKLINE(DIFF>=1*REF(DIFF , 1), DIFF,0,1, 0),COLORF000DF;
- STICKLINE(DIFF<=1*REF(DIFF , 1), DIFF,0,1, 0),COLORFFAC00;
- STICKLINE(MAMACD>1*REF(MAMACD, 1), MAMACD, MACD , 8,1),colorred;
- STICKLINE(MAMACD<1*REF(MAMACD, 1), MAMACD, MACD ,8, 1),color00ff00;
- //STICKLINE(MAMACD<1*REF(MAMACD, 1) AND MACD >1*REF(MACD , 1), MAMACD, MACD , 8, 0),colorred;
- //STICKLINE(MACD>0,0,0.002,15,0),colorred;
- PARTLINE(DIFF,DIFF>REF(DIFF,1),RGB(255,255,0),DIFF<REF(DIFF,1),RGB(0,255,0)),linethick1;
- PARTLINE(DEA,DEA>REF(DEA,1),RGB(211,0,0),DEA<REF(DEA,1),RGB(0,255,0)),linethick2;
- 买线:=DIFF ;
- 卖线:=DEA;
- 买卖差:=买线-卖线;
- STICKLINE(买卖差>=0,(买线-买卖差*0.05),(买线-买卖差*0.15),8,0),COLOR00ffff;
- STICKLINE(买卖差>=0,(买线-买卖差*0.2),(买线-买卖差*0.35),8,0),COLOR00ccff;
- STICKLINE(买卖差>=0,(买线-买卖差*0.4),(买线-买卖差*0.55),8,0),COLOR0099ff;
- STICKLINE(买卖差>=0,(买线-买卖差*0.6),(买线-买卖差*0.75),8,0),COLOR0066ff;
- STICKLINE(买卖差>=0,(买线-买卖差*0.8),(买线-买卖差*0.95),8,0),COLOR0000cc;
- STICKLINE(买卖差<0,(卖线+买卖差*0.05),(卖线+买卖差*0.15),8,0),COLOR006600;
- STICKLINE(买卖差<0,(卖线+买卖差*0.2),(卖线+买卖差*0.35),8,0),COLOR009900;
- STICKLINE(买卖差<0,(卖线+买卖差*0.4),(卖线+买卖差*0.55),8,0),COLOR00cc00;
- STICKLINE(买卖差<0,(卖线+买卖差*0.6),(卖线+买卖差*0.75),8,0),COLOR00ff00;
- STICKLINE(买卖差<0,(卖线+买卖差*0.8),(卖线+买卖差*0.95),8,0),COLOR66ff00;
- STICKLINE(MACD>=REF(MACD,1),MACD,MACD,5,0),colormagenta,LINETHICK3,POINTDOT;
- STICKLINE(MACD<=REF(MACD,1),MACD,MACD,5,0),colorgreen,LINETHICK3,POINTDOT;
- 参数 DEA----采样点---线宽3
下载链接:( 说明:股海资源如需解压密码的请输入本站域名:www.guhai.com.cn请仔细输入!)
|