X_1:=(HIGH+LOW)/2;
X_2:=EMA(X_1,3);
X_3:=IF(CLOSE>X_2,VOL,0);
X_4:=IF(CLOSE<X_2,VOL,0);
X_5:=(X_2-LLV(X_2,144))/(HHV(X_2,144)-LLV(X_2,144))*100;
X_6:=SUM(X_3-X_4,5);
X_7:=EMA(X_6,7)-EMA(X_6,340);
X_8:=EMA(X_7,7);
X_9:=CROSS(X_7,X_8);
X_10:=CROSS(X_8,X_7);
X_11:=COUNT(X_5<15,3)>=1 AND CROSS(X_5,3);
X_12:=COUNT(X_5>80,3)>=1 AND CROSS(98.5,X_5);
底:X_9 AND X_11;
九毛八公式解读
X_1赋值:(最高价+最低价)/2 X_2赋值:X_1的3日指数移动平均 X_3赋值:如果收盘价>X_2,返回成交量(手),否则返回0 X_4赋值:如果收盘价=1 AND X_5上穿3 X_12赋值:统计3日中满足X_5>80的天数>=1 AND 98.5上穿X_5 输出底:X_9 AND X_11