PARTLINE(动力线 =0.5 AND 动力线 =3.2 AND EMA(动力线,3) EMA(REF(动力线,1),3),动力线),colorff0000;
PARTLINE(动力线 3.2,动力线),colorff0000;
STICKLINE(动力线 REF(动力线,1),动力线,REF(动力线,1),8,1),colorff0000;
STICKLINE(动力线 =REF(动力线,1),动力线,REF(动力线,1),8,1),colorff0000;
{www.9m8.cn 九毛八公式指标网 股票软件下载网_最新股票指标公式}
DRAWTEXT(CROSS(动力线,警戒线),2.7,'警 '),colorffff00;
DRAWTEXT(CROSS(动力线,减仓线),3.1,'减 '),colorff0000;
DRAWTEXT(CROSS(动力线,卖出线),3.8,'顶 '),colorffffff;
DRAWICON(CROSS(动力线,警戒线),3,5);
DRAWICON(CROSS(动力线,减仓线),3.4,5);
DRAWICON(CROSS(动力线,卖出线),3.9,7);
DRAWTEXT(CROSS(动力线,底部线),0.1,'底'),colorff;
DRAWICON(CROSS(动力线,底部线),0.3,4);
血箭:IF((H-L)/L 0.085 AND (C-O)/O 0.06 AND (O-L)/L 0.05,2.2,0),STICK,Linethick3,colorffffff;
DRAWICON(血箭 1,血箭*1.05,8);
vare:=REF(L,1)*0.9;
varf:=L*0.9;
var100:=(varf*V+vare*(CAPITAL-V))/CAPITAL;
var110:=EMA(var100,30);
var120:=C-REF(C,1);
var130:=MAX(var120,0);
var140:=ABS(var120);