指导线:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2);
买:IF(CROSS(指导线,界) OR CROSS(买线,卖线),C,DRAWNULL),COLORMAGENTA,NODRAW;
{www.9m8.cn 九毛八公式指标网 股票软件下载网_最新股票指标公式}
卖:IF(CROSS(界,指导线) OR CROSS(卖线,买线),C,DRAWNULL),COLORLIGRAY,NODRAW;
K:=(C+H+L)/3;
D:=MA(K,4);
DRAWTEXT(REF(C,1) D AND C D AND D REF(D,1),H*1.02, '卖');
DRAWTEXT(REF(C,1) D AND C D AND D REF(D,1),L*0.98, '买'),COLORWHITE;