主题739
精华0
阅读权限120
注册时间2015-4-3
在线时间0 小时
最后登录2020-5-2
美元6
爱心果11123
贡献0
- 积分
- 13615
指标研习组
- 听众
- 3
|
10爱心果
黑马飞跃源码如下,麻烦改成选股公式,谢谢
DRAWGBK(CURRBARSCOUNT=1, RGB(110,108,108),RGB(88,30,0),0,'',0),COLORYELLOW,LINETHICK2;
MA5:MA(C,5),COLORWHITE,LINETHICK2;
MA20:MA(C,20),COLORFF00FF,LINETHICK2;
MA90:MA(C,90),COLORFFCC66,LINETHICK2;
Y1:=MA(C,5)>MA(C,20) AND MA(C,5)>MA(C,90) AND MA(C,90)>REF(MA (C,90),1);
Y2:=Y1 AND CROSS(MA(C,20),MA(C,90));
DRAWICON(Y2,L-0.10,5);{双线跨越信号显示5号图标笑脸}
F1:=MA(C,5)>MA(C,90) AND MA(C,20)>MA(C,90) AND MA(C,90)>REF(MA (C,90),1);
F2:=F1 AND CROSS(MA(C,5),MA(C,20));
DRAWICON(F2,L-0.10,9);{双蹄奋起信号显示9号图标钱袋子};
DRAWICON(CROSS(MA5,MA20),MA5,1);
DRAWICON(CROSS(MA5,MA90),MA5,1);
DRAWICON(CROSS(MA20,MA5),MA20,1);
DRAWICON(CROSS(MA20,MA90),MA20,1);
DRAWICON(CROSS(MA90,MA5),MA90,1);
DRAWICON(CROSS(MA90,MA20),MA90,1); |
最佳答案
查看完整内容
DRAWGBK(CURRBARSCOUNT=1, RGB(110,108,108),RGB(88,30,0),0,'',0),COLORYELLOW,LINETHICK2;
MA5:=MA(C,5),COLORWHITE,LINETHICK2;
MA20:=MA(C,20),COLORFF00FF,LINETHICK2;
MA90:=MA(C,90),COLORFFCC66,LINETHICK2;
Y1:=MA(C,5)>MA(C,20) AND MA(C,5)>MA(C,90) AND MA(C,90)>REF(MA (C,90),1);
选股:Y1 AND CROSS(MA(C,20),MA(C,90));
|