牛股、优质股、优质白马股、大牛股、大妖股选股源码,由股典钟炒股机器人量化交易系统电脑版倾情奉献
来源:广东广州股典钟炒股机器人量化交易系统电脑版 | 作者:股典钟涨停王 | 发布时间: 2022-03-29 | 1006 次浏览 | 分享到:
适合千万及亿级以上的资金使用,准确率很高。不懂的别乱用。

{基本面优秀}
净资收益率:=(FINANCE(33)/FINANCE(34)*100);
主营利润率:=(FINANCE(23)/FINANCE(20)*100);
主营业增长率:=FINANCE(44);
每股净资产:=CONST(FINANCE(34));
每股收益:=CONST(FINANCE(38));
净利润增长率:=FINANCE(43);
现金负债比:=(FINANCE(25)/FINANCE(15));
每股未分配:=CONST(FINANCE(32));
每股公积金:=CONST(FINANCE(18));
SY01:=净资收益率>3;
SY02:=净资收益率>0.01 AND 净资收益率<=3;
SY03:=主营利润率>2;
SY04:=主营利润率>0;
SY05:=主营业增长率>1;
SY06:=主营业增长率>0;
SY07:=净利润增长率>2;
SY08:=净利润增长率>0.2;
SY09:=每股收益>0.01;
SY10:= 每股收益>0.001;
SY11:=每股净资产>2;
SY12:=每股净资产>0.01;
SY13:=每股未分配>0.5;
SY14:=每股未分配>0.001;
SY15:=每股公积金>0.5;
SY16:=每股公积金>0.002;
优秀:=SY01 AND SY03 AND SY05 AND SY07 AND SY09 AND SY11
AND SY13 AND SY15;
较好:=SY02 AND SY04 AND SY06 AND SY08 AND SY10 AND SY12
AND SY14 AND SY16;
一般:=NOT(优秀) AND NOT(较好);
基本面优秀:=优秀 AND 较好=0;

{财务业绩}
AA1:= (1-FINANCE(21)/FINANCE(20))*100>20{(1-营业成本/营业收入)*100>20};
AA2:= (FINANCE(23)/FINANCE(20))*100>10{(营业利润/营业收入)*100>10};
AA3:= FINANCE(30)/FINANCE(19)*100*(4/FINANCE(37))>15{净利润/股东权益(净资产)*100*(4/第几季报)>15};
AA4:=FINANCE(9)<55{资产负债率%<55};
AA5:=FINANCE(25)>1{经营现金流量>1};
AA6:=FINANCE(44)>1{收入同比%>1};
毛利率:=(1-FINANCE(21)/FINANCE(20))*100>30;
财务业绩:=AA1 AND AA2 AND AA3 AND AA4 AND AA5 AND AA6 AND 毛利率;
VAR1D:=EMA(EMA(CLOSE,9),9);
VAR2D:=(VAR1D-REF(VAR1D,1))/REF(VAR1D,1)*1000;
VAR3D:=IF(VAR2D>REF(VAR2D,1) AND VAR2D>0,VAR2D,0);
A11A:=FINANCE(18)>2;
B11A:=FINANCE(32)>1;
D11A:=FINANCE(33)/FINANCE(34);
E11A:=A11A AND B11A AND D11A>0.08 AND REF(D11A,1)>0.08 AND REF(D11A,2)>0.08;

主力持仓:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
指数趋势:=EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3);
主力筹码集中度:=WINNER(C)*100;
{过滤}
除业绩后退股:=FINANCE(30)>=REF(FINANCE(30),130);
D0:=除业绩后退股;
本月解禁:=INBLOCK('本月解禁');
非本月解禁:=NOT(INBLOCK('本月解禁'));
解禁股:=BARSCOUNT(FINANCE(42))<245 AND BARSCOUNT(FINANCE(42))>220;
非解禁股:=NOT(INBLOCK('解禁股'));
二年解禁股:=BARSCOUNT(FINANCE(42))<485 AND BARSCOUNT(FINANCE(42))>460;
非二年解禁股:=NOT(INBLOCK('二年解禁股'));
三年解禁股:=BARSCOUNT(FINANCE(42))<730 AND BARSCOUNT(FINANCE(42))>700;
非三年解禁股:=NOT(INBLOCK('三年解禁股'));
{删拟减持股}
非拟减持1:=NOT(INBLOCK('拟减持'));
{删除不活跃股}
非不活跃股:=NOT(INBLOCK('不活跃股'));
{删除商誉减值}
非商誉减值:=NOT(INBLOCK('商誉减值'));
{删除高管减持}
非高管减持:=NOT(INBLOCK('高管减持'));
{删除次新股}
非次新股:=NOT(INBLOCK('次新股'));
换手率:=V/CAPITAL*100;     
S1:=DYNAINFO(39)>0 AND DYNAINFO(39)<100;
过滤低价:=DYNAINFO(7)>3.8  AND 换手率>3;
{排除}
ER5:=NOT(NAMELIKE('S') OR NAMELIKE('*S'))&&VOL>1&&DYNAINFO(39)>1;{去除ST和停牌股}
ER6:=BARSLASTCOUNT(FINANCE(7)=REF(FINANCE(7),1))>=60&&ER5; {去除除权股};
去ST:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S'));
去创业板:=IF(CODELIKE('300'),0,1);
去停牌:=DYNAINFO(17)>0;
过滤:=非本月解禁  AND 非解禁股 AND 非二年解禁股 AND 非三年解禁股 AND D0 AND 非拟减持1 AND 非不活跃股 AND 非商誉减值 AND 非高管减持 AND 非次新股 AND  ER5 AND ER6 AND 去ST AND 过滤低价 AND S1 AND  去创业板 AND 去停牌;
CX:基本面优秀 AND 财务业绩 AND VAR3D>0 AND 指数趋势 AND 主力筹码集中度>主力持仓 AND 过滤;