手机端
当前位置:爱约股 > 公式技巧 > 將起涨点选股公式改為飞狐的

將起涨点选股公式改為飞狐的

 网友求助:

{起涨点选股}
换手率%:=VOL/CAPITAL*100;
量比:=V/(REF(MA(V,5),1));
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
虚拟量比:=VVOL/(REF(MA(V,5),1));
获利比例%:=WINNER(C)*100;
涨幅%:=(C-REF(C,1))/REF(C,1)*100;
换手率%1:=换手率%>5;
量比1:=量比>1.5 OR 虚拟量比>1.5;
获利比例%1:=获利比例%>70;
涨幅%1:=涨幅%>3;
K:=REF(获利比例%,1)<20;
启动:=换手率%1 AND 量比1 AND 获利比例%1 AND 涨幅%1 AND K ;
起涨点:IF(启动,1,0);
 

 

解答如下:

换手率%:=VOL/CAPITAL*100;
量比:=V/(REF(MA(V,5),1));
VVOL:=IF(DATACOUNT-BARPOS+1=1 AND DATATYPE=6,VOL*240/OPENMINUTES(CURRENTTIME),0);
虚拟量比:=VVOL/(REF(MA(V,5),1));
获利比例%:=WINNER(C)*100;
涨幅%:=(C-REF(C,1))/REF(C,1)*100;
换手率%1:=换手率%>5;
量比1:=量比>1.5 OR 虚拟量比>1.5;
获利比例%1:=获利比例%>70;
涨幅%1:=涨幅%>3;
K:=REF(获利比例%,1)<20;
启动:=换手率%1 AND 量比1 AND 获利比例%1 AND 涨幅%1 AND K ;
起涨点:IF(启动,1,0);

分享至:

相关推荐