六六公式网

 找回密码
 立即注册
微信扫一扫 分享朋友圈

已有 2822 人浏览分享

开启左侧

请求老师帮忙写个选股公式

[复制链接]
2822 2
请求老师帮忙写个选股公式,先谢谢了。
要求:1、G102、G104、G106三线粘合;
      2、G102、G104、G106三线趋势向上,即G102>REF(G102,1)……
      3、股价上穿G102、G104、G106三线。
源码:
WZ100:=HHV(CLOSE,13)*0.88;
Z180:=100*(WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9));
Z182:=IF(Z180>78,1,0);
DRAWTEXT(Z182=1,WZ100,'试'),COLORYELLOW;
平台线:HHV(CLOSE,176)*0.93,COLORRED,LINETHICK3;
Z184:=100*WINNER(CLOSE)-Z180;
Z186:=IF(Z184>35 AND(CLOSE>平台线),1,0);
DRAWTEXT(Z186=1,WZ100,'攻'),COLORMAGENTA;
G100:=FORCAST(CLOSE,3);
G102:EMA(EMA(G100,21),8),COLORYELLOW;
G104:EMA(EMA(G100,27),8),COLORYELLOW;
G106:EMA(EMA(G100,34),8),COLORYELLOW;
G112:EMA(EMA(G100,55),21),COLORBLUE;
G114:EMA(EMA(G100,71),21),COLORBLUE;
G116:EMA(EMA(G100,89),21),COLORBLUE;
G122:EMA(EMA(G100,168),55),COLORWHITE;
G124:EMA(EMA(G100,199),55),COLORWHITE;
G126:EMA(EMA(G100,233),55),COLORWHITE;
G128:EMA(EMA(G100,276),55),COLORWHITE;
D131:=EMA(FORCAST(CLOSE,9),5);
D130:=FORCAST(CLOSE,9)*0.99;
D160:=IF(D131<REF(D131,1),1,0);
IF(D160=0,D131,DRAWNULL),COLORMAGENTA,LINETHICK3;
D161:=IF(D131<REF(D131,1)&&(REF(D131,1)>REF(D131,2)),1,0);
DRAWTEXT(D161=1,D130*1.09,'走');
B110:=IF(D131>REF(D131,1)&&(CLOSE<G112)&&(CLOSE>G128),1,0);
DRAWTEXT(B110=1,WZ100*0.98,'加'),COLORRED;
B120:=HHV(CLOSE,0)*0.9;
M100:=FORCAST(CLOSE,9)*0.98;
M101:=IF(M100<REF(M100,1),M100*0.99,M100);
M1012:=IF(M101<REF(M101,1),1,0);
M1013:=IF(M101<REF(M101,1) AND REF(M101,1)>REF(M101,2),1,0);
M1014:=IF(M101>REF(M101,1)&&D131<REF(D131,1),1,0);
IF(M1014=1,REF(D131,1),DRAWNULL),COLORMAGENTA,LINETHICK3;
M102:=IF(M100>=REF(M100,1),1,0);
M103:=IF(REF(M102,1)=0 AND M102=1,1.2,0);
M200:=FORCAST(CLOSE,3);
M201:=EMA(EMA(M200,19),8);
M202:=EMA(EMA(M200,78),21);
M203:=EMA(EMA(M200,256),55);
M301:=IF(CLOSE>M203 AND CLOSE>M202 AND CLOSE<M201 AND M103>1,1,0);
STICKLINE(M301=1,CLOSE*0.94,CLOSE*0.93,50,0)COLORYELLOW;
DRAWTEXT(M301=1,CLOSE*0.91,'止损价')COLORWHITE;


举报 使用道具

回复

评论 2

黄三  资深股民  发表于 2018-9-7 12:03:35 | 显示全部楼层
先谢谢了。

举报 使用道具

回复
别想太多  资深股民  发表于 2018-9-6 23:49:24 | 显示全部楼层
试试下面公式,能用就给个点赞!!

G100:=FORCAST(CLOSE,3);
G102:=EMA(EMA(G100,21),8),COLORYELLOW;
G104:=EMA(EMA(G100,27),8),COLORYELLOW;
G106:=EMA(EMA(G100,34),8),COLORYELLOW;
BA:=G102>REF(G102,1) AND G104>REF(G104,1) AND G106>REF(G106,1);
BH:=C>G102 AND C>G104 AND C>G106;
BJ:=MAX(G102,MAX(G104,G106));
BP:=MIN(G102,MIN(G104,G106));
XG:LLV((BJ-BP)/BP*100<0.5,3) AND BA AND BH ;

举报 使用道具

回复 支持 反对

0

关注

29

粉丝

9

主题
随机推荐
热门指标
精品推送
精品指标

QQ|Archiver|小黑屋|六六公式网

GMT+8, 2024-11-23 10:16 , Processed in 0.210911 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.