返回顶部
  • 发帖数516
  • 粉丝0

此人很懒,什么也没有留下

  • 最佳新人

  • 活跃会员

    经常参与各类话题的讨论,发帖内容较有主见
  • 热心会员

    经常帮助其他会员答疑
  • 终身成就

    为论坛做出突出贡献的会员
  • 爆料达人

    发帖爆料达人
开启左侧

[技巧] 有量黑马起飞主图指标公式源码

[复制链接]
股票大数据 首发之星 显示全部楼层 发表于 2022-3-30 22:38:12 |阅读模式 打印 上一主题 下一主题
灵通疑有帘摆马腾飞主图目标公式源码(无源码的请下载附件导进)

主图散超等主降、金山褂擘帘摆马腾飞旌旗灯号,源码供给,钢顾趣喜好便下吧!
{所属止业及板块}
DRAWTEXT_FIX(1,0.01,0.01,0,'地域板块:')COLORWHITE;
DRAWTEXT_FIX(1,0.10,0.01,0,DYBLOCK)COLORCYAN;{数值}
DRAWTEXT_FIX(1,0.18,0.01,0,'所属止业:')COLORWHITE;
DRAWTEXT_FIX(1,0.25,0.01,0, HYBLOCK)COLORCYAN;{数值}
市盈率:=DYNAINFO(39);
DRAWTEXT_FIX(1,0.30,0.01,0,'市盈率:'),COLORWHITE;
DRAWNUMBER_FIX(1,0.40,0.01,1,市盈率),COLORCYAN;
净利润率:=CONST(FINANCE(30)/FINANCE(20));
DRAWTEXT_FIX(1,0.42,0.01,0,'净利润率:'),COLORWHITE;
DRAWNUMBER_FIX(1,0.50,0.01,0,净利润率),COLORCYAN;
净利润同比%:=FINANCE(43);{净利润同比增加率}
DRAWTEXT_FIX(1,0.54,0.01,0,'净利润同比%:'),COLORWHITE;
DRAWNUMBER_FIX(1,0.65,0.01,0,净利润同比%),COLORCYAN;
DRAWTEXT_FIX(1,0.72,0.01,0,'观点板块:')COLORWHITE;
DRAWTEXT_FIX(1,0.81,0.01,0,GNBLOCK)COLORCYAN;{数值}

Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
ZT:=REF(C,1)*1.1-C<0.01 AND H=C;{涨停};
HH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)
+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)
+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+
REF(H,20))/210;
聚散:(EMA(HH,5)-((H-EMA(HH,5))*H-EMA(HH,5))/EMA(HH,5)),COLORGREEN,LINETHICK2;
上降聚散4:(EMA(HH,90)+((H-EMA(HH,90))*H-EMA(HH,90))/EMA(HH,90)),COLORRED,LINETHICK2;
TP1:=CROSS(MAX((EMA(HH,250)-((H-EMA(HH,250))*H-EMA(HH,250))/EMA(HH,250)),MAX((EMA(HH,120)-((H-EMA(HH,120))*H-EMA(HH,120))/EMA(HH,120)),MAX((EMA(HH,90)-((H-EMA(HH,90))*H-EMA(HH,90))/EMA(HH,90)),MAX((EMA(HH,60)-((H-EMA(HH,60))*H-EMA(HH,60))/EMA(HH,60)),MAX((EMA(HH,30)-((H-EMA(HH,30))*H-EMA(HH,30))/EMA(HH,30)),MAX((EMA(HH,10)-((H-EMA(HH,10))*H-EMA(HH,10))/EMA(HH,10)),聚散)))))),EMA(HH,5));
TP3:=CROSS(C,MAX((EMA(HH,250)-((H-EMA(HH,250))*H-EMA(HH,250))/EMA(HH,250)),MAX((EMA(HH,120)-((H-EMA(HH,120))*H-EMA(HH,120))/EMA(HH,120)),MAX((EMA(HH,90)-((H-EMA(HH,90))*H-EMA(HH,90))/EMA(HH,90)),MAX((EMA(HH,60)-((H-EMA(HH,60))*H-EMA(HH,60))/EMA(HH,60)),MAX((EMA(HH,30)-((H-EMA(HH,30))*H-EMA(HH,30))/EMA(HH,30)),MAX((EMA(HH,10)-((H-EMA(HH,10))*H-EMA(HH,10))/EMA(HH,10)),聚散)))))));
TP6:=CROSS((EMA(HH,90)+((H-EMA(HH,90))*H-EMA(HH,90))/EMA(HH,90)),EMA(C,5));
DRAWTEXT(TP1 AND ZT,L,'↖金元宝'),COLORRED,LINETHICK4;
DRAWTEXT(TP3 AND ZT,L,'↖粗准导弹'),COLORWHITE,LINETHICK4;
DRAWTEXT(TP6 AND ZT,L,'↖超等主降'),COLORYELLOW,LINETHICK4;
DRAWTEXT(TP3,L,'购'),COLORGREEN,LINETHICK4;
DRAWKLINE(H,O,L,C);
回起线:(EMA(C,15)),POINTDOT,LINETHICK4,COLORYELLOW;
{莱麦仓}
AA1:=AMOUNT/V;
BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=V<MA(V,5)*1.5;
FF1:=BB1 AND CC1 AND DD1 AND EE1;
DRAWTEXT(FF1,LOW*0.96,'莱麦仓'),COLOR4080FF;
{金山谷}
山谷:=MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,30) AND CROSS(MA(C,10),MA(C,30));
DRAWTEXT(山谷 AND MA(C,30)>MA(C,120),MA(C,30)-0.08,'金山谷'),COLORYELLOW;

{乌马腾飞面}
其实1:=MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20)
AND O<MA(C,10) AND C>MA(C,5)
AND C<30
AND V<MA(V,60);
DRAWTEXT(其实1,MA(C,20)*0.95,'一阳脱单'),COLORCYAN;
DRAWTEXT(其实1,MA(C,20)*0.9,'无帘摆马行跌'),COLORCYAN;
STICKLINE(其实1,MA(C,20)*0.9,MA(C,20)*0.95,0.01,0),COLORCYAN;
其实2:=MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20)
AND O<MA(C,10) AND C>MA(C,5)
AND C<30
AND V>MA(V,60)
AND COUNT(V>MA(V,60),2)=1;
DRAWTEXT(其实2,MA(C,20)*0.95,'一阳脱单'),COLORWHITE;
DRAWTEXT(其实2,MA(C,20)*0.9,'有帘摆马腾飞'),COLORWHITE;
STICKLINE(其实2,MA(C,20)*0.9,MA(C,20)*0.95,0.01,0),COLORWHITE;





上一篇:量化擒龙副图/选股预警指标公式源码
下一篇:行情牛熊开始结束主图指标 源码
您需要登录后才可以回帖 登录 | 立即注册 用百度帐号登录

本版积分规则

首发之家社区成立于2011年3月,内容涉及3C家电、数码生活智能电视,股票软件,4K,体育,软件,教育,游戏等资源指标公式论坛。
  • 官方手机版

  • 抖音号

  • 商务合作

  • Powered by Discuz! X3.4 | Copyright © 2011-2021, Tencent Cloud. | 首发之家社区
  • |网站地图 | mp4d@qq.com|小黑屋|手机版|