飞狐股票公式之换手率预测
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);{天数可调}
N天总换手%:SUM(hs,N天),LINETHICK0;
aa:=if(jd,SUMBARS(VOL,bb),0);{在此打一回车,使下面空一行}
完成换手天数: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;
(南方财富网SOUTHMONEY.COM)
延伸阅读
|
要闻导读
|
||||||||||
|