DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
{柱状线}
AAA1:=(DIF-DEA)*2*60;
必涨天上:=IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL);
必涨天下:=IF(AAA1
黑马线:=15;
主力:=AAA1-REF(AAA1,1),COLORRED;
CROSS(主力,黑马线);
DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
{柱状线}
AAA1:=(DIF-DEA)*2*60;
必涨天上:=IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL);
必涨天下:=IF(AAA1
黑马线:=15;
主力:=AAA1-REF(AAA1,1),COLORRED;
CROSS(主力,黑马线);