周均线组合/周MACD 通达信主图/副图指标 贴图
周MACD周DIF:100* MACD.DIF#WEEK COLORGREEN;
周DEA:100* MACD.DEA#WEEK ,COLORCYAN,LINETHICK1;
IF(周DIF REF(周DIF,5),周DIF,DRAWNULL),COLORMAGENTA,LINETHICK2;
IF(周DEA REF(周DEA,5),周DEA,DRAWNULL),COLORRED,LINETHICK2;
DRAWTEXT_FIX(1,0.0,0.0,0,'周DIF翻红才是买点')COLORFF00FF;
DIF:=100*(EMA(CLOSE,12)-EMA(CLOSE,26)),DOTLINE;
DEA:=EMA(DIF,9),COLORYELLOW;
MACD:=(DIF-DEA)*2,COLORSTICK;
红:=IF(BARSLAST(MACD 0),BARSLAST(MACD 0),0),NODRAW,COLORRED;
绿:=IF(BARSLAST(MACD 0),BARSLAST(MACD 0),0),NODRAW,COLORGREEN;
{MACD周值}
周MACD:=(周DIF-周DEA)*2;
周红:IF(周MACD 0,BARSLAST(CROSS(周MACD,0)),DRAWNULL)+1,COLORYELLOW,NODRAW;
周绿:IF(周MACD 0,BARSLAST(CROSS(0,周MACD)),DRAWNULL)+1,COLORCYAN,NODRAW;
指数:(INDEXC-REF(INDEXC,5))/REF(INDEXC,5),NODRAW;
个股:(CLOSE-REF(CLOSE,5))/REF(CLOSE,5),NODRAW;
周J:= KDJ.J#WEEK ,COLORGREEN,DOTLINE;
周D:= KDJ.D#WEEK ,COLORYELLOW,DOTLINE;
周K:= KDJ.K#WEEK ,COLORCYAN;
别冲动反弹:周DIF 周DEA,COLORRED,NODRAW;
上涨阶段低吸:周DIF 周DEA AND 周J 周D,COLORYELLOW,NODRAW;
空仓:周DIF 周DEA AND 周J 周D,COLORCYAN,NODRAW;
周KDJ
周J: KDJ.J#WEEK ,COLORGREEN,DOTLINE;
周D: KDJ.D#WEEK ,COLORYELLOW,DOTLINE;
周K: KDJ.K#WEEK ,COLORCYAN;
IF(周J REF(周J,5),周J,DRAWNULL),COLORMAGENTA,LINETHICK2;
IF(周D REF(周D,5),周D,DRAWNULL),COLORRED,LINETHICK2;
IF(周K REF(周K,5),周K,DRAWNULL),COLOR0000CC,LINETHICK2;
{周C:=( CCI.CCI#WEEK (14)/10),COLORGREEN,LINETHICK2;
IF(周C =周C AND 周C =REF(周C,5),周C,DRAWNULL),COLORRED,LINETHICK3;};
周DIF:=100* MACD.DIF#WEEK COLORGREEN;
周DEA:=100* MACD.DEA#WEEK ,COLORCYAN,LINETHICK2;
别冲动反弹:周DIF 周DEA,NODRAW;
上涨阶段低吸:周DIF 周DEA AND 周J 周D,NODRAW;
空仓:周DIF 周DEA AND 周J 周D,NODRAW;
周均线
MA5: MA.MA1#WEEK (5),COLORCYAN,LINETHICK2;
MA10: MA.MA2#WEEK ,COLORWHITE,LINETHICK2;
IF(MA5 REF(MA5,5),MA5,DRAWNULL),COLOR0000CC,LINETHICK3;
IF(MA10 REF(MA10,5),MA10,DRAWNULL),COLORRED,LINETHICK3;
周DIF:=100* MACD.DIF#WEEK COLORGREEN;
周DEA:=100* MACD.DEA#WEEK ,COLORCYAN,LINETHICK1;
周J:= KDJ.J#WEEK ,COLORGREEN,DOTLINE;
周D:= KDJ.D#WEEK ,COLORYELLOW,DOTLINE;
周K:= KDJ.K#WEEK ,COLORCYAN;
空仓:MA5 =MA10 AND 周DIF =周DEA AND 周J =周D,NODRAW;
满仓:MA5 =MA10 AND 周DIF 周DEA AND 周J 周D,NODRAW;
总涨跌比:DYNAINFO(60)/(DYNAINFO(60)+DYNAINFO(61))*100,COLORCYAN,NODRAW;