根据王子理论和金尺王的分析,对公式作如下优化:
一、增加了均线多头排列;
二、剔除了st类股票;
三、重新定义量柱倍缩,允许10%的误差,扩大了选出率。
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);
TJ1:=MA5>MA10 AND MA10>MA20 AND MA30 >MA60;
TJ2:=C<O AND (C-REF(C,1))/REF(C,1)*100<=-5 AND REF(V,1)/V>=1.9;
TJ3:=DYNAINFO(4) AND EXIST(ABS(C/REF(C,1)-1)>0.055,30);
XG:TJ1 AND TJ2 AND TJ3;
#在这里快速回复#MA5:=MA(CLOSE,5); MA10:=MA(CLOSE,10); MA20:=MA(CLOSE,20); MA30:=MA(CLOSE,30); MA60:=MA(CLOSE,60); TJ1:=MA5>MA10 AND MA10>MA20 AND MA30 >MA60; TJ2:=C<O AND (C-REF(C,1))/REF(C,1)*100<=-5 AND REF(V,1)/V>=1.9; TJ3:=DYNAINFO(4) AND EXIST(ABS(C/REF(C,1)-1)>0.055,30); XG:TJ1 AND TJ2 AND TJ3;
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);
TJ1:=MA5>MA10 AND MA10>MA20 AND MA30 >MA60;
TJ2:=C<O AND (C-REF(C,1))/REF(C,1)*100<=-5 AND REF(V,1)/V>=1.9;
TJ3:=DYNAINFO(4) AND EXIST(ABS(C/REF(C,1)-1)>0.055,30);
XG:TJ1 AND TJ2 AND TJ3;
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);
TJ1:=MA5>MA10 AND MA10>MA20 AND MA30 >MA60;
TJ2:=C<O AND (C-REF(C,1))/REF(C,1)*100<=-5 AND REF(V,1)/V>=1.9;
TJ3:=DYNAINFO(4) AND EXIST(ABS(C/REF(C,1)-1)>0.055,30);
XG:TJ1 AND TJ2 AND TJ3;