N:=2,120,20;
BOLL:=MA(CLOSE,N);
A:=MA(CLOSE,1);
JRS1:=HHV(C,30)=C AND C>O;
UP:=CLOSE<OPEN;
JRS2:=COUNT(UP,3)=2;
JRS3:=A>BOLL;
JRS4:=V/REF(V,1)>1.2;
JRS5:=COUNT(UP,4)=3;
JRS6:=COUNT(UP,5)=4;
XG:CROSS((JRS1 AND (JRS2 OR JRS5 OR JRS6) AND JRS3 AND JRS4),0.8);
九毛八公式解读
N赋值:2,120,20 BOLL赋值:收盘价的N日简单移动平均 A赋值:收盘价的1日简单移动平均 JRS1赋值:30日内收盘价的最高值=收盘价 AND 收阳线 UP赋值:收阴线 JRS2赋值:统计3日中满足UP的天数=2 JRS3赋值:A>BOLL JRS4赋值:成交量(手)/1日前的成交量(手)>1.2 JRS5赋值:统计4日中满足UP的天数=3 JRS6赋值:统计5日中满足UP的天数=4 输出XG:(JRS1AND(JRS2ORJRS5ORJRS6)ANDJRS3ANDJRS4)上穿0.8