SUM(IF(TYP REF(TYP,1),TYP*VOL,0),N1),COLORFFFFFF;
LC:=REF(CLOSE,1);
趋势线2:SUM(IF(CLOSE LC,VOL,0),N2)/
SUM(IF(CLOSE =LC,VOL,0),N2),COLOR00FFFF;
顶部线:10,COLORred;
危险线:6,COLORFF00FF;
底部线:1,COLORf0000f;
底部极限:0,COLORffffff;
DRAWTEXTABS(5,5,'股票软件下载网 www.9m8.cn 九毛八公式指标网'),linethick1,COLOR00EEff;
DRAWTEXT(CROSS(趋势线1,危险线),趋势线1,'▼注意卖出'),colorffffff;
DRAWTEXT(CROSS(趋势线2,危险线),趋势线2,'▼注意卖出'),color00ffff;
DRAWTEXT(CROSS(趋势线1,顶部线),趋势线1,'★出货'),colorffffff;
DRAWTEXT(CROSS(趋势线2,顶部线),趋势线2,'★出货'),color00ffff;
DRAWTEXT(FILTER(CROSS(趋势线2,底部线),12),趋势线2,'★注意买入'),colorred;