通达信好用MACD指标公式.docx
通达信好用MACD指标公式_正点财经BIAS1:=(CLOSE-MA(CLOSE,6)/MA(CLOSE,6)*100;BIAS2:=(CLOSE-MA(CLOSE,12)/MA(CLOSE,12)*100;BIAS3:=(CLOSE-MA(CLOSE,24)/MA(CLOSE,24)*100;短跌选股:IF(BIAS1=-6,1,0);中跌选股:IF(BIAS2=-10,1,0);长跌选股:IF(BIAS3=-16,1,0);DIF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIF,9);MACD:(DIF-DEA)*2,COLORSTICK;VAR1:=(CLOSE*2+HIGH+LOW)/4;VAR2:=EMA(VAR1,13)-EMA(VAR1,34);VAR3:=EMA(VAR2,5);空方:=(-2)*(VAR2-VAR3)*3.8;多方:=2*(VAR2-VAR3)*3.8;CROSS(多方,空方)ANDCOUNT(CROSS(多方,空方),7)=2;通达信好用MACD指标公式实例图解:通达信好用MACD指标公式