0;
AAA:=EMA((2*C+H+L)/4,3);
A1:=SLOPE(AAA*3-REF(AAA,3),3)+C;
DI:=(EMA(A1,5) – EMA(A1,10));
DE:=EMA(DI,3);
一级趋势:(DI+DE)/2,NODRAW;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=2*(DIF-DEA);
周DIF:=(“MACD.DIF#WEEK”);
周DEA:=(“MACD.DEA#WEEK”);
周MACD:=2*(周DIF-周DEA);
二趋势:(DIF+DEA)/2,NODRAW;
三趋势:(周DIF+周DEA)/2,NODRAW;
STICKLINE(周MACD>REF(周MACD,1) AND 周MACD>0,0,周MACD,18,0),COLORMAGENTA;
STICKLINE(周MACD0,0,周MACD,18,0),COLORWHITE;
STICKLINE(周MACD>REF(周MACD,1) AND 周MACDREF(MACD,1) AND MACD 0),0,K线动能*0.8,1.5,0),COLORYELLOW;
STICKLINE((K线动能 > 0),0,K线动能*0.7,1.5,0),COLOR0000FF;
STICKLINE((K线动能 > 0),0,K线动能*0.6,1.5,0),COLOR0000FF;
STICKLINE((K线动能 > 0),0,K线动能*0.5,1.5,0),COLOR0000FF;
STICKLINE((K线动能 > 0),0,K线动能*0.4,1.5,0),COLOR0000FF;
STICKLINE((K线动能 > 0),0,K线动能*0.3,1.5,0),COLOR0000FF;
STICKLINE((K线动能 > 0),0,K线动能*0.2,1.5,0),COLOR0000FF;
STICKLINE((K线动能 > 0),0,K线动能*0.1,2,0),COLOR0000FF;
STICKLINE((K线动能 < 0),0,K线动能,1.5,0),COLOR00FF00;
STICKLINE((K线动能 < 0),0,K线动能*0.9,1.5,0),COLOR00FF00;
STICKLINE((K线动能 < 0),0,K线动能*0.8,1.5,0),COLOR00FF00;
STICKLINE((K线动能 < 0),0,K线动能*0.7,1.5,0),COLORFF9900;
STICKLINE((K线动能 < 0),0,K线动能*0.6,1.5,0),COLORFF9900;
STICKLINE((K线动能 < 0),0,K线动能*0.5,1.5,0),COLORFF9900;
STICKLINE((K线动能 < 0),0,K线动能*0.4,1.5,0),COLORFF9900;
STICKLINE((K线动能 < 0),0,K线动能*0.3,1.5,0),COLORFF9900;
STICKLINE((K线动能 < 0),0,K线动能*0.2,1.5,0),COLORFF9900;
STICKLINE((K线动能 < 0),0,K线动能*0.1,1.5,0),COLORFF9900;
选股:周DIFX>=REF(周DIFX,1) AND 周MACD>REF(周MACD,1) AND CROSS(DIF,DEA);
【配资炒股】【通达信】霍氏杀器指标公式
特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。