主力加減倉(cāng):=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100; aa1:=SMA(主力加減倉(cāng),10,1);{通達(dá)信指標(biāo)公式WWW.HAO169CN.COM} aa2:=SMA(aa1,5,1); aa3:=INTPART(aa1); aa5:=INTPART(aa2); bbss:=aa3+aa5,LINETHICK0,COLORYELLOW; bbssq:=(bbss-REF(bbss,1))*10,LINETHICK0,COLORGREEN; bbssr:=bbss+bbssq,LINETHICK0,COLORGREEN; 通達(dá)信:bbss,LINETHICK0,COLORYELLOW; 指標(biāo)公式:bbssq,LINETHICK0,COLORGREEN; 神器版:bbssr,LINETHICK0,COLORCYAN; STICKLINE(bbssq>0,100,100+bbssq,4,0),COLOR0000CC; STICKLINE(bbssq>0,100,100+bbssq,3,0),COLOR0000DD; STICKLINE(bbssq>0,100,100+bbssq,2,0),COLOR0000EE; STICKLINE(bbssq<0,100,100+bbssq,3,0),COLOR00DD00; STICKLINE(bbssq<0,100,100+bbssq,2,0),COLOR00EE00; STICKLINE(bbssq<0,100,100+bbssq,1,0),COLOR00FF00; STICKLINE(bbssq=0 AND REF(bbssq,1)>=0,100,100+bbssq,8,0),COLORRED; STICKLINE(bbssq=0 AND REF(bbssq,1)<0,100,100+bbssq,8,0),COLORGREEN; IF(bbss<160 AND bbss>50,bbss,DRAWNULL),LINETHICK2,COLORFF66FF; IF(bbss>50 AND bbss<160 AND bbss<REF(bbss,1),bbss,DRAWNULL),LINETHICK2,COLORWHITE; IF(bbss<=50,bbss,DRAWNULL),LINETHICK2,COLORYELLOW; IF(bbss>=160,bbss,DRAWNULL),LINETHICK2,COLORBLUE; IF(C>0,bbssr,DRAWNULL),COLORCYAN; |
|