%>
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,60);
MA5:MA(CLOSE,120);
MA6:MA(CLOSE,250);
启明灯1:=(EMA(CLOSE,3) - EMA(CLOSE,13));
启明灯2:=EMA(启明灯1,9);
启明灯3:=BARSLAST(CROSS(启明灯1,启明灯2));
启明灯4:=REF(启明灯3,启明灯3+1);
启明灯5:=启明灯2<REF(启明灯2,启明灯4);
启明灯:=CROSS(启明灯1,启明灯2) AND 启明灯5;
DRAWTEXT(启明灯>0,L*0.97,'启明灯'),COLORYELLOW;
STICKLINE(启明灯>0,H,L,6,0),LINETHICK1,COLORRED;
STICKLINE(启明灯>0,H,L,0.2,0),COLORYELLOW;
STICKLINE(启明灯>0,O,C,2,0),LINETHICK1,COLORYELLOW;
DRAWICON(启明灯>0,(H+L)/2,7);
{股票教程网-http://gpzyw.net承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}