VAR1:=HHV(HIGH,70);
DD:=VAR1*0.83;
DDC:=EXIST(DD/L>1.08,10);
A1:=COST(85);
A2:=COST(15);
A3:=A1-A2;
A4:=(A1+A2)/2;
DM:=A3/A4*100<15;
DMCX:=LAST(DM,15,1);
B1:=MA(C,13)<REF(MA(C,13),1);
SSRP:=MA(SSRP,1);
ZLBT:= DMCX AND SSRP/L>1.18 ;
TJ:=EXIST(ZLBT,2);
SJT:=C/REF(C,10);
DS:=SJT<=0.85;
LTP:=FINANCE(7)<1500000000;
S1:=IF(CODELIKE('300'),0,1);
S2:=IF(NAMELIKE('S'),0,1);
S3:=IF(NAMELIKE('*'),0,1);
GJFW:=DYNAINFO(7)>5 AND DYNAINFO(7)<20;
找深套买:TJ AND DDC AND B1 AND DS AND LTP AND S1 AND S2 AND S3 AND GJFW;
九毛八公式解读
VAR1赋值:70日内最高价的最高值 DD赋值:VAR1*0.83 DDC赋值:最近10日存在DD/最低价>1.08 A1赋值:获利盘为85%的成本分布 A2赋值:获利盘为15%的成本分布 A3赋值:A1-A2 A4赋值:(A1+A2)/2 DM赋值:A3/A4*100<15 DMCX赋值:从前15日到前1日持续DM B1赋值:收盘价的13日简单移动平均<1日前的收盘价的13日简单移动平均 SSRP赋值:SSRP的1日简单移动平均 ZLBT赋值: DMCX AND SSRP/最低价>1.18 TJ赋值:最近2日存在ZLBT SJT赋值:收盘价/10日前的收盘价 DS赋值:SJT<=0.85 LTP赋值:流通股本(股)<1500000000 S1赋值:如果模糊匹配品种代码,返回0,否则返回1 S2赋值:如果模糊匹配品种名称,返回0,否则返回1 S3赋值:如果模糊匹配品种名称,返回0,否则返回1 GJFW赋值:现价>5 AND 现价<20 输出找深套买:TJ AND DDC AND B1 AND DS AND LTP AND S1 AND S2 AND S3 AND GJFW