当前位置:首页 > 公式 > 同花顺公式 >
同花顺MACD趋势量能指标公式
来源:互联网浏览次数: 整理:股票入门学习大学网

TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;

CI:(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30));

C2:MA(CI,4);

C3:MA(CI,10),linethick2;;

FILLRGN(CI,C2,CI>C2,RGB(0,255,0,),CI<C2,colorblack);

FILLRGN(CI,C3,CI>C3,RGB(255,0,0,),CI<C3,colorblack);

LC := REF(CLOSE,1);

DI:=(EMA(CLOSE,12) - EMA(CLOSE,26))*200;

DE:=EMA(DI,9);

MACD:=2*(DI-DE);

RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*400-200;

STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,8,0),COLOR0000AA;

STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD,0,8,0),COLOR0090FF;

STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD,0,8,0),COLORFF0000;

STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,8,0),COLORFF00A9;

DIFF :=( EMA(CLOSE,12) - EMA(CLOSE,26))*100;

DEA :=EMA(DIFF,9);

MACD :=2*(DIFF-DEA);

绿柱消失买入:STICKLINE(DIFF<0,0,DIFF,2,0),COLOR00FF00;

红柱消失卖出:STICKLINE(DIFF>=0,0,DIFF,2,0),colorred;

STICKLINE(DEA>=0,0,DEA,2,0),colorblue;

STICKLINE(DEA<0,0,DEA,2,0),coloryellow;

DRAWICON(CROSS(DIFF,DEA),DEA*1.1,1);

DRAWICON(CROSS(DEA,DIFF),DEA*1.1,2);

强1:IF(DIFF>DEA,DIFF,DRAWNULL),colorred;

强2:IF(DEA<DIFF,DEA,DRAWNULL),colormagenta;

Zero : 0;

gj:=MAX(C,O);

STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,2,0),color0000ff;

STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,2,0),colorffff00;

STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2,0),colorff00ff;

STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2,0),color00ff00;

L4:=LLV(gj,4);

H4:=HHV(gj,4);

A9:=(HIGH+LOW)/2;

TT:=(2*CLOSE+OPEN+HIGH+LOW);

主导动能:TT/EMA(TT,4)-1,COLORSTICK;

FF:=主导动能;

STICKLINE(FF>0,0,FF,3,0),COLOR33CFDD;

STICKLINE(FF>0 AND FF>REF(FF,1),0,FF,3,0),COLOR0000CC;

STICKLINE(FF<=0,0,FF,3,0),COLOR00CC00;

STICKLINE(FF<=0 AND FF>REF(FF,1),0,FF,3,0),COLORFF9900;

做多主导:IFF(FF>0 AND FF>REF(FF,1),FF,0),NODRAW,COLOR0000CC;

获利回吐:IFF(FF>0 AND FF<=REF(FF,1),FF,0),NODRAW,COLOR33CFDD;

做空主导:IFF(FF<=0 AND FF<=REF(FF,1),FF,0),NODRAW,COLOR00CC00;

空头回补:IFF(FF<=0 AND FF>REF(FF,1),FF,0),NODRAW,COLORFF9900;

同花顺MACD趋势量能指标公式

股票公式结合软件的应用属于进阶阶段的股票学了,我们整理网上提出的同花顺MACD趋势量能指标公式的问题一些解决方案仅供辅助你学习同花顺公式参考,具体内容可能需要具体解决或者找网上其他高手帮忙,也感谢文字和图片来源于股旁网的一些资源分享,帮助新手快速学习提高炒股技能。

声明:同花顺MACD趋势量能指标公式的文字和图片来源于网络,版权归原作者所有,仅代表个人观点,于本站无关。

随便说说

评论精选

    还没有相关评论,快来抢沙发吧!