D1:=IF(CODELIKE('300'),0,1);
{创业板 }
D2:=IF(NAMELIKE('S'),0,1);
D3:=IF(NAMELIKE('*'),0,1);
{去掉停牌 >=}
D4:=DYNAINFO(17)>0;
去掉:=D1 AND D2 AND D3 AND D4;
股价:=C>=7.00 AND C<20;
A1:=FINANCE(43)>50 AND FINANCE(44)>30 AND
FINANCE(43)>FINANCE(44) AND FINANCE(34)>2
AND FINANCE(1)<1000000000 AND FINANCE(30)>0
AND FINANCE(28)>0.05*FINANCE(20);
A2:=SMA(C,30,1);
A3:=REF(A2,1);
XG:A1=1 AND A2>=A3-0.01 AND 去掉 AND 股价
&& C/REF(C,1)>=1.015 AND DYNAINFO(17)>=0.55;
九毛八公式解读
D1赋值:如果模糊匹配品种代码,返回0,否则返回1 D2赋值:如果模糊匹配品种名称,返回0,否则返回1 D3赋值:如果模糊匹配品种名称,返回0,否则返回1 D4赋值:量比>0 去掉赋值:D1 AND D2 AND D3 AND D4 股价赋值:收盘价>=7.00 AND 收盘价<20 A1赋值:利润同比%>50 AND 收入同比%>30 ANDFINANCE(43)>收入同比% AND 每股净资产>2AND 总股本(股)<1000000000 AND 净利润>0AND 利润总额>0.05*营业收入 A2赋值:收盘价的30日[1日权重]移动平均 A3赋值:1日前的A2 输出XG:A1=1 AND A2>=A3-0.01 AND 去掉 AND 股价并且 收盘价/1日前的收盘价>=1.015 AND 量比>=0.55