DIF1:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA1:=EMA(DIF1,9);
{www.9m8.cn}柱状线}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;关注线:=7;
MM:=主力 30 AND 主力 70 AND AAA上
DRAWTEXT(MM,(主力)*(0.928),'暴涨'),COLORFF00FF;
MM1:=主力 15 AND 主力 30 AND AAA上
DRAWTEXT(MM1,(主力)*(0.928),'涨'),COLORYELLOW;
MM2:=主力 80 AND AAA上
DRAWTEXT(MM2,(主力)*(0.928),'翻涨'),COLORMAGENTA;
MM3:=CROSS(主力,2) AND CROSS(AAA上,0.5) AND 主力 AAA上 AND 主力
DRAWTEXT(MM3,(主力)*(0.928),'涨停'),COLORFFFF00;
强势:=MM1 OR MM2 OR MM3 OR MM;
STICKLINE(强势,0,55,0.1,0),COLORYELLOW;