VVV:=IF(ISLASTBAR AND PERIOD=5,VOL*240/MIN(FROMOPEN,240),V);
A1:=WINNER(C)*100;
A2:=(WINNER(C*1.07)-WINNER(C*0.93))*85;
A3:=A1>=85 AND A2<30;
OKX:=A3 AND VVV/CAPITAL*100<5;
OK1:=COUNT(OKX,5)>=1;
A4:=MA((H+2*C)/3,20);
OK2:=COUNT(C>A4,2)=2 AND REF(C>A4,3)=0;
XG:OK1 AND OK2;
九毛八公式解读
VVV赋值:如果ISLASTBARANDPERIOD=5,返回成交量(手)*240/当前离开盘分钟数和240的较小值,否则返回成交量(手) A1赋值:以收盘价计算的获利盘比例*100 A2赋值:(以收盘价*1.07计算的获利盘比例-以收盘价*0.93计算的获利盘比例)*85 A3赋值:A1>=85 AND A2<30 OKX赋值:A3 AND VVV/当前流通股本(手)*100<5 OK1赋值:统计5日中满足OKX的天数>=1 A4赋值:(最高价+2*收盘价)/3的20日简单移动平均 OK2赋值:统计2日中满足收盘价>A4的天数=2 AND 3日前的收盘价>A4=0 输出XG:OK1 AND OK2