以下是通达信出水芙蓉“我是兵1994版”主图选股源码(无源码的请下载附件导入)
继续收到宝箱会员“我是兵1994”的求助。看看七月出票可以,发帖共享。
求助如下:
1,均线空头排列,股价长期下跌并远离长期均线;
2.10日均线由下降趋于走平,股价从下向上突破10日均线,并且在10日均线企稳;
3.MACD指标金叉,或将形成金叉。
根据“我是兵 1994”提供的思路,结合自己思维 稍微修改,觉得这个正适合当下行情。
{主图}
M5:MA(C,5);
M10:MA(C,10);
M60:MA(C,60);
GL:=(M60/M5-1)*100 ;
KT:=M60>M10 AND M10>M5;
TJ:=EVERY(M10>=REF(M10,1),2) AND O<M10 AND C>M10;
TJ1:=MACD.DIF>REF(MACD.DIF,1) AND MACD.MACD>REF(MACD.MACD,1) AND REF(MACD.MACD,1)<REF(MACD.MACD,2);
XG:=KT AND TJ AND TJ1 AND GL>26.5;
DRAWICON(CROSS(XG,0.5),L*0.93,25);
STICKLINE(CROSS(XG,0.5),C,O,2,0),COLORMAGENTA;
STICKLINE(CROSS(XG,0.5),H,L,0,0),COLORMAGENTA;
{幅图}
M5:=MA(C,5);
M10:=MA(C,10);
M60:=MA(C,60);
GL:=(M60/M5-1)*100;
KT:=M60>M10 AND M10>M5;
TJ:=EVERY(M10>=REF(M10,1),2) AND O<M10 AND C>M10;
TJ1:=MACD.DIF>REF(MACD.DIF,1) AND MACD.MACD>REF(MACD.MACD,1) AND REF(MACD.MACD,1)<REF(MACD.MACD,2);
XG:=KT AND TJ AND TJ1 AND GL>26.5;
STICKLINE(CROSS(XG,0.5),0,8,1.5,0),COLORMAGENTA;
{选股}
M5:=MA(C,5);
M10:=MA(C,10);
M60:=MA(C,60);
GL:=(M60/M5-1)*100 ;
KT:=M60>M10 AND M10>M5;
TJ:=EVERY(M10>=REF(M10,1),2) AND O<M10 AND C>M10;
TJ1:=MACD.DIF>REF(MACD.DIF,1) AND MACD.MACD>REF(MACD.MACD,1) AND REF(MACD.MACD,1)<REF(MACD.MACD,2);
XG:CROSS(KT AND TJ AND TJ1 AND GL>26.5,0.5);
83122801.jpg
84266381.jpg
84311565.jpg
84377007.jpg
82511777.rar
(2.5 KB, 下载次数: 0, 售价: 3 金钱)
|