UID46896
积分408
学分
推广 个
预报后涨停 支
阅读权限40
在线时间 小时
注册时间2010-1-14
最后登录1970-1-1
|
谢谢,很好。我稍加改动,合三为一。
A3:=ABS(REF(C,2)-REF(O,2))/REF(O,2)<0.012;{前天星形}
A2:=(REF(O,1)-REF(C,1))/REF(O,1)<0.008;{昨天星形}
B1:=IF(REF(C,2)>REF(O,2),REF(O,2),REF(C,2));
B2:=IF(REF(C,1)<REF(O,1),REF(O,1),REF(C,1));
B3:=IF(C>O,O,C);
B4:=B1>B2 AND B3>B2 AND REF(C,1)<MA(C,5);
A1:=ABS(C-O)/O<0.012;{今天星形}
B5:=IF(REF(C,1)<REF(O,1),REF(O,1),REF(C,1));
B6:=IF(REF(C,2)>REF(O,2),REF(O,2),REF(C,2));
B7:=B5<B6;
B8:=IF(REF(C,2)>REF(O,2),REF(O,2),REF(C,2));
B9:=IF(REF(C,1)<REF(O,1),REF(O,1),REF(C,1));
B10:=IF(C>O,O,C);
B11:=B8>B9 AND B10>B9 AND REF(C,1)<MA(C,5);
OK:A3 AND A2 AND A1 AND B4 or A3 AND A2 AND A1 AND B7 or A3 AND A2 AND A1 AND B11; |
|