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,COLORRED,LINETHICK8;
AAA下:IF(AAA1 REF(AAA1,1),AAA1,DRAWNULL),STICK,COLORGREEN,LINETHICK8;
黑码线:15;
主力:AAA1-REF(AAA1,1),COLORRED;
DRAWICON(CROSS(主力,黑码线),黑码线,1);
中轴线:0;
关注线:8;
MM:=主力 49 AND 主力 70 AND AAA上
DRAWTEXT(MM,(主力)*(0.928),'五星钻石'),COLORFF00FF;