var1:=LLV(L,10);
var2:=HHV(H,25);
动力线:EMA((C-var1)/(var2-var1)*4,4),colorff;
底部线:0.2,colorff;
关注线:0.5,colorff60ff;
警戒线:2.8,colorffff00;
减仓线:3.2;
卖出线:3.5;
var3:=WINNER(C*96/100)*100;
var4:=EMA(var3,10);
var5:=var4>65;
var6:=var4>80;
PARTLINE(动力线<0.5,动力线),colorff0000;
PARTLINE(动力线>=0.5 AND 动力线<=3.2 AND EMA(动力线,3)
STICKLINE(动力线>REF(动力线,1),动力线,REF(动力线,1),8,1),colorff0000;
STICKLINE(动力线<=REF(动力线,1),动力线,REF(动力线,1),8,1),colorff0000;
{ _最新股票指标公式}
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);