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,LINETHICK1;
AAA下:IF(AAA1<REF(AAA1,1),AAA1,DRAWNULL),STICK,COLORYELLOW,LINETHICK1;
黑码线:15;
主力:AAA1-REF(AAA1,1),COLORRED;
DRAWICON(crOSS(主力,黑码线),黑码线,1);
中轴线:0;
关注线:7;
MM:=主力>30 AND 主力<70 AND AAA上>0 ;
DRAWTEXT(MM,(主力)*(0.928),'抢买'),COLORFF00FF;
MM1:=主力>15 AND 主力<30 AND AAA上>0;
DRAWTEXT(MM1,(主力)*(0.928),'关注'),COLORYELLOW;
MM2:=主力>80 AND AAA上>0 ;
DRAWTEXT(MM2,(主力)*(0.928),'翻翻涨'),COLORRED;
MM3:=CROSS(主力,2) AND CROSS(AAA上,0.5) AND 主力>AAA上 AND 主力<15;
DRAWTEXT(MM3,(主力)*(0.928),'关注'),COLORFFFF00;