|
简单改写下如下
VAR1:=AMOUNT/VOL/100;
VAR2:=(VAR1-REF(VAR1,1))/REF(VAR1,1);
VAR3:=100*HSL;
VAR4:=VAR2/VAR3;
0;
VAR5:=SUM(VAR4,10);
VAR6:=(VAR5-REF(VAR5,10))/REF(VAR5,10);
VAR7:=VOL/(HIGH-LOW);
VAR8:=VAR7>REF(VAR7,1);
VAR9:=REF(VAR7,1)>REF(VAR7,2);
ZYJ:=IF(WINNER(CLOSE)<5/100 AND VAR3>0.1 AND VAR8 AND VAR9,VAR6,0);
选股: (EXIST(CROSS(ZYJ,-0.01),5) AND CROSS(MA(C,5),REF(MA(C,5),1))) OR (EXIST(CROSS(ZYJ,0.01),5) AND CROSS(MA(C,5),REF(MA(C,5),1)));
如按原改为
VAR1:=AMOUNT/VOL/100;
VAR2:=(VAR1-REF(VAR1,1))/REF(VAR1,1);
VAR3:=100*HSL;
VAR4:=VAR2/VAR3;
0;
VAR5:=SUM(VAR4,10);
VAR6:=(VAR5-REF(VAR5,10))/REF(VAR5,10);
VAR7:=VOL/(HIGH-LOW);
VAR8:=VAR7>REF(VAR7,1);
VAR9:=REF(VAR7,1)>REF(VAR7,2);
ZYJ:=IF(WINNER(CLOSE)<5/100 AND VAR3>0.1 AND VAR8 AND VAR9,VAR6,0);
选股:CROSS(ZYJ,-0.01) OR CROSS(ZYJ,0.01);
二者选一吧 |
|