双线跨越主图指标 (源码)
2012-05-08 09:22:00来源:本站整理浏览:410
通达信双线跨越主图指标公式股票软件源码如下:
MA5:MA(C,7),COLORWHITE;
MA20:MA(C,20),COLORFF00FF;
MA90:MA(C,90),COLORFFCC66;
Y1:=BARSLAST(CROSS(MA(C,5),MA(C,20))) AND MA(C,5)>MA(C,20);
Y2:=Y1 AND BARSLAST(CROSS(MA(C,5),MA(C,90)));
Y3:=Y2 AND CROSS(MA(C,20),MA(C,90));
{股票软件下载网-股票公式网站 www.gpxiazai.com}
DRAWICON(Y3,L-0.10,5);{双线跨越信号显示5号图标笑脸}
F0:=BARSLAST(CROSS(MA(C,5),MA(C,90)));
F1:=F0 AND BARSLAST(CROSS(MA(C,20),MA(C,90)));
F2:=F1 AND CROSS(MA(C,5),MA(C,20)) AND MA(C,20)>MA(C,90);
DRAWICON(F2,L-0.10,9);{双蹄奋起信号显示9号图标钱袋子};
- 上一篇公式:全换重心主图指标 (源码)
- 下一篇公式:回调认同主图指标 (源码)