SHORT:=6;
LONG:=13;
MID:=5;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
macd:=(DIF-DEA)*2,COLORSTICK;
AAA1:=(DIF-DEA)*2*60;
AAA上:IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL),NODRAW;
AAA下:IF(AAA1
买入线:15,DOTLINE,COLORBLUE;
房子:AAA1-REF(AAA1,1),COLORRED;
DRAWTEXT(crOSS(房子,买入线),买入线,'↖无未来'),COLORYELLOW;
DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA1:=EMA(DIF1,9);
AAA11:=(DIF1-DEA1)*2*60;
AAA上上:IF(AAA11>REF(AAA11,1),AAA11,DRAWNULL),NODRAW;
AAA下下:IF(AAA1
房子未来:AAA11-REF(AAA11,1),COLORWHITE;
DRAWICON(CROSS(房子未来,买入线),买入线,1);
DRAWTEXT_FIX(1,0.0,0.0,0,' 两线信号同步出现,或者短期内一前一后出现时,注意上涨,配合SAR使用 ! 主图指标同步出现“金手指”时也要注意!'),COLORWHITE;