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

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

  • 最佳新人

  • 活跃会员

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

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

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

    发帖爆料达人
开启左侧

[技巧] 控盘监测副图指标公式源码

[复制链接]
股票大数据 首发之星 显示全部楼层 发表于 2022-5-9 22:56:02 |阅读模式 打印 上一主题 下一主题
灵通疑控盘监测副图目标公式源码(无源码的请下载附件导进)

看吐知,简朴易懂,蹬隹遁顶旌旗灯号给出各类操纵标的目的
VAR1:=EMA(EMA(CLOSE,5),5);
控盘:(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000,NODRAW;
STICKLINE(控盘<0,控盘,0,1,0),COLORYELLOW;
A10:=CROSS(控盘,0);
集户:IF(控盘<0,控盘,0),COLORYELLOW,NODRAW;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2,COLORSTICK;
力度:=MACD/REF(MACD,1);
年夜盘热门正:= MACD>0 AND MACD/REF(MACD,1)>1.15 AND C/REF(C,1)>1.005;
年夜盘热门背:= MACD<0 AND REF(MACD,1)/MACD>1.15 AND C/REF(C,1)>1.005;
背到正0:=MACD>0 AND REF(MACD<0,1) AND C/REF(C,1)>1.003 ;
年夜盘热门:=IF(年夜盘热门正 OR 年夜盘热门背 OR 背到正0 ,1,0);
开端控盘:=A10 AND 年夜盘热门,NODRAW;
STICKLINE(开端控盘,0,6,0,0),COLORFF00FF,COLORRED;
DRAWICON(开端控盘,6,18)NODRAW;{绘3个小圈}
DRAWICON(开端控盘,7,15),COLORMAGENTA;{绘小仁占}
STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLORRED;
有庄:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED,NODRAW;
VAR2:=100*WINNER(CLOSE*0.95);
STICKLINE(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,1,0),COLORFF00FF;
控诺肋:IF(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0),COLORFF00FF,NODRAW;
STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLOR00FF00;
出货:IF(控盘<REF(控盘,1) AND 控盘>0,控盘,0),COLOR00FF00,NODRAW;
控盘监测:MA(控盘,3),COLORWHITE;
{净流资金援用}
推伸波:(C-L)/L*100,NODRAW;
调头彩迁:(C-H)/H*100,NODRAW;

总量:=VOL,NODRAW;
ZZ:=IF(REF(C,1)>REF(O,1) AND O>REF(C,1)*1.014 AND C<O*1.02,1,3);
V5:=MA(V,5);
V12:=MA(V,12);
V34:=MA(V,34);
C6:=MA(C,6);
吸货量:=CROSS(C,C6) AND V>V5*1.2 AND V>V12*1.2 AND ZZ>2 AND C>H*0.975,NODRAW;
出货量:=CROSS(C6,C) AND V>V5*1.2 AND V>V12*1.2,NODRAW;
天量:=VOL>MA(VOL,5)*2 AND V>V34*3 AND C<REF(C,1)*1.05,NODRAW;
天量:=VOL<MA(VOL,5)/2 AND V<V12/2 AND H>L,NODRAW;
DRAWTEXT(吸货量,-2,'吸'),COLORRED;
DRAWTEXT(出货量,控盘*1.01,'出'),COLORGREEN;
DRAWTEXT(天量,控盘*0.995,'天'),COLORYELLOW;
DRAWTEXT(天量,2,'天'),COLORWHITE;

{换脚}
换脚:=VOL*10000/FINANCE(7),NODRAW,COLORGREEN;
{个股强强}
MA3:=MA(C,3);
MA5:=MA(C,5);
MA13:=MA(C,13);
MA21:=MA(C,21);
MA34:=MA(C,34);
MA55:=MA(C,55);
MA89:=MA(C,89);
MA144:=MA(C,144);
MA233:=MA(C,233);
TMP1:=IF(C>MA5,1,0);
TMP2:=IF(C>MA13,1,0);
TMP3:=IF(C>MA21,1,0);
TMP4:=IF(C>MA34,1,0);
TMP5:=IF(C>MA55,1,0);
TMP6:=IF(C>MA89,1,0);
TMP7:=IF(C>MA144,1,0);
TMP8:=IF(C>MA233,1,0);
个股强强:=TMP1+TMP2+TMP3+TMP4+TMP5+TMP6+TMP7+TMP8+1,LINETHICK0;
前1天:=REF(个股强强,1);
前2天:=REF(个股强强,2);
前3天:=REF(个股强强,3);

{超涨超跌}
底线价:=MA((H+L+O+C)/4,5)*0.93,DOTLINE,COLORLIGREEN;
顶线价:=MA((H+L+O+C)/4,5)*1.07,DOTLINE,COLORLIGREEN;
市场赢利:=WINNER(C)*100,NODRAW;
GOODGUPIAO:SMA(MAX(CLOSE-C,0),7,1)/SMA(ABS(CLOSE-C),7,1)*100,NODRAW;
{扔物线}
扔物线:=SAR(5,34,110),NODRAW; {短波}
空:=IF(扔物线>C,扔物线,DRAWNULL),COLORWHITE,DOTLINE;
多:=IF(扔物线<C,扔物线,DRAWNULL),COLORMAGENTA,DOTLINE;
正离:=(H/多-1)*100,NODRAW;
背离:=(空/L-1)*100,NODRAW;
正离底:=(L/多-1)*100,NODRAW;

扔物线2:=SAR(5,3,15),NODRAW; {少波}
空2:=IF(扔物线2>C,扔物线2,DRAWNULL),COLORWHITE;
多2:=IF(扔物线2<C,扔物线2,DRAWNULL),COLORLIMAGENTA;
少波正离:=(H/多2-1)*100,NODRAW;
少波背离:=(空2/L-1)*100,NODRAW;
少波正离底:=(L/多2-1)*100,NODRAW;

顶5:=L<REF(L,1) AND REF(L,1)>REF(L,2) AND H<REF(H,1) AND REF(H,1)>REF(H,2) AND REF(H,1)>H AND  C<MA5 AND REF(C>多,1) AND REF(HHV(H,7),2)<REF(H,1) AND C<REF(C,1) ;
顶3:=L<REF(L,1) AND REF(L,1)>REF(L,2) AND H<REF(H,1) AND REF(H,1)>REF(H,2) AND REF(H,1)>H AND  C<MA3 AND REF(C>多,1) AND REF(HHV(H,7),2)<REF(H,1) AND C<REF(C,1) ;
顶:=L<REF(L,1) AND REF(L,1)>REF(L,2) AND  H<=REF(H,1) AND REF(H,1)>REF(H,2) AND REF(H,1)>H  AND REF(C>多,1) AND REF(HHV(H,7),2)<=REF(H,1) AND C<REF(C,1);

年夜顶:=IF(顶5=1 AND 顶3=1 AND 顶=1,顶5,DRAWNULL);
DRAWTEXT(年夜顶,控盘+1,'年夜顶'), COLORGREEN;
次顶:=IF(顶5=0 AND 顶3=1 AND 顶=1,顶3,DRAWNULL);
DRAWTEXT(次顶,控盘+1,'顶3'), COLORGREEN;
小顶:=IF(顶5=0 AND 顶3=0 AND 顶=1,顶,DRAWNULL);
DRAWTEXT(小顶,控盘+1,'顶'), COLORGREEN;

特别顶:=L<REF(L,1) AND REF(L,1)>REF(L,2) AND REF(L,2)>REF(L,3) AND H<REF(H,2) AND REF(H,1)<REF(H,2) AND  REF(HHV(H,7),3)<REF(H,2) AND C<REF(C,1);
DRAWTEXT(特别顶,控盘+1,'特别顶'),COLORRED; {顶分型左包罗干系};
特别顶2:=L<REF(L,2) AND REF(L,2)>REF(L,3) AND REF(L,1)<REF(L,2) AND REF(H,1)>H AND REF(H,1)>REF(H,2) AND REF(H,2)>REF(H,3) AND REF(HHV(H,7),2)<REF(H,1) AND C<REF(C,1);
DRAWTEXT(特别顶2,控盘+1,'特别顶2'),COLORRED; {顶分型左包罗干系};
特别顶3:=L<REF(L,1) AND REF(L,1)>REF(L,2) AND REF(L,2)>REF(L,3) AND REF(L,3)>REF(L,4) AND L<REF(L,2) AND H<REF(H,3) AND REF(H,1)<REF(H,3) AND REF(H,2)<REF(H,3) AND REF(H,3)>REF(H,4) AND REF(HHV(H,7),4)<REF(H,3) AND C<REF(C,1);
DRAWTEXT(特别顶3,控盘+1,'特别顶3'),COLORRED; {顶分型包罗4根干系};

{底}
底5:=L>REF(L,1) AND REF(L,1)<REF(L,2) AND H>REF(H,1) AND REF(H,1)<REF(H,2) AND REF(H,1)<H AND  C>MA5 AND REF(C<空,1) AND REF(LLV(L,7),2)>REF(L,1) AND C>REF(C,1) AND C>REF(O,1);
底3:=L>REF(L,1) AND REF(L,1)<REF(L,2) AND H>REF(H,1) AND REF(H,1)<REF(H,2) AND REF(H,1)<H AND  C>MA3 AND REF(C<空,1) AND REF(LLV(L,7),2)>REF(L,1) AND C>REF(C,1) AND C>REF(O,1);
底:=L>REF(L,1) AND REF(L,1)<REF(L,2) AND H>REF(H,1) AND REF(H,1)<REF(H,2) AND REF(H,1)<H  AND REF(C<空,1) AND REF(LLV(L,7),2)>REF(L,1) AND C>REF(C,1) AND C>REF(O,1);
年夜底:=IF(底5=1 AND 底3=1 AND 底=1,底5,DRAWNULL);
DRAWTEXT(年夜底,控盘-1,'年夜底'), COLORMAGENTA;
次底:=IF(底5=0 AND 底3=1 AND 底=1,底3,DRAWNULL);
DRAWTEXT(次底,控盘-1,'底3'), COLORMAGENTA;
小底:=IF(底5=0 AND 底3=0 AND 底=1,底,DRAWNULL);
DRAWTEXT(小底,控盘-1,'底'), COLORMAGENTA;
特别底:=L>REF(L,1) AND REF(L,1)>REF(L,2) AND REF(L,2)<REF(L,3) AND H>REF(H,1) AND REF(H,1)<REF(H,2) AND  REF(LLV(L,7),3)>REF(L,2);
DRAWTEXT(特别底,控盘-1,'特别底'),COLORYELLOW; {堤又型包罗干系};

止业换脚:CALCSTOCKINDEX(HYZSCODE,'换脚援用',1),NODRAW;





上一篇:神偷VIP副图指标 源码 附图 能知道是做短线还是中线
下一篇:神龙出渊主图/选股预警 初选龙头源码
您需要登录后才可以回帖 登录 | 立即注册 用百度帐号登录

本版积分规则

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

  • 抖音号

  • 商务合作

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