去ST:=IF(NAMELIKE('S'),0,1);
去科创板:=NOT(CODELIKE('688'));
去创业板:=NOT(CODELIKE('3'));
去星星:=IF(NAMELIKE('*'),0,1);
去大股:=CAPITAL/1000000 <10;
去新股:=IF(NAMELIKE('N'),0,1);
去次新股:=FINANCE(42) > 60;
去昨一字盘:=REF(H,1) > REF(L,1);
条件限定:=去ST AND 去科创板 AND 去创业板 AND 去星星 AND 去大股 AND 去新股 AND 去次新股 AND 去昨一字盘 ;
LOWV:=LLV(LOW,10);
HIGHV:=HHV(HIGH,10);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,4);
K:=EMA(RSV,4);
D:=MA(K,4);
多空常见的差距:=(K-D)*2;
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
F:=MA(J,3);
G:=MA(J,1);
超短常见差距:=(G-F);
信号评分:=IF(COUNT(C/REF(C,1)>1.0985,120)>=20 AND BARSCOUNT(C)>=20 AND C/REF(C,1)>=1.02,85,IF(COUNT(C/REF(C,1)>1.0985,120)>=18 AND COUNT(C/REF(C,1)>1.0985,120)<20 AND BARSCOUNT(C)>=20 AND C/REF(C,1)>=1.02,80,
IF(COUNT(C/REF(C,1)>1.0985,120)>=15 AND COUNT(C/REF(C,1)>1.0985,120)<18 AND BARSCOUNT(C)>=20 AND C/REF(C,1)>=1.02,75,IF(COUNT(C/REF(C,1)>1.0985,120)>=12 AND COUNT(C/REF(C,1)>1.0985,120)
<15 AND BARSCOUNT(C)>=20 AND C/REF(C,1)>=1.02,70,
IF(COUNT(C/REF(C,1)>1.0985,120)>=9 AND COUNT(C/REF(C,1)>1.0985,120)<12 AND BARSCOUNT(C)>=20 AND C/REF(C,1)>=1.02,65,IF(COUNT(C/REF(C,1)>1.0985,120)>=9 AND COUNT(C/REF(C,1)>1.0985,120)<12 AND BARSCOUNT(C)>=20 AND C/REF(C,1)>=1.02,60,
IF(COUNT(C/REF(C,1)>1.0985,120)>=7 AND COUNT(C/REF(C,1)>1.0985,120)<9 AND BARSCOUNT(C)>=20 AND C/REF(C,1)>=1.02,55,IF(COUNT(C/REF(C,1)>1.0985,120)>=4 AND COUNT(C/REF(C,1)>1.0985,120)<7 AND BARSCOUNT(C)>=20 AND C/REF(C,1)>=1.02,50,
IF(COUNT(C/REF(C,1)>1.0985,120)>=2 AND COUNT(C/REF(C,1)>1.0985,120)<4 AND BARSCOUNT(C)>=20 AND C/REF(C,1)>=1.02,45,IF(COUNT(C/REF(C,1)>1.0985,120)>=1 AND COUNT(C/REF(C,1)>1.0985,120)<2 AND BARSCOUNT(C)>=20 AND C/REF(C,1)>=1.02,35,0))))))))));
ZT:=(CLOSE>=ZTPRICE(REF(CLOSE,1),0.1));
涨停3520:信号评分>=35 AND COUNT(ZT,60)>=1 AND DYNAINFO(8)>0 AND REF(COUNT(ZT,3)=0,1) AND O/REF(C,1)<1.02 AND 多空常见的差距>0 AND D>30 AND 超短常见差距>0.20 AND 条件限定,LINETHICK3,COLORYELLOW;
九毛八公式解读
去ST赋值:如果模糊匹配品种名称,返回0,否则返回1 去科创板赋值:取反 去创业板赋值:取反 去星星赋值:如果模糊匹配品种名称,返回0,否则返回1 去大股赋值:当前流通股本(手)/1000000 <10 去新股赋值:如果模糊匹配品种名称,返回0,否则返回1 去次新股赋值:上市的天数 > 60 去昨一字盘赋值:1日前的最高价 > 1日前的最低价 条件限定赋值:去ST AND 去科创板 AND 去创业板 AND 去星星 AND 去大股 AND 去新股 AND 去次新股 AND 去昨一字盘 LOWV赋值:10日内最低价的最低值 HIGHV赋值:10日内最高价的最高值 RSV赋值:(收盘价-LOWV)/(HIGHV-LOWV)*100的4日指数移动平均 K赋值:RSV的4日指数移动平均 D赋值:K的4日简单移动平均 多空常见的差距赋值:(K-D)*2 VAR1赋值:(2*收盘价+最高价+最低价)/4 VAR2赋值:VAR1的4日指数移动平均的4日指数移动平均的4日指数移动平均 J赋值:(VAR2-1日前的VAR2)/1日前的VAR2*100 F赋值:J的3日简单移动平均 G赋值:J的1日简单移动平均 超短常见差距赋值:(G-F) 信号评分赋值:如果统计120日中满足收盘价/1日前的收盘价>1.0985的天数>=20ANDBARSCOUNT(收盘价)>=20ANDC/1日前的收盘价>=1.02,返回85,否则返回如果统计120日中满足收盘价/1日前的收盘价>1.0985的天数>=18ANDCOUNT(收盘价/1日前的收盘价>1.0985,120)<20ANDBARSCOUNT(收盘价)>=20ANDC/1日前的收盘价>=1.02,返回80,否则返回如果统计120日中满足收盘价/1日前的收盘价>1.0985的天数>=15ANDCOUNT(收盘价/RE,返回?,否则返回? ZT赋值:(收盘价>=计算涨停价) 输出涨停3520:信号评分>=35 AND 统计60日中满足ZT的天数>=1 AND 总量>0 AND 1日前的统计3日中满足ZT的天数=0 AND 开盘价/1日前的收盘价<1.02 AND 多空常见的差距>0 AND D>30 AND 超短常见差距>0.20 AND 条件限定,线宽为3,画黄色