大智慧持股生命线主图指标公式
Var1:=vol*(o+c)/2;
搏杀生命线:sum(Var1,88)/sum(VOL,88),colorff80ff,linethick2;
搏杀持股线FL:hhv(ma(C,17),2),color00d500;
FS:if(ma(C,17)<搏杀持股线FL,(ma(C,17)-(搏杀持股线FL-ma(C,17))),搏杀持股线FL),color80ffff,linethick2;
DRAWTEXTAbs(5,5,'指标网 www.zhibiaow.com'),linethick1,COLOR00EEff;
CG:ma(C,17),linethick2,colorf4e202;
var2:=MA((OPEN+CLOSE+HIGH+LOW)/4,46);
aa:=(CLOSE>var2
AND CLOSE>MA(CLOSE, 5)) or (c<var2 and c>ma(c,5) and
c>FS);
bb:=(CLOSE<var2 and c<ma(c,5)) or (c>var2 and
c<ma(c,5));
cc:=if(aa and
bb,0,1);
stICKLINE(cc,CLOSE,OPEN,8,1),COLORYELLOW;
STICKLINE(cc,HIGH,max(c,o),0.8,0),COLORYELLOW;
STICKLINE(cc,min(c,o),LOW,0.8,0),COLORYELLOW;
STICKLINE(aa,CLOSE,OPEN,8,0),COLORRED;
STICKLINE(aa,HIGH,LOW,0.8,0),COLORRED;
STICKLINE(bb,CLOSE,OPEN,8,0),COLORGREEN;
STICKLINE(bb,HIGH,LOW,0.8,0),COLORGREEN;