关于均线多头排列选股公式的问题,我们总结了以下几点,给你解答:
均线多头排列选股公式如何编写
MA1:=MA(C,5);
MA2:=MA(C,10);
MA3:=MA(C,20);
MA4:=MA(C,60);
多头排列:=MA2>MA3 AND MA3>MA4 AND REF(MA2,1)<MA2 AND REF(MA3,1)<MA3 AND REF(MA4,1)<MA4;
XG:多头排列 AND CROSS(MA2,MA1);
已测试,感觉效果不好。
a:=ma(c,5);a2:=ma(c,10);a3:ma(c,20);a4:ma(c,60);
选股:a2>a3>a4and a<a2
ma1:=ma(c,5);
ma2:=ma(c,10);
ma3:=ma(c,20);
ma4:=ma(c,30);
xg1:ma2>ma3 and ma3>ma4 and ma2>ref(ma2,1) and ma3>ref(ma3,1) and ma4>ref(ma4,1) and cross(ma2,ma1);
MA1:=MA(C,5);
MA2:=MA(C,10);
MA3:=MA(C,20);
MA4:=MA(C,60);
XG:MA2>MA3 AND MA3>MA4 AND CROSS(MA2,MA1);
多排死叉:MA(C,10)>MA(C,20) AND MA(C,20)>MA(C,60) AND CROSS(MA(C,10),MA(C,5));
均线多头排列选股公式
MA5>MA10 AND MA10>MA20 AND MA20>MA30 AND MA30>MA60 AND MA60>MA120
均线多头排列选股公式源码
MA10:=MA(C,10);
{均线多头排列}
T1:=MA10>MA(C,5) AND MA(C,标然开脱25)>MA10;
{股来自价回调10日线不破}
T2:=REF(C,2)>REF(C,1) AND BETWEEN(REF(C,1),MA10,1.02*MA10) AND C>REF(C,1);
{预警选股}
T1 AND T2;