最强选股战法推荐:
通达信资金博弈VOL未加密选股指标公式源码
源码正文:
DRAWBAND(ma(vol,60),RGB(80,64,64),0,RGB(0,0,0)){XG51};
ZZ:=IF(REF(C,1)>REF(O,1) AND O>REF(C,1)*1.014 AND C<O*1.02,1,3){XG51};
V5:=MA(V,5){XG51};
V12:=MA(V,12){XG51};
V34:=MA(V,34){XG51};
C6:=MA(C,6){XG51};
stICKLINE(crOSS(C,C6) AND V>V5*1.2 AND V>V12*1.2 AND ZZ>2 AND C>H*0.975,0,VOL*1.05,5,0),COLORC000C0{XG51};
STICKLINE(CROSS(C6,C) AND V>V5*1.2 AND V>V12*1.2,0,VOL*1.05,5,0),COLOR008080{XG51};
STICKLINE(VOL>MA(VOL,5)*2 AND V>V34*3 AND C<REF(C,1)*1.05,0,VOL*1.05,5,0),COLORFFC000{XG51};
STICKLINE(VOL<MA(VOL,5)/2 AND V<V12/2,0,VOL*1.05,5,0),COLORYELLOW{XG51};
DRAWTEXT_FIX(ISLASTBAR,0.45,0.10,0,'柱底色: 洋红吸货量,棕色出货量,天蓝色天量,深蓝色地量;'),COLORRED{XG51};
上涨家数:=STRCAT('▇沪深上涨家数:',CON2STR(DYNAINFO(60),0)){XG51};
下跌家数:=STRCAT('▇沪深下跌家数:',CON2STR(DYNAINFO(61),0)){XG51};
上涨百分比:=DYNAINFO(60)/(DYNAINFO(60)+DYNAINFO(61))*100{XG51};
下跌百分比:=DYNAINFO(61)/(DYNAINFO(60)+DYNAINFO(61))*100{XG51};
DRAWTEXT_FIX(1,0.45,0,0,上涨家数),COLORWHITE{XG51};
DRAWTEXT_FIX(1,0.54,0,0,STRCAT(STRCAT('(',VAR2STR(上涨百分比,2)),'%)')),COLORWHITE{XG51};
DRAWTEXT_FIX(1,0.60,0,0,下跌家数),COLORCYAN{XG51};
DRAWTEXT_FIX(1,0.69,0,0,STRCAT(STRCAT('(',VAR2STR(下跌百分比,2)),'%)')),COLORCYAN{XG51};
盘中虚拟:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),COLORRED,NODRAW{XG51};
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,盘中虚拟,0,-1,-1),COLORBROWN{XG51};
VOLUME:VOL,VOLSTICK,COLORBLUE{XG51};
VAR1:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN)){XG51};
主动买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORWHITE,NODRAW{XG51};
主动卖盘:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLORCYAN,NODRAW{XG51};
STICKLINE(主动买盘>0,0,主动买盘,1.5,0),COLOR0080FF{XG51};
STICKLINE(主动卖盘<0,VOL,主动买盘,1.5,0),COLORB46E00{XG51};
MA5:MA(VOLUME,5)COLORRED{XG51};
MA10:MA(VOLUME,10)COLORBLUE{XG51};
MA60:MA(VOLUME,60)COLORC08080,NODRAW{XG51};
MA120:MA(VOLUME,120)COLORLIBLUE,NODRAW{XG51};
基准量:=(MA(VOL,5)+MA(VOL,10))/2{XG51};
危险量:=基准量*1.5{XG51};
破坏量:=基准量*1.15{XG51};
弱压量:=基准量*0.8{XG51};
超大量:=基准量*1.5{XG51};
攻击量:=基准量*1.15{XG51};
防守量:=基准量*0.8{XG51};
YL:=C>O OR (C=O AND C>=REF(C,1)){XG51};
DL:=C<O OR (C=O AND C<REF(C,1)){XG51};
TJ1:=DL AND VOL>=弱压量 AND VOL<破坏量{XG51};
TJ2:=DL AND VOL>=破坏量 AND VOL<危险量{XG51};
TJ3:=DL AND VOL>=危险量{XG51};
TJA:=YL AND VOL>=防守量 AND VOL<攻击量{XG51};
TJB:=YL AND VOL>=攻击量 AND VOL<超大量{XG51};
TJC:=YL AND VOL>超大量{XG51};
DRAWTEXT_FIX(ISLASTBAR AND TJ1,0.998,0.0,1.0,'[ 弱压量 ]'),COLORRED{XG51};
DRAWTEXT_FIX(ISLASTBAR AND TJ2,0.998,0.0,1.0,'[ 破坏量 ]'),COLORGREEN{XG51};
DRAWTEXT_FIX(ISLASTBAR AND TJ3,0.998,0.0,1.0,'[ 危险量 ]'),COLORCYAN{XG51};
DRAWTEXT_FIX(ISLASTBAR AND TJA,0.998,0.0,1.0,'[ 防守量 ]'),COLORBLUE{XG51};
DRAWTEXT_FIX(ISLASTBAR AND TJB,0.998,0.0,1.0,'[ 攻击量 ]'),COLORLIMAGENTA{XG51};
DRAWTEXT_FIX(ISLASTBAR AND TJC,0.998,0.0,1.0,'[ 超大量 ]'),COLORWHITE{XG51};
换手率:VOL/CAPITAL*100,COLORFF80FF,NODRAW{XG51};
DRAWTEXT_FIX(ISLASTBAR,0.88,0.0,0,STRCAT('5换手: ', CON2STR(SUM(DYNAINFO(37)*100,5),2))),COLORBLACK{XG51};
DRAWTEXT_FIX(ISLASTBAR,0.81,0.0,0,STRCAT('10换手: ', CON2STR(SUM(DYNAINFO(37)*100,10),2))),COLORBLACK{XG51};
DRAWTEXT_FIX(ISLASTBAR,0.74,0.0,0,STRCAT('20换手: ', CON2STR(SUM(DYNAINFO(37)*100,20),2))),COLORBLACK{XG51};
量比:DYNAINFO(17),COLORFF8000{XG51};
DRAwrECTREL(0,0,350,400,IF(120,RGB(36,36,36),0))NOFRAME{XG51};
超B:=L2_AMO(0,2)/10000.0{XG51};
大B:=L2_AMO(1,2)/10000.0{XG51};
中B:=L2_AMO(2,2)/10000.0{XG51};
小B:=L2_AMO(3,2)/10000.0{XG51};
超S:=L2_AMO(0,3)/10000.0{XG51};
大S:=L2_AMO(1,3)/10000.0{XG51};
中S:=L2_AMO(2,3)/10000.0{XG51};
小S:=L2_AMO(3,3)/10000.0{XG51};
TESTSKIP(NOT(超B OR 大B OR 中B OR 小B OR 超S OR 大S OR 中S OR 小S)!=0){XG51};
总流入比:=(超B+大B+中B+小B)/(超B+大B+中B+小B+超S+大S+中S+小S)*100,NODRAW,COLORRED{XG51};
大单流入:=(超B+大B)/(超B+大B+超S+大S)*100,NODRAW,COLORRED{XG51};
大单流入限制:=IF((超B+大B+超S+大S)=0,0,大单流入){XG51};
成交总量:=(超B+大B+中B+小B+超S+大S+中S+小S),NODRAW,COLORRED{XG51};
机构参与度:=(超B+超S+大B+大S)/成交总量*100,NODRAW,COLORRED{XG51};
主买A:=acTINVOL,COLORWHITE,NODRAW{XG51};
主卖A:=ACTOUTVOL,COLORCYAN,NODRAW{XG51};
主买C:=主买A*100/(主买A+主卖A),NODRAW,COLORWHITE{XG51};
DRAWRECTREL(100,125,340,75,RGB(51,185,84))NOFRAME{XG51};
DRAWRECTREL(100,125,220,75,RGB(51,153,204))NOFRAME{XG51};
DRAWRECTREL(100,125,100+240*CONST(总流入比/100),75,RGB(243,83,81))NOFRAME{XG51};
DRAWRECTREL(100,200,340,150,RGB(50,185,84))NOFRAME{XG51};
DRAWRECTREL(100,200,220,150,RGB(51,153,204))NOFRAME{XG51};
DRAWRECTREL(100,200,100+240*CONST(大单流入限制/100),150,RGB(243,83,81))NOFRAME{XG51};
DRAWRECTREL(100,275,340,225,RGB(50,185,84))NOFRAME{XG51};
DRAWRECTREL(100,275,220,225,RGB(51,153,204))NOFRAME{XG51};
DRAWRECTREL(100,275,100+240*CONST(机构参与度/100),225,RGB(243,83,81))NOFRAME{XG51};
DRAWRECTREL(100,350,340,300,RGB(50,185,84))NOFRAME{XG51};
DRAWRECTREL(100,350,220,300,RGB(51,153,204))NOFRAME{XG51};
DRAWRECTREL(100,350,100+240*CONST(主买C/100),300,RGB(243,83,81))NOFRAME{XG51};
DRAWTEXT_FIX(1,0.00,0.070,0,STRCAT(STRCAT('资金流入比: ',CON2STR(总流入比,2)),' %')),COLORRED{XG51};
DRAWTEXT_FIX(1,0.00,0.142,0,STRCAT(STRCAT('大单流入比: ',CON2STR(大单流入限制,2)),' %买')),COLORRED{XG51};
DRAWTEXT_FIX(1,0.00,0.215,0,STRCAT(STRCAT('机构参与度: ',CON2STR(机构参与度,2)),' %')),COLORRED{XG51};
DRAWTEXT_FIX(1,0.00,0.290,0,STRCAT(STRCAT('主动买卖比: ',CON2STR(主买C,2)),' %')),COLORRED{XG51};
DRAWRECTREL(0,400,188,999,IF(120,RGB(50,50,50),0))NOFRAME{XG51};
净流入:=(超B+大B+中B+小B)-(超S+大S+中S+小S),NODRAW{XG51};
超大单:=(超B)-(超S),NODRAW{XG51};
大单:=(大B)-(大S),NODRAW{XG51};
中单:=(中B)-(中S),NODRAW{XG51};
小单:=(小B)-(小S),NODRAW{XG51};
DAZHI:=CONST(MAX(ABS(净流入),MAX(ABS(超大单),MAX(ABS(大单),MAX(ABS(中单),ABS(小单)))))),NODRAW{XG51};
DRAWRECTREL(5,CONST(950-(ABS(净流入)*500/DAZHI)),33,950,IF(CONST(净流入)>0,RGB(236,48,129),RGB(51,153,204)))NOFRAME{XG51};
DRAWRECTREL(41,CONST(950-(ABS(超大单)*500/DAZHI)),69,950,IF(CONST(超大单)>0,RGB(243,83,81),RGB(50,185,84)))NOFRAME{XG51};
DRAWRECTREL(77,CONST(950-(ABS(大单)*500/DAZHI)),105,950,IF(CONST(大单)>0,RGB(243,83,81),RGB(50,185,87)))NOFRAME{XG51};
DRAWRECTREL(113,CONST(950-(ABS(中单)*500/DAZHI)),141,950,IF(CONST(中单)>0,RGB(243,83,81),RGB(50,185,87)))NOFRAME{XG51};
DRAWRECTREL(149,CONST(950-(ABS(小单)*500/DAZHI)),177,950,IF(CONST(小单)>0,RGB(243,83,81),RGB(50,185,87)))NOFRAME{XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.041,0.40,0,'今日资金 单位:万元'),COLORGREEN{XG51};
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.006,0.51,0,INTPART(净流入)),COLORRED{XG51};
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.043,0.58,0,INTPART(超大单)),COLORRED{XG51};
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.078,0.65,0,INTPART(大单)),COLORRED{XG51};
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.115,0.72,0,INTPART(中单)),COLORRED{XG51};
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.152,0.79,0,INTPART(小单)),COLORRED{XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.006,0.98,0,'净流入'),COLORRED{XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.040,0.98,0,'超大单'),COLORRED{XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.080,0.98,0,'大单'),COLORRED{XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.116,0.98,0,'中单'),COLORRED{XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.153,0.98,0,'小单'),COLORRED{XG51};
N:=5{XG51};
DRAWRECTREL(350,400,188,999,IF(120,RGB(50,50,0),0))NOFRAME{XG51};
净流入N天和:=SUM(净流入,N){XG51};
超大单N天和:=SUM(超大单,N){XG51};
大单N天和:=SUM(大单,N){XG51};
中单N天和:=SUM(中单,N){XG51};
小单N天和:=SUM(小单,N){XG51};
DAZHIX:=CONST(MAX(ABS(净流入N天和),MAX(ABS(超大单N天和),MAX(ABS(大单N天和),MAX(ABS(中单N天和),ABS(小单N天和)))))),NODRAW{XG51};
DRAWRECTREL(230,CONST(950-(ABS(净流入N天和)*500/DAZHIX)),245,950,IF(CONST(净流入N天和)>0,RGB(192,0,64),RGB(0,128,128)))NOFRAME{XG51};
DRAWRECTREL(255,CONST(950-(ABS(超大单N天和)*500/DAZHIX)),270,950,IF(CONST(超大单N天和)>0,RGB(180,0,0),RGB(32,128,32)))NOFRAME{XG51};
DRAWRECTREL(280,CONST(950-(ABS(大单N天和)*500/DAZHIX)),295,950,IF(CONST(大单N天和)>0,RGB(180,0,0),RGB(32,128,32)))NOFRAME{XG51};
DRAWRECTREL(305,CONST(950-(ABS(中单N天和)*500/DAZHIX)),320,950,IF(CONST(中单N天和)>0,RGB(180,0,0),RGB(32,128,32)))NOFRAME{XG51};
DRAWRECTREL(330,CONST(950-(ABS(小单N天和)*500/DAZHIX)),345,950,IF(CONST(小单N天和)>0,RGB(180,0,0),RGB(32,128,32)))NOFRAME{XG51};
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.225,0.48,0,INTPART(净流入N天和)),COLORRED{XG51};
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.250,0.56,0,INTPART(超大单N天和)),COLORRED{XG51};
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.275,0.64,0,INTPART(大单N天和)),COLORRED{XG51};
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.300,0.72,0,INTPART(中单N天和)),COLORRED{XG51};
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.325,0.80,0,INTPART(小单N天和)),COLORRED{XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.233,0.98,0,'净'),COLORRED{XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.257,0.98,0,'超'),COLORRED{XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.283,0.98,0,'大'),COLORRED{XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.307,0.98,0,'中'),COLORRED{XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.333,0.98,0,'小'),COLORRED{XG51};
DRAWTEXT_FIX(C>0,0.196,0.42,0,'近'),COLORLIGREEN{XG51};
DRAWTEXT_FIX(C>0,0.196,0.54,0,'5'),COLORLIGREEN{XG51};
DRAWTEXT_FIX(C>0,0.196,0.66,0,'天'),COLORLIGREEN{XG51};
DRAWTEXT_FIX(C>0,0.196,0.78,0,'资'),COLORLIGREEN{XG51};
DRAWTEXT_FIX(C>0,0.196,0.90,0,'金'),COLORLIGREEN{XG51};
DRAWTEXT_FIX(C>0,0.212,0.60,0,'万'),COLORLIGREEN{XG51};
DRAWTEXT_FIX(C>0,0.212,0.75,0,'元'),COLORLIGREEN{XG51};
N1:=10{XG51};
N2:=20{XG51};
DRAWRECTREL(420,0,350,999,IF(120,RGB(0,64,64),0))NOFRAME{XG51};
净流入N1天和:=SUM(净流入,N1){XG51};
净流入N2天和:=SUM(净流入,N2){XG51};
DAZHIXZ:=CONST(MAX(ABS(净流入N1天和),ABS(净流入N2天和))),NODRAW{XG51};
DRAWRECTREL(360,CONST(950-(ABS(净流入N1天和)*680/DAZHIXZ)),380,950,IF(CONST(净流入N1天和)>0,RGB(192,0,64),RGB(0,128,128)))NOFRAME{XG51};
DRAWRECTREL(390,CONST(950-(ABS(净流入N2天和)*680/DAZHIXZ)),410,950,IF(CONST(净流入N2天和)>0,RGB(190,0,64),RGB(0,128,128)))NOFRAME{XG51};
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.355,0.35,0,INTPART(净流入N1天和)),COLORRED{XG51};
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.390,0.50,0,INTPART(净流入N2天和)),COLORRED{XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.350,0.05,0,'10天净流 (万元)'),COLORRED{XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.385,0.20,0,'20天净流'),COLORRED{X=G_5.1=C=N={};
通达信微烧擒牛未加密选股指标公式源码
源码正文:
J5:COUNT(REF(C,1)>REF(C,2)*1.095,8)>0 AND (REF(C,1)-REF(C,2))/REF(C,2)<-0.035 AND C>REF(C,1)*1.055 AND DYNAINFO(4)>0 AND CAPITAL<5000000 AND NOT(H=L){X_G*5-1_C_N_{};
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7