MACD公式

2017-02-13 10:58:00来源:本站整理浏览:174

{MACD}
DIFF:EMA(CLOSE,12) - EMA(CLOSE,26)LINETHICK3,COLORMAGENTA ;
DEA:=EMA(DIFF,9),COLORWHITE;
MACD:=2*(DIFF-DEA), COLORSTICK;
VAR2K:=LLV(LOW,10);
VAR3K:=HHV(HIGH,25);
阶段卖出: 3.2,COLORC6C600;
G:=3.5,COLOR0088FF;
清仓卖出: 3.5,COLORFF75FF;
动力线:= EMA((CLOSE-VAR2K)/(VAR3K-VAR2K)*4,4);
STICKLINE(动力线>REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLORRED;
STICKLINE(动力线<=REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLOR00FF00;

STICKLINE(动力线>REF(动力线,1) AND 动力线>1.75 ,动力线 ,REF(动力线,1),3 ,1),COLORYELLOW;
底部:=0.0,COLOR70DB93;
关注:=0.5,COLORYELLOW;
DRAWICON( FILTER(CROSS(动力线,关注),20),动力线+0.02 ,1);
DRAWICON( FILTER(CROSS(清仓卖出,动力线),20),动力线+0.02,2);
DRAWICON( FILTER(CROSS(动力线,底部),20),动力线+0.02 ,1);
DRAWICON( FILTER(CROSS(阶段卖出,动力线),20),动力线+0.02,2);
强弱分界线:1.75,COLORYELLOW,LINETHICK1,;
数值:=动力线,COLORA8A8A8;

DRAWTEXT(CROSS(DIFF,DEA),动力线,'金叉'),,COLORYELLOW; {大于前期成交量};

DRAWTEXT(CROSS(DEA,DIFF),动力线,'死叉'),,COLORWHITE; {大于前期成交量};


MA1:=MA(C,5);MA2:=MA(C,10); MA3:=MA(C,20);MA4:=MA(C,40);
MA5:=MA(C,60);MA6:=MA(C,30);MA7:=MA(C,120);
P3:=ABS(MA1-MA2)+ABS(MA2-MA3)+ABS(MA1-MA3);
良知之花:=IF(P3/C<6/100,2,0)COLORFF00FF,LINETHICK3;
K1:=1;M1:=5;M2:=10;M3:=20;M4:=60;P:=VOL;
牛波波:=IF(MA(P,M1)>MA(P,M4)*0.9,2,0)COLORFF33CC,LINETHICK3;
VOLUME:=VOL;
LB:=VOL/REF(MA(VOL,5),1)COLORGREEN;
LONG:=26;SHORT:=12;M:=9;
DIFFK:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEAK:=EMA(DIFFK,9);
MACDK:=2*(DIFFK-DEAK);
顽强绽放:=IF(CROSS(DIFFK,DEAK) AND MACDK>REF(MACDK,1),1,0)COLORRED,LINETHICK2;
香飘世界:=IF(CROSS(DIFFK,DEAK) AND DIFFK<0 AND DEAK<0
AND MACD>REF(MACDK,1),1,0)COLORRED,LINETHICK2;
空依子:=IF(DIFFK>0 AND DEAK>0 AND CROSS(DIFFK,DEAK)
AND MACDK>REF(MACDK,1),1,0)COLORRED,LINETHICK2;
 


 


股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式