QUOTE:
成交:VOL,COLORFFFF00,LINETHICK0;
TT:=ESTDATA(12);
bb:=IF(CAPITAL<1,TT*100,CAPITAL);
hs:=成交*100/bb;
換手%:hs,LINETHICK0;
wv:=MA(hs,5);
jd:=SYSPARAM(1);
預測換手%:IF(BARSTATUS=2 and DYNAINFO(17)>0 ,DYNAINFO(17)*ref(wv,1),hs),COLORffffff,LINETHICK0;
INPUT:N天(5);{天數(shù)可調}
N天總換手%:SUM(hs,N天),LINETHICK0;
aa:=if(jd,SUMBARS(VOL,bb),0);{在此打一回車,使下面空一行}
完成換手天數(shù):aa,LINETHICK0;
vc:=預測換手%;
vo:=REF(vc,1);
vh:=HHV(vc,3);
vl:=LLV(vc,3);
VAv1:=(vC-MA(vC,21))/MA(vC,21)*100;
VAv2:=(vC-llv(vL,43))/(HHV(vH,43)-LLV(vL,43))*100;
VAv3:=SMA(VAv2,2,1);
STICKLINE(vc>vo,vl,vh,1,0),colorred;
STICKLINE(vc>vo,vo,vc,8,1),color1133;
STICKLINE(vc>vo,vo,vc,7,1),color2244;
STICKLINE(vc>vo,vo,vc,6,1),color3355;
STICKLINE(vc>vo,vo,vc,5,1),color4477;
STICKLINE(vc>vo,vo,vc,4,1),color5599;
STICKLINE(vc>vo,vo,vc,3,1),color66aa;
STICKLINE(vc>vo,vo,vc,2,1),color77dd;
STICKLINE(vc>vo,vo,vc,0.5,1),color88ff;
STICKLINE(vcSTICKLINE(vcSTICKLINE(vcSTICKLINE(vcSTICKLINE(vcSTICKLINE(vcSTICKLINE(vcSTICKLINE(vcSTICKLINE(vcDRAWTEXT(SYSPARAM(1)-STRTONUM(NUMTOSTR(REF(aa,BARPOS-SYSPARAM(1)),0))= BARSCOUNT(CLOSE) ,5,'此日后'+NUMTOSTR(REF(aa,BARPOS-SYSPARAM(1)),0)+'\n天完全換手'),colorffff,ALIGN0;
DRAWTEXT(SYSPARAM(1)-STRTONUM(NUMTOSTR(REF(aa,BARPOS-SYSPARAM(1)),0))=BARSCOUNT(CLOSE) ,3,'★'),colorff,ALIGN0;
a:=(vc-LLV(vl,9))/(HHV(vh,9)-LLV(vl,9))*10;
b:SMA(a,3,1);
cc:SMA(b,3,1);
dd:2*b-1*cc;
(南方財富網(wǎng)SOUTHMONEY.COM)