VAR1:=EMA(EMA(CLOSE,13),13);
VAR2:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
VAR3:=DYNAINFO(11);
VAR4:=(EMA(CLOSE,8)-EMA(CLOSE,55))*10;
VAR5:=EMA(VAR4,3);
VAR6:=(C-VAR3)/VAR3<-0.03;
VAR7:=VAR2>REF(VAR2,1) AND VAR2<-0.2;
VAR8:=CROSS(VAR4,VAR5) AND VAR4<-0.3;
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;
XG:FILTER(VAR6 AND VAR7 AND VAR8,13) AND LTP AND S1 AND S2 AND S3 AND GJFW;
九毛八公式解读
VAR1赋值:收盘价的13日指数移动平均的13日指数移动平均 VAR2赋值:(VAR1-1日前的VAR1)/1日前的VAR1*1000 VAR3赋值:均价 VAR4赋值:(收盘价的8日指数移动平均-收盘价的55日指数移动平均)*10 VAR5赋值:VAR4的3日指数移动平均 VAR6赋值:(收盘价-VAR3)/VAR3<-0.03 VAR7赋值:VAR2>1日前的VAR2 AND VAR2<-0.2 VAR8赋值:VAR4上穿VAR5 AND VAR4<-0.3 LTP赋值:流通股本(股)<1500000000 S1赋值:如果模糊匹配品种代码,返回0,否则返回1 S2赋值:如果模糊匹配品种名称,返回0,否则返回1 S3赋值:如果模糊匹配品种名称,返回0,否则返回1 GJFW赋值:现价>5 AND 现价<20 输出XG:VAR6ANDVAR7ANDVAR8的13日过滤 AND LTP AND S1 AND S2 AND S3 AND GJFW