V5:=MA(VOL,5);
V20:=MA(VOL,20);
V90:=MA(VOL,90);
X1:=COUNT(CROSS(V5,V20),5)=1;
X2:=COUNT(CROSS(V5,V90),5)=1;
X3:=REF(COUNT(V5>V90,40),6)=0;
X4:=COUNT(V20>V90,40)=0;
VV:=V90/CAPITAL*100;
QPX:=X1 AND X2 AND X3 AND X4 AND VV<2;
起跑线:IF(QPX AND COUNT(QPX,5)=1,10,0);
九毛八公式解读
V5赋值:成交量(手)的5日简单移动平均 V20赋值:成交量(手)的20日简单移动平均 V90赋值:成交量(手)的90日简单移动平均 X1赋值:统计5日中满足V5上穿V20的天数=1 X2赋值:统计5日中满足V5上穿V90的天数=1 X3赋值:6日前的统计40日中满足V5>V90的天数=0 X4赋值:统计40日中满足V20>V90的天数=0 VV赋值:V90/当前流通股本(手)*100 QPX赋值:X1 AND X2 AND X3 AND X4 AND VV<2 输出起跑线:如果QPXANDCOUNT(QPX,5)=1,返回10,否则返回0