X1:=REF(HHV(C,20),1);
X2:=C>X1;
X3:=REF(C,1);
X4:=(C-X3)*100/X3;
X5:=X4>1.8 AND X4<4;
X6:=(C-X1)*100/X1;
X7:=X6>1 AND X6<4;
X:X5 AND X7 AND X2;
九毛八公式解读
X1赋值:1日前的20日内收盘价的最高值 X2赋值:收盘价>X1 X3赋值:1日前的收盘价 X4赋值:(收盘价-X3)*100/X3 X5赋值:X4>1.8 AND X4<4 X6赋值:(收盘价-X1)*100/X1 X7赋值:X6>1 AND X6<4 输出X:X5 AND X7 AND X2