股票论坛

 找回密码
 免费注册
搜索
热搜: 活动 交友 discuz
查看: 2328|回复: 1
打印 上一主题 下一主题

请老师把牛哥做股做个选股预警公式,谢谢!!

[复制链接]

指标研习组

Rank: 11Rank: 11Rank: 11Rank: 11

听众
2
跳转到指定楼层
楼主
发表于 2015-11-28 16:36 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
20爱心果
M5:EMA(C,8),COLORFFAA66,LINETHICK2;
M6:EMA(C,13),COLORBLUE,LINETHICK3;
M7:MA(C,78),COLOR00FFFF,LINETHICK1;
M8:EMA(M7,3),COLOR00FFFF,LINETHICK1;
M9:EMA(M8,3),COLOR00FFFF,LINETHICK1;
M11:EMA(M9,3),COLOR00FFFF,LINETHICK1;
MA47:EMA(CLOSE,46),COLORFFAA66,LINETHICK2;
MA60:EMA(CLOSE,60),COLORBLUE,LINETHICK3;
Y:=(H+L)/2;
AO:=MA(Y,5)-MA(Y,34 );
DU0:=CROSS(AO,0);
UD0:=CROSS(0,AO);
TDU0:=BARSLAST(DU0);
TUD0:=BARSLAST(UD0);
DU3:=REF(DU0,1);
UD3:=REF(UD0,1);
TDU3:=BARSLAST(DU3);
TUD3:=BARSLAST(UD3);
UDGLINE:=IF(TDU3<TUD3,REF(HHV(H,2),TDU3),REF(LLV(L,2),TUD3)),COLORYELLOW;
JDU0:=REF(C,1)<=REF(UDGLINE,1) AND C>UDGLINE AND TDU0<TUD0;
JUD0:=REF(C,1)>=REF(UDGLINE,1) AND C<UDGLINE AND TUD0<TDU0;
JDU1:=JDU0 AND COUNT(JDU0,TDU0)=1;
JUD1:=JUD0 AND COUNT(JUD0,TUD0)=1;
JDU2:=JDU1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);
JUD2:=JUD1 AND REF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);
JDU3:=JDU1 AND REF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);
JUD3:=JUD1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);
DRAWTEXT(JDU2,M9*0.90,'牛哥牛股锁定'),COLORYELLOW;
DRAWTEXT(CROSS(M6,M9),M9*0.98,'牛股启动'),COLOR0000FF;

要求没有未来函数

出现牛哥牛哥锁定和牛股启动处做选股预警公式,谢谢老师!!

最佳答案

查看完整内容

M5:=EMA(C,8),COLORFFAA66,LINETHICK2; M6:=EMA(C,13),COLORBLUE,LINETHICK3; M7:=MA(C,78),COLOR00FFFF,LINETHICK1; M8:=EMA(M7,3),COLOR00FFFF,LINETHICK1; M9:=EMA(M8,3),COLOR00FFFF,LINETHICK1; M11:=EMA(M9,3),COLOR00FFFF,LINETHICK1; MA47:=EMA(CLOSE,46),COLORFFAA66,LINETHICK2; MA60:=EMA(CLOSE,60),COLORBLUE,LINETHICK3; Y:=(H+L)/2; AO:=MA(Y,5)-MA(Y,34 ); DU0:=CROSS(AO,0); UD0:=CROSS(0,AO); TDU0:= ...

爵★★★

Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21

听众
5
沙发
发表于 2015-11-28 16:36 | 只看该作者
M5:=EMA(C,8),COLORFFAA66,LINETHICK2;
M6:=EMA(C,13),COLORBLUE,LINETHICK3;
M7:=MA(C,78),COLOR00FFFF,LINETHICK1;
M8:=EMA(M7,3),COLOR00FFFF,LINETHICK1;
M9:=EMA(M8,3),COLOR00FFFF,LINETHICK1;
M11:=EMA(M9,3),COLOR00FFFF,LINETHICK1;
MA47:=EMA(CLOSE,46),COLORFFAA66,LINETHICK2;
MA60:=EMA(CLOSE,60),COLORBLUE,LINETHICK3;
Y:=(H+L)/2;
AO:=MA(Y,5)-MA(Y,34 );
DU0:=CROSS(AO,0);
UD0:=CROSS(0,AO);
TDU0:=BARSLAST(DU0);
TUD0:=BARSLAST(UD0);
DU3:=REF(DU0,1);
UD3:=REF(UD0,1);
TDU3:=BARSLAST(DU3);
TUD3:=BARSLAST(UD3);
UDGLINE:=IF(TDU3<TUD3,REF(HHV(H,2),TDU3),REF(LLV(L,2),TUD3)),COLORYELLOW;
JDU0:=REF(C,1)<=REF(UDGLINE,1) AND C>UDGLINE AND TDU0<TUD0;
JUD0:=REF(C,1)>=REF(UDGLINE,1) AND C<UDGLINE AND TUD0<TDU0;
JDU1:=JDU0 AND COUNT(JDU0,TDU0)=1;
JUD1:=JUD0 AND COUNT(JUD0,TUD0)=1;
JDU2:=JDU1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);
JUD2:=JUD1 AND REF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);
JDU3:=JDU1 AND REF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);
JUD3:=JUD1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);


XG:JDU2 OR CROSS(M6,M9);
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

QQ|站点首页|手机版|小黑屋|帮助中心|桂ICP备14001964号

GMT+8, 2024-11-28 00:51 , Processed in 0.131328 second(s), 21 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表