股票论坛

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

求助黑马出现的选股公式,谢谢老师!!

[复制链接]

指标研习组

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

听众
3
跳转到指定楼层
#
发表于 2015-12-15 17:23 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
30爱心果
A1:=EMA(C,12)-EMA(C,25);
A2:=EMA(A1,6);
获利回吐: (A2>=0)*A2,COLORWHITE,LINETHICK0;
大黑码: (A2<0)*A2,COLORD4FF7F,LINETHICK0;
坚绝做空: (A1<0)*A1,COLORB00058,LINETHICK0;
买入持股: (A1>=0)*A1,COLORRED,LINETHICK0;
STICKLINE(A2>=0,A2,0,1,0),COLORWHITE;
STICKLINE(A2<0,A2,0,1,0),COLORD4FF7F;
STICKLINE(A1<0,A1,0,1,0),COLORB00058;
STICKLINE(A1>=0,A1,0,1,0),COLORRED;
VAR8:=VOL>2*MA(VOL,30);
VAR9:="DMI.ADX"(12,6);
VARA:="DMI.ADXR"(12,6);
VARB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;
VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);
VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));
VARF:=TROUGHBARS(3,15,1)<4;VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);
VAR11:=IF(VARF=1,50,0);
多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;
0,COLORRED;
STICKLINE(FILTER(VARF=1,5) AND 多空<-10,50,0,1,0),COLORF00FF0;
STICKLINE(FILTER(VARF=1,5),50,0,1,0),COLORYELLOW;
DRAWTEXT(FILTER(VARF=1,3),25,'黑马出现'),COLORRED ;
STICKLINE(多空<-10,0,多空,0.85,0),COLORYELLOW;
STICKLINE(多空>10,0,多空,0.95,0),COLORRED;

最佳答案

查看完整内容

有未来函数慎用 A1:=EMA(C,12)-EMA(C,25); A2:=EMA(A1,6); 获利回吐:=(A2>=0)*A2; 大黑码:=(A22*MA(VOL,30); VAR9:="DMI.ADX"(12,6); VARA:="DMI.ADXR"(12,6); VARB:=CLOSE>MA(CLOSE,30) AND CLOSEREF(MA(CLOSE,30),1); VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))

指标研习组

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

听众
1
沙发
发表于 2015-12-20 15:14 | 只看该作者
周末愉快
回复

使用道具 举报

爵★★★

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

听众
5
楼主
发表于 2015-12-15 17:23 | 只看该作者
有未来函数慎用
A1:=EMA(C,12)-EMA(C,25);
A2:=EMA(A1,6);
获利回吐:=(A2>=0)*A2;
大黑码:=(A2<0)*A2;
坚绝做空:=(A1<0)*A1;
买入持股:=(A1>=0)*A1;

VAR8:=VOL>2*MA(VOL,30);
VAR9:="DMI.ADX"(12,6);
VARA:="DMI.ADXR"(12,6);
VARB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;
VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);
VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));
VARF:=TROUGHBARS(3,15,1)<4;

XG:FILTER(VARF=1,3);
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-17 04:01 , Processed in 0.167366 second(s), 21 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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