通达信最强:=EMA(CLOSE,12)-EMA(CLOSE,26);
指标公式:=EMA(通达信最强,9);
DRAWBAND(指标公式,DRAWNULL,通达信最强,RGB(250,0,0));
sddss1:EMA(CLOSE,12)-EMA(CLOSE,26),COLORYELLOW;
sddss2:EMA(sddss1,9),COLORCYAN;
MACD:2*(sddss1-sddss2),COLORSTICK;{股票公式-股票指标www.gs6699.com}
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,0,0),COLORBROWN;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,0,0),COLORYELLOW;
sddss3:=BARSLAST(REF(CROSS(sddss1,sddss2),1));
sddss4:=REF(CLOSE,sddss3+1)>CLOSE AND sddss1>REF(sddss1,sddss3+1) AND CROSS(sddss1,sddss2);
STICKLINE(sddss4,0,-0.03,1,0),COLOR00FF00;
sddss5:DRAWLINE(sddss3=0,sddss2,sddss4,sddss2,0),COLORRED,LINETHICK4;
DRAWTEXT(sddss4,sddss2,' sddss4'),COLORFF00FF;
sddss6:=BARSLAST(REF(CROSS(sddss2,sddss1),1));
sddss7:=REF(CLOSE,sddss6+1)<CLOSE AND REF(sddss1,sddss6+1)>sddss1 AND CROSS(sddss2,sddss1);
STICKLINE(sddss7,0,0.03,1,0),COLORMAGENTA;
sddss8:DRAWLINE(sddss6=0,sddss2,sddss7,sddss2,0),COLORGREEN,LINETHICK4;
DRAWTEXT(sddss7,sddss2,' sddss7'),COLORGREEN;