dif1:=Ema(DCLOSE,12)-ema(DCLOSE,26);
DEA1:=EMA(DIF1,9);
{柱状线}
AAA1:=(DIF1-DEA1)*2*60;
AAA上:IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL),STICK,COLORWHITE,LINETHICK8;
AAA下:IF(AAA1<REF(AAA1,1),AAA1,DRAWNULL),STICK,COLORCYAN,LINETHICK8;
黑码线:15;
主力:AAA1-REF(AAA1,1),COLORWHITE;
DRAWICON(crOSS(主力,黑码线),黑码线,1);
中轴线:0;
关注线:8;
MM:=主力>49 AND 主力<70 AND AAA上>0 ;
DRAWTEXT(MM,(主力)*(0.928),'五星钻石'),COLORFF00FF;