股票论坛

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

请高手帮忙做一个选股公式,谢谢!

[复制链接]

知府

Rank: 3Rank: 3

听众
1
跳转到指定楼层
楼主
发表于 2016-10-9 21:59 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
10爱心果
请高手帮忙做一个选股公式,要求出现"天下无敌"提示时选股,谢谢.

VAR1:=(CLOSE-MA(CLOSE,55))/MA(CLOSE,55)*100;
TT:MA(VAR1,20);
STICKLINE(VAR1-TT>0,VAR1,TT,2,0),COLORRED,LINETHICK1;
VAR2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR3:=SMA(VAR2,3,1);
VAR4:=(CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100;
VAR5:=ABS(VAR4),COLORGREEN;
A111:=COST(85);
A222:=COST(15);
A333:=A111-A222;
A444:=(A111+A222)/2;
单峰密集:=A333/A444*100<30,LINETHICK0;
B1:=HHV(HIGH,250);
B2:=LLV(LOW,250);
B3:=B1-B2;
B4:=(A444-B2);
低位:=A444<(B3*04+B2),LINETHICK0;
低位单峰密集:=单峰密集 AND 低位;
B5:=C/REF(C,1)>1.04; {AND V/REF(V,1)>2;{ AND H=C;}
主力持仓%:=EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),3);
主力持仓大于75%:=主力持仓%>=75 {AND 主力持仓%<=91} AND C>0 AND CLOSE>OPEN AND C=H;
启爆:=主力持仓大于75% AND 低位单峰密集 AND B4 AND WINNER(C)>=0.91 AND B5,COLORGREEN,LINETHICK3;
爆:=CROSS(VAR5,10)  AND 启爆;
DRAWICON(爆,TT,25);
DRAWTEXT(爆,TT,'<----天下无敌'),COLORRED;

最佳答案

查看完整内容

{天下无敌预警} VAR1:=(CLOSE-MA(CLOSE,55))/MA(CLOSE,55)*100; TT:=MA(VAR1,20); VAR2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; VAR3:=SMA(VAR2,3,1); VAR4:=(CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100; VAR5:=ABS(VAR4),COLORGREEN; A111:=COST(85); A222:=COST(15); A333:=A111-A222; A444:=(A111+A222)/2; 单峰密集:=A333/A444*1002;{ AND H=C;} 主力持仓%:=EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH ...

爵★★★

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

听众
2

爵★★★爵★★★爵★★★

沙发
发表于 2016-10-9 21:59 | 只看该作者
{天下无敌预警}

VAR1:=(CLOSE-MA(CLOSE,55))/MA(CLOSE,55)*100;
TT:=MA(VAR1,20);
VAR2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR3:=SMA(VAR2,3,1);
VAR4:=(CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100;
VAR5:=ABS(VAR4),COLORGREEN;
A111:=COST(85);
A222:=COST(15);
A333:=A111-A222;
A444:=(A111+A222)/2;
单峰密集:=A333/A444*100<30,LINETHICK0;
B1:=HHV(HIGH,250);
B2:=LLV(LOW,250);
B3:=B1-B2;
B4:=(A444-B2);
低位:=A444<(B3*04+B2),LINETHICK0;
低位单峰密集:=单峰密集 AND 低位;
B5:=C/REF(C,1)>1.04; {AND V/REF(V,1)>2;{ AND H=C;}
主力持仓%:=EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),3);
主力持仓大于75%:=主力持仓%>=75 {AND 主力持仓%<=91} AND C>0 AND CLOSE>OPEN AND C=H;
启爆:=主力持仓大于75% AND 低位单峰密集 AND B4 AND WINNER(C)>=0.91 AND B5,COLORGREEN,LINETHICK3;
爆:CROSS(VAR5,10)  AND 启爆;
回复

使用道具 举报

知府

Rank: 3Rank: 3

听众
1
板凳
 楼主| 发表于 2016-10-10 08:58 | 只看该作者
谢谢老师,同时提醒各位股友,不要按这个指标先出的股票进行买卖,因为这个指标选出的很多都已经是头部,如果是底部票可以作为关注,如果这个指标选出的股是走的第二波,那可以关注等待第二波回调后再买会有奇效.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-24 03:31 , Processed in 0.141702 second(s), 22 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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