通达信指标——能量饱和度(副图)
通达信主力筹码一目了然副图指标
通达信主力筹码一目了然副图指标这是一个用来监控主力动向很优秀的指标,有100线上下的柱线显示资金进出情况,20线上灰白柱线提示散户筹码,彩色柱线提示主力筹码运行,从吸货拉升到出货(由蓝-黄-红-绿),散兵坑予示底部,20线下深蓝柱提示关注,亮红柱提示建仓。
三根线与柱线综合观察分析,就可以获得极隹的买卖点。
指标源码:{价量线主线快线}价量:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLOR00CCFF,NODRAW;主线:(((价量-LLV(价量,27))/(HHV(价量,27)-LLV(价量,27)))*(4))*(25),COLORCYAN,NODRAW;快线:(((价量-LLV(价量,9))/(HHV(价量,9)-LLV(价量,9)))*(4))*(25),COLOR55AAFF,NODRAW;RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;K1:=SMA(RSV,3,1);D1:=SMA(K1,3,1);KK:=INTPART(K1);DD:=INTPART(D1);TFXXS:=KK+DD;{变异KD风险系数}TGLXS:=(TFXXS-REF(TFXXS,1));{变异KD乖离系数:资金流向}{红}XXX(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR0000A A;STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR0022C C;STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR0055FF ;{粉}XXX(XXX<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORAA00B B;STICKLINE(TGLXS<0 ANDTGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORCC22B B;STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFF55B B;{黄}XXX(TGLXS>0 ANDXXX<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR00A AFF;XXX(TGLXS>0 ANDXXX<=REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR00C CFF;XXX(TGLXS>0XXX<=REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR00FFFF; {蓝}XXX(XXX<0XXX<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORFF7700; XXX<0XXX<=REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORFFAA22 ;STICKLINE(TGLXS<0XXX<=REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFFFF55; STICKLINE(TGLXS=0 ANDREF(TGLXS,1)>=0,100,TGLXS+100,8,0),COLORBROWN;STI CKLINE(TGLXS=0 AND REF(TGLXS,1)<0,100,TGLXS+100,8,0),COLORWHITE;ZLCM: =EMA(WINNER(CLOSE)*70,3);{主力筹马预算}SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{散户筹码估算}ZSHTL:=SHCM/(ZLCM+SHCM)*100;{散户套牢筹码系数} ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{主力控盘筹码系数} ZSHJJ:=EMA(ZSHTL,55);{散户警戒}ZZLJJ:=EMA(ZZLKP,55);{主力警戒}散兵坑:IF(ZZLKP<=10,ZZLKP,ZZLKP),COLORMAGENTA,NODR AW;{散户套牢筹码}XXX(C>0,ZSHTL,ZZLKP,2,0),COLOR;{散户筹码警戒}XXX(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,2,0),COLORC0C0C0;{主力控盘筹码}{粉}STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,2.5,0 ),COLORAA00BB;STICKLINE(ZZ LKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,1.5,0 ),COLORCC22BB;STICKLINE(ZZ LKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,0.5,0 ),COLOREE44BB;{蓝}XXX(ZZLKP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,2.5,0 ),COLORFF7700;STICKLINE(ZZL KP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,1.5,0 ),COLORFFAA22;STICKLINE(ZZL KP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,0.5 ,0 ),COLORFFFF55;{亮红} STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,2.5,0 ),COLOR131FFD;STICKLINE(ZZLK P>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,1.5,0 ),COLOR5050FF;STICKLINE(ZZLK P>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,0.5,0 ),COLOR7E7EFF;{深蓝}XXX(ZZLKP<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,2.5,0 ),COLORAA0000;STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,1.5,0 ),COLORCC0000;STICKLINE(ZZLK P<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,0.5 ,0 ),COLORFF0000;{主力筹马警卫} {黄}STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,2.5,0 ),C OLOR00AAFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,1.5,0 ),C OLOR00CCFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,0.5,0 ),C OLOR00FFFF;{红}XXX(ZZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,2.5,0 ),COLOR0000AA;STICKLINE(Z ZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,1.5,0 ),COLOR0022CC;STICKLINE(Z ZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,0.5 ,0 ),COLOR0055FF;{红} XXX(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50ANDZZLJJ>REF(ZZLJJ,1),ZZLKP,50,2.5,0 ),COLOR0000AA;XXX(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50 ANDZZLJJ>REF(ZZLJJ,1),ZZLKP,50,1.5,0 ),COLOR0022CC;XXX(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50 ANDZZLJJ>REF(ZZLJJ,1),ZZLKP,50,0.5 ,0 ),COLOR0055FF;{铸顶风险区}{绿}STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,2.5,0),COLOR00AA00;STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,1.5,0),COLOR00CC00;STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,0.5,0),COLOR00FF00;{散兵坑}XXX(ZZLKP<=10,ZZLKP,0,5,0),COLORDD00DD;100,COLORGREEN;80,COLORGREEN;{0,COLORGREEN;}{主线快线}价量,COLOR0CC0FF,LINETHICK2;主线,COLOR00FFAA,LINETHICK2;快线,LINESTICK,COLORFF68DD;100线高低的柱线,表现资金收支情形。
通达信指标公式源码 成交量 副图源码
DRAWGBK(C>0, RGB(0,0,00),RGB(0,0,0),0,'H3',0);M1:=5; M2:=10;TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60, IF(PERIOD=5,240,1)))));MTIME:=MOD(FROMOPEN,TOTAL);CTIME:=IF(MTIME<0.5,TOTAL,MTIME);虚拟量:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW; 成交量:VOL,NODRAW;五日均量:MA(成交量,M1);十日均量:MA(成交量,M2);大单动向:(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7),COLORRED,N ODRAW;LC:=REF(CLOSE,1);RSI5:=(SMA(MAX(CLOSE-LC,0),3,1))/(SMA(ABS(CLOSE-LC),3,1))*100;WR10:=(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))*100;活跃度:(RSI5-WR10),COLORFFFF00,LINETHICK1,NODRAW;{--------VOL.量能饱和--------}N1:=34;N2:=N1*1.05;N3:=N1+3;SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));量能饱和度:IF(SAT>1,1,SAT)*100,COLOR0099FF,NODRAW;中点:=REF(REFDATE(HHV(V,60)/2,DATE),5);{量能饱和的变色切换} {中点:=REFDATE(HHV(V,240)/2,DATE);}STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),虚拟量,0,-1,-1),COLOR00C0C0;STICKLINE("MACD.MACD">0,0,V,2.8,1),COLORRED;STICKLINE("MACD.MACD"<=0,0,V,2.8,1),COLORCYAN;VAR2:=CLOSE-REF(CLOSE,1);VAR3:=IF(CLOSE-REF(CLOSE,1)>=0,VAR2,0);VAR4:=REF(CLOSE,1)-CLOSE;VAR5:=IF(CLOSE-REF(CLOSE,1)<=0,VAR4,0);VAR6:=SUM(VAR3,16)/SUM(VAR5,16);VAR7:=100-100/(1+VAR6);VAR8:=EMA(VAR7,16);VAR9:=EMA(VAR8,8);VARA:=EMA(VAR8,45);MO:=(VAR8-VARA);ML:=(VAR9-VARA);VAR1A:=EMA(CLOSE,32);VAR2A:=MA(OPEN,32);趋势:=(VAR1A-VAR2A);STICKLINE(MO>ML AND 趋势<0 AND MO>REF(MO,3) AND 趋势>REF(趋势,3),VOL,0,2.5,0) COLORYELLOW;C1:=10000*CLOSE/INDEXC;O1:=10000*OPEN/INDEXO;H1:=10000*HIGH/INDEXH;L1:=10000*LOW/INDEXL;STICKLINE((C>O AND C1>O1) OR ((C<O OR C>REF(C,1)) AND(C1>O1)),0,VOL/3*2,2.5,0),COLOR000099;STICKLINE((C>O AND C1>O1) OR ((C<O OR C>REF(C,1)) AND(C1>O1)),0,VOL/3*2,1.3,0),COLOR0000CC;STICKLINE((C>O AND C1>O1) OR ((C<O OR C>REF(C,1)) AND(C1>O1)),0,VOL/3*2,0.1,0),COLOR9966FF;STICKLINE((C<O AND C1<O1) OR ((C>O OR C<REF(C,1)) AND(C1<O1)),0,VOL/3*2,2.5,0),COLORFF6600;STICKLINE((C<O AND C1<O1) OR ((C>O OR C<REF(C,1)) AND(C1<O1)),0,VOL/3*2,1.3,0),COLORFF9933;STICKLINE((C<O AND C1<O1) OR ((C>O OR C<REF(C,1)) AND(C1<O1)),0,VOL/3*2,0.1,0),COLORFFCC66;STICKLINE(活跃度>0,0,VOL/3,2.5,0),COLOR990099;STICKLINE(活跃度>0,0,VOL/3,1.3,0),COLORCC00CC;STICKLINE(活跃度>0,0,VOL/3,0.1,0),COLORFF66FF;STICKLINE(活跃度<0,0,VOL/3,2.5,0),COLOR009900;STICKLINE(活跃度<0,0,VOL/3,1.3,0),COLOR00CC33;STICKLINE(活跃度<0,0,VOL/3,0.1,0),COLOR99FF66;大单动向限制:=IF(大单动向>1,1,IF(大单动向<-1,-1,大单动向));流入:=IF(大单动向限制>0,大单动向限制,DRAWNULL);流出:=IF(大单动向限制<=0,大单动向限制*-1,DRAWNULL);STICKLINE(大单动向限制>0,0,VOL*流入,1,0),COLOR66CCFF;STICKLINE(大单动向限制<0,0,VOL*流出,1,0),COLORFF0000;{--------VOL.量能饱和--------}STICKLINE(CURRBARSCOUNT=N1,中点*1.8,中点*1.6,100,1),COLOR00DDDD; STICKLINE(CURRBARSCOUNT=N1,中点*1.79,中点*1.61,量能饱和度,0),COLOR0055FF;STICKLINE(CURRBARSCOUNT=N1,中点*1.76,中点*1.64,量能饱和度,0),COLOR0077FF;STICKLINE(CURRBARSCOUNT=N1,中点*1.73,中点*1.67,量能饱和度,0),COLOR0099FF;STICKLINE(CURRBARSCOUNT=N1,中点*1.7,中点*1.7,量能饱和度,0),COLOR00DDFF;DRAWTEXT(CURRBARSCOUNT=N3,中点*1.7,'量能饱和度'),COLORYELLOW;。
通达信指标——主力持仓量(副图)
换手:=V*100/CAPITAL;主力:=MA(换手,4);大户:=MA(换手,9);中户:=MA(换手,17);散户:=MA(换手,34);均量:=(主力+大户+中户+散户)/4;主力能量:(主力-均量),COLORRED,NODRAW;大户量:(大户-均量),COLORMAGENTA,NODRAW;中户量:(中户-均量),COLORYELLOW,NODRAW;散户量:(散户-均量),NODRAW;操盘:STICKLINE(主力能量>= 0 AND 主力能量>= REF(主力能量,1),4.5,4.5+主力能量,1,0),COLORRED;减仓:STICKLINE(主力能量>= 0 AND 主力能量< REF(主力能量,1),4.5,4.5+主力能量,1,0),COLOR00CC20;反弹:STICKLINE(主力能量< 0 AND 主力能量>= REF(主力能量,1),4.5,4.5+主力能量,1,0),COLOR00CCCC;寻底:STICKLINE(主力能量< 0 AND 主力能量< REF(主力能量,1),4.5,4.5+主力能量,1,0),COLORFF9900;DRAWTEXT(ISLASTBAR=1,IF(主力能量>= 0,4.2,4.8),'机构'),COLORRED;操盘1:STICKLINE(大户量>= 0 AND 大户量>= REF(大户量,1),3,3+大户量,1,0),COLORRED;减仓1:STICKLINE(大户量>= 0 AND 大户量< REF(大户量,1),3,3+大户量,1,0),COLOR00CC20;反弹1:STICKLINE(大户量< 0 AND 大户量>= REF(大户量,1),3,3+大户量,1,0),COLOR00CCCC;寻底1:STICKLINE(大户量< 0 AND 大户量< REF(大户量,1),3,3+大户量,1,0),COLORFF9900;DRAWTEXT(ISLASTBAR=1,IF(大户量>= 0,2.7,3.3),'大户'),COLORMAGENTA;操盘2:STICKLINE(中户量>= 0 AND 中户量>= REF(中户量,1),1.5,1.5+中户量,1,0),COLORRED;减仓2:STICKLINE(中户量>= 0 AND 中户量< REF(中户量,1),1.5,1.5+中户量,1,0),COLOR00CC20;反弹2:STICKLINE(中户量< 0 AND 中户量>= REF(中户量,1),1.5,1.5+中户量,1,0),COLOR00CCCC;寻底2:STICKLINE(中户量< 0 AND 中户量< REF(中户量,1),1.5,1.5+中户量,1,0),COLORFF9900;DRAWTEXT(ISLASTBAR=1,IF(中户量>=0,1.2,1.8),'中户'),COLORYELLOW;操盘3:STICKLINE(散户量>= 0 AND 散户量>= REF(散户量,1),0,散户量,1,0),COLORRED; 减仓3:STICKLINE(散户量>= 0 AND 散户量< REF(散户量,1),0,散户量,1,0),COLOR00CC20; 反弹3:STICKLINE(散户量< 0 AND 散户量>= REF(散户量,1),0,散户量,1,0),COLOR00CCCC;寻底3:STICKLINE(散户量< 0 AND 散户量< REF(散户量,1),0,散户量,1,0),COLORFF9900; DRAWTEXT(ISLASTBAR=1,IF(散户量>= 0,-0.3,0.3),'散户'),COLORGREEN;红买盘:MA(C,3),COLORRED,NODRAW;绿卖盘:MA(C,3),COLORGREEN,NODRAW;黄反弹:MA(C,3),COLORYELLOW,NODRAW;蓝寻底:MA(C,3),COLORFF9900,NODRAW;成交量:VOL,COLORWHITE,NODRAW;均量5:MA(成交量,5)/50000,COLORMAGENTA,LINETHICK2;均量20:MA(成交量,20)/50000,COLOR00FFFF,LINETHICK2;均量120:MA(成交量,120)/50000,COLOR00CC20,LINETHICK2;B:=ZIG(3,50/5)*1;G:=MA(B,2);D:=CROSS(B,G)*10;W:=CROSS(G,B)*10;DRAWTEXT(W=10,4,'卖' ),COLORWHITE;DRAWTEXT(D=10,4,'买'),COLORCYAN;。
通达信指标公式源码 价涨停难逃副图选股指标
涨停难逃副图源码:福海制:0,NODRAW,COLORCYAN;趋势线:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLOR YELLOW;动态市盈率:CLOSE/FINANCE(33),NODRAW,COLORWHITE;X_1:=AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20));量能饱和度:IF(X_1>1,1,X_1)*100,NODRAW,COLORRED;X_2:=CLOSE/REF(CLOSE,1)>1.02;X_3:=VOL>MA(VOL,5);X_4:=X_2 AND X_3;X_5:=IF(X_4,70,0);X_6:=X_5;X_7:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));X_8:=IF(CLOSE>OPEN,X_7*(HIGH-LOW),IF(CLOSE<OPEN,X_7*(HIGH-OPEN +(CLOSE-LOW)),VOL/2));X_9:=X_8/VOL*100;X_10:=X_9>=80;X_11:=ATAN((EMA(CLOSE,5)/REF(EMA(CLOSE,5),1)-1)*100)*57.299999;X_12:=ATAN((EMA(CLOSE,10)/REF(EMA(CLOSE,10),1)-1)*100)*57.299999; X_13:=ATAN((EMA(CLOSE,20)/REF(EMA(CLOSE,20),1)-1)*100)*57.299999; X_14:=X_11>=60 AND X_12>13;X_15:=IF(CLOSE>REF(CLOSE,1),88,0);X_16:=IF(CLOSE/REF(CLOSE,1)>1.02 AND HIGH/CLOSE<1.01 ANDX_15>0,91,0);X_17:=FILTER(X_16>1,5);X_18:=MA(CLOSE,90);X_19:=MA(CLOSE,288);X_20:=IF(1.1>SMA(CLOSE,2,1)/SMA(CLOSE,13,2)>1.03,SMA(HIGH,21,5)*1.0 5,SMA(HIGH,21,2)*1.05);X_21:=IF(1.09>SMA(CLOSE,5,1)/SMA(CLOSE,15,1)>0.3,SMA(LOW,10,1),SMA (LOW,5,1));X_22:=IF(MA(VOL,2)>MA(VOL,3)/2>MA(VOL,5),SMA(HIGH,2,1),SMA(CLOSE, 3,1));X_23:=IF(MA(VOL,3)>MA(VOL,5)>MA(VOL,9),SMA(CLOSE,3,1),SMA(CLOSE,5 ,1));X_24:=CROSS(X_22,X_20) OR CROSS(X_18,X_21) OR CROSS(X_20,X_19); X_25:=X_17 OR X_24;X_26:=CLOSE/REF(CLOSE,3)*100-100;X_27:=STICKLINE(X_26>12,0,50,2,0);X_28:=MA(CLOSE,5);X_29:=MA(CLOSE,10);X_30:=MA(VOL,10);X_31:=HHV(HIGH,5)=HHV(HIGH,0) AND BARSCOUNT(CLOSE)>=5;X_32:=CLOSE>REF(CLOSE,1)*1.02;X_33:=VOL>X_30;X_34:=OPEN>X_29 AND CLOSE>X_28;X_35:=X_31 AND X_32 AND X_33 AND X_34;X_36:=X_26 OR X_35;X_37:=X_6 AND X_10 AND X_14 AND X_25 AND X_36;STICKLINE(X_37,20,40,1,0),COLORWHITE;STICKLINE(X_37,10,20,2,0),COLORRED;STICKLINE(X_37,0,10,3,0),COLOR0080FF;STICKLINE(X_37,(-10),0,4,0),COLORMAGENTA;STICKLINE(X_37,(-20),(-10),5,0),COLORYELLOW;STICKLINE(X_37,(-30),(-20),6,0),COLORLIGREEN;STICKLINE(X_37,(-40),(-30),7,0),COLORCYAN;STICKLINE(X_37,(-50),(-40),8,0),COLORBLUE;STICKLINE(X_37,(-65),(-50),9,0),COLORLIGREEN;DRAWICON(X_37,43,13);{公式名称: 涨停难逃公式描述:无参数公式类型: 条件选股公式-其他类型公式版本: 0参数精灵:无用法睥释:无公式源码:}X_1:=CLOSE/REF(CLOSE,1)>1.02;X_2:=VOL>MA(VOL,5);X_3:=X_1 AND X_2;X_4:=IF(X_3,70,0);X_5:=X_4;X_6:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));X_7:=IF(CLOSE>OPEN,X_6*(HIGH-LOW),IF(CLOSE<OPEN,X_6*(HIGH-OPEN +(CLOSE-LOW)),VOL/2));X_8:=X_7/VOL*100;X_9:=X_8>=80;X_10:=ATAN((EMA(CLOSE,5)/REF(EMA(CLOSE,5),1)-1)*100)*57.299999;X_11:=ATAN((EMA(CLOSE,10)/REF(EMA(CLOSE,10),1)-1)*100)*57.299999; X_12:=ATAN((EMA(CLOSE,20)/REF(EMA(CLOSE,20),1)-1)*100)*57.299999; X_13:=X_10>=60 AND X_11>13;X_14:=IF(CLOSE>REF(CLOSE,1),88,0);X_15:=IF(CLOSE/REF(CLOSE,1)>1.02 AND HIGH/CLOSE<1.01 ANDX_14>0,91,0);X_16:=FILTER(X_15>1,5);X_17:=MA(CLOSE,90);X_18:=MA(CLOSE,288);X_19:=IF(1.1>SMA(CLOSE,2,1)/SMA(CLOSE,13,2)>1.03,SMA(HIGH,21,5)*1.0 5,SMA(HIGH,21,2)*1.05);X_20:=IF(1.09>SMA(CLOSE,5,1)/SMA(CLOSE,15,1)>0.3,SMA(LOW,10,1),SMA (LOW,5,1));X_21:=IF(MA(VOL,2)>MA(VOL,3)/2>MA(VOL,5),SMA(HIGH,2,1),SMA(CLOSE, 3,1));X_22:=IF(MA(VOL,3)>MA(VOL,5)>MA(VOL,9),SMA(CLOSE,3,1),SMA(CLOSE,5 ,1));X_23:=CROSS(X_21,X_19) OR CROSS(X_17,X_20) OR CROSS(X_19,X_18); X_24:=X_16 OR X_23;X_25:=CLOSE/REF(CLOSE,3)*100-100;X_26:=STICKLINE(X_25>12,0,50,2,0);X_27:=MA(CLOSE,5);X_28:=MA(CLOSE,10);X_29:=MA(VOL,10);X_30:=HHV(HIGH,5)=HHV(HIGH,0) AND BARSCOUNT(CLOSE)>=5;X_31:=CLOSE>REF(CLOSE,1)*1.02;X_32:=VOL>X_29;X_33:=OPEN>X_28 AND CLOSE>X_27;X_34:=X_30 AND X_31 AND X_32 AND X_33;X_35:=X_25 OR X_34;X_5 AND X_9 AND X_13 AND X_24 AND X_35,COLORMAGENTA,LINETHICK4;。
通达信四量图副图指标公式详解
通达信四量图副图指标公式详解通达信四量图指标是通达信软件中的一种经典副图指标,它通过显示成交量、成交额、量比和换手率四个指标,帮助投资者更直观地了解市场供需情况和股票的活跃程度。
本文将详细解析四量图指标的计算公式及其应用方法。
一、成交量(VOL)成交量是指在一定时间内市场交易的股票数量。
通达信软件中成交量的计算公式如下:VOL = IF(CLOSE > REF(CLOSE, 1), REF(VOL, 1) * (1 + (CLOSE - REF(CLOSE, 1)) / REF(CLOSE, 1)), REF(VOL, 1))该公式表示,如果当前收盘价高于前一日收盘价,则当天的成交量等于前一天成交量乘以1加上当天的收盘价与前一日收盘价之差除以前一日的收盘价;如果当前收盘价低于或等于前一日收盘价,则当天的成交量等于前一天的成交量。
二、成交额(AMOUNT)成交额是指在一定时间内市场交易的股票金额。
通达信软件中成交额的计算公式如下:AMOUNT = IF(CLOSE > REF(CLOSE, 1), REF(AMOUNT, 1) * (1 + (CLOSE - REF(CLOSE, 1)) / REF(CLOSE, 1)), REF(AMOUNT, 1))该公式表示,如果当前收盘价高于前一日收盘价,则当天的成交额等于前一天成交额乘以1加上当天的收盘价与前一日收盘价之差除以前一日的收盘价;如果当前收盘价低于或等于前一日收盘价,则当天的成交额等于前一天的成交额。
三、量比(VR)量比是用来衡量当前成交量与过去一段时间平均成交量的比值。
通达信软件中量比的计算公式如下:VR = VOL / REF(VOL, 5)该公式表示,当前量比等于当前成交量除以过去五天的平均成交量。
四、换手率(TURNOVER)换手率是指在一定时间内市场上股票的成交量与其流通股本的比率。
通达信软件中换手率的计算公式如下:TURNOVER = VOL / CIRCULATION该公式表示,换手率等于当前成交量除以当前股票的流通股本。
通达信主力筹码一目了然副图指标
这是一个用来监控主力动向很优秀的指标,有100线上下的柱线显示资金进出情况,20线上灰白柱线提示散户筹码,彩色柱线提示主力筹码运行,从吸货拉升到出货(由蓝-黄-红-绿),散兵坑予示底部,20线下深蓝柱提示关注,亮红柱提示建仓。
三根线与柱线综合观察分析,就可以获得极隹的买卖点。
指标源码:{价量线主线快线}价量:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLOR00CCFF,NODRAW;主线:(((价量-LLV(价量,27))/(HHV(价量,27)-LLV(价量,27)))*(4))*(25),COLORCYAN,NODRAW;快线:(((价量-LLV(价量,9))/(HHV(价量,9)-LLV(价量,9)))*(4))*(25),COLOR55AAFF,NODRAW;RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;K1:=SMA(RSV,3,1);D1:=SMA(K1,3,1);KK:=INTPART(K1);DD:=INTPART(D1);TFXXS:=KK+DD;{变异KD风险系数}TGLXS:=(TFXXS-REF(TFXXS,1));{变异KD乖离系数:资金流向}{红}STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR0000AA; STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR0022CC; STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR0055FF; {粉}STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORAA00BB; STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORCC22BB; STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFF55BB; {黄}STICKLINE(TGLXS>0 ANDTGLXS<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR00AAFF;STICKLINE(TGLXS>0 ANDTGLXS<=REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR00CCFF;STICKLINE(TGLXS>0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR00FFFF; {蓝}STICKLINE(TGLXS<0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORFF7700; STICKLINE(TGLXS<0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORFFAA22; STICKLINE(TGLXS<0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFFFF55; STICKLINE(TGLXS=0 AND REF(TGLXS,1)>=0,100,TGLXS+100,8,0),COLORBROWN; STICKLINE(TGLXS=0 AND REF(TGLXS,1)<0,100,TGLXS+100,8,0),COLORWHITE; ZLCM:=EMA(WINNER(CLOSE)*70,3);{主力筹码估算}SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{散户筹码估算} ZSHTL:=SHCM/(ZLCM+SHCM)*100;{散户套牢筹码系数}ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{主力控盘筹码系数}ZSHJJ:=EMA(ZSHTL,55);{散户警戒}ZZLJJ:=EMA(ZZLKP,55);{主力警戒}散兵坑:IF(ZZLKP<=10,ZZLKP,ZZLKP),COLORMAGENTA,NODRAW;{散户套牢筹码}STICKLINE(C>0,ZSHTL,ZZLKP,2,0),COLOR808080;{散户筹码警戒}STICKLINE(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,2,0),COLORC0C0C0;{主力控盘筹码}{粉}STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,2.5,0 ),COLORAA00BB; STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,1.5,0 ),COLORCC22BB; STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,0.5,0 ),COLOREE44BB; {蓝}STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,2.5,0 ),COLORFF7700; STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,1.5,0 ),COLORFFAA22; STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,0.5 ,0 ),COLORFFFF55; {亮红}STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,2.5,0 ),COLOR131FFD; STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,1.5,0 ),COLOR5050FF; STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,0.5,0 ),COLOR7E7EFF;{深蓝}STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,2.5,0 ),COLORAA0000; STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,1.5,0 ),COLORCC0000; STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,0.5 ,0 ),COLORFF0000;{主力筹码警戒}{黄}STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,2.5,0 ),COLOR00AAFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,1.5,0 ),COLOR00CCFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,0.5,0 ),COLOR00FFFF;{红}STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,2.5,0 ),COLOR0000AA; STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,1.5,0 ),COLOR0022CC; STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,0.5 ,0 ),COLOR0055FF;{红}STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50AND ZZLJJ>REF(ZZLJJ,1),ZZLKP,50,2.5,0 ),COLOR0000AA;STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50AND ZZLJJ>REF(ZZLJJ,1),ZZLKP,50,1.5,0 ),COLOR0022CC;STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50AND ZZLJJ>REF(ZZLJJ,1),ZZLKP,50,0.5 ,0 ),COLOR0055FF;{铸顶风险区}{绿}STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,2.5,0),COLOR00AA00; STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,1.5,0),COLOR00CC00; STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,0.5,0),COLOR00FF00;{散兵坑}STICKLINE(ZZLKP<=10,ZZLKP,0,5,0),COLORDD00DD;100,COLORGREEN;80,COLORGREEN;{0,COLORGREEN;}{主线快线}价量,COLOR0CC0FF,LINETHICK2;主线,COLOR00FFAA,LINETHICK2;快线,LINESTICK,COLORFF68DD;100线上下的柱线,显示资金进出情况。
通达信使用的副图量柱指标
绿低量:=10;{ WEN98编制}蓝低量:=50;灰低量:=100;H_L:=0.1*CONST(HHV(VOL,240));VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);{模拟量} STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,1,-1),COLOR00C0C0;量:VOL,VOLSTICK,COLORLIGRAY;换手: VOL*10000/FINANCE(7),NODRAW,COLORGREEN; {DYNAINFO(37)*100}全换手周期: SUMBARS(V,CAPITAL),NODRAW,COLORLIGREEN;{求完全换手到现在的周期数} 量比: V/REF(MA(V,5),1),COLORBROWN,NODRAW;几倍: V/REF(V,1),COLORYELLOW,NODRAW;倍数:=1.9;倍量: VOL>=REF(V,1)*倍数AND (IF(C<O,C>REF(C,1),1)),COLORYELLOW,NODRAW;倍缩: REF(V,1)>=VOL*倍数,COLORMAGENTA,NODRAW;平量: RANGE(V/REF(V,1),0.97,1.03) AND BARSCOUNT(V)>=2,COLORWHITE,NODRAW;低量10: VOL=LLV(VOL,绿低量) AND BARSCOUNT(V)>=绿低量,COLORGREEN,NODRAW;低量50: VOL=LLV(VOL,蓝低量) AND BARSCOUNT(V)>=蓝低量,COLORBLUE,NODRAW;地量: VOL=LLV(VOL,灰低量) AND BARSCOUNT(V)>=灰低量,COLORGRAY,NODRAW;V1:=VOL*0.95;{图标位置}V2:=VOL*0.85;STICKLINE(倍量, 0,V1,1,0),COLORYELLOW;STICKLINE(平量,0,V1,1,0),COLORWHITE;STICKLINE(低量10,0,V2,1,0),COLORLIGREEN;STICKLINE(低量50,0,V2,1,0),COLORBLUE;STICKLINE(地量,0,V2,1,0),COLORGRA Y;STICKLINE(倍缩,0,V*0.45,1,0),COLORMAGENTA;STICKLINE(C<O AND C>REF(C,1),0,V1,0,0),COLORRED;{假阴柱}真阳或假阴:=C>O OR C>REF(C,1);收阳:= REF(真阳或假阴,3);倍量1:=REF(倍量,3);高量:=REF(V,3)>=HHV(V,7);三日不破:= LLV(C,3)>=REF(L,3);价升:=COUNT(C>=REF(C,1),3)=3;{收盘价逐升}量缩:=COUNT(V<=REF(V,1),3)=3;连阳:= COUNT(真阳或假阴,3)=3;倍量将军柱:= 倍量1 AND 三日不破AND 收阳;高量将军柱:= 高量AND 三日不破AND 收阳;将军柱:= 倍量将军柱OR 高量将军柱;黄金柱:= 将军柱AND 价升AND 量缩AND 连阳;{标准黄金柱}STICKLINE(黄金柱,0.3*V,0.7*V,1,0),COLORRED; {红柱}DRAWICON(黄金柱,V*1.5,1);V100:= V<=LLV(V,100)*1.2 AND V>0 AND BARSCOUNT(V)>=100;百日地量群:=COUNT(V100,5)>=3;DRAWTEXT(FILTER(百日地量群,4),V+3*H_L,'地量群'),COLORGRAY; 长阴短柱:=C/REF(C,1)<=0.96 AND V<HHV(V,30)/1.9; DRAWTEXT(长阴短柱,V+1.6*H_L,'!'),COLORLICYAN;。
麟龙主图+副图指标通达信指标公式源码
收到短信很多人向我要麟龙指标,这一套麟龙指标是两三年前看到别人用麟龙至尊版,当时好像费用是三万大洋左右吧,就联合了几个人把它和谐成通达信的指标,当时对照麟龙至尊版的指标,基本是一致的,有些指标还有一些优化。
现在都没去碰麟龙软件,没对比不知道麟龙是否有改进。
当然用了一段时间,觉得指标也就是指标。
今天在这里先发一套出来看看,一主图三副图,就是所谓的麟龙三红战法所用的一套指标。
四色指数平均数(主图叠加):麟龙软件用的是四色谱。
四色指数平均是四色谱叠加指数平均数。
中期方向线(副图)四量图(副图)量能饱和度(副图):这个指标在麟龙软件里是像牛眼那样的显示,在通达信里不能显示出来,就搞成柱状,数值是一点都没变的。
我现在发一个是tne,一个是txt,指标完全一样,不加密,tne一个就饱含4个指标。
喜欢用哪种就下载那一种。
先发一套(三红战法)出来给大家共享看看。
还有麟龙的撞击交易、麟龙至尊交易、麟龙决策交易、麟龙机会交易等等是全部都和谐出来,今后如果有很多人需要的话,就陆续把那些指标发出来给大家共享四色指数平均(主图叠加){主题概念}Z1:=STRCAT(HYBLOCK,'----');Z2:=STRCAT(Z1,FGBLOCK);Z3:=STRCAT(Z2,DYBLOCK);Z4:=STRCAT(Z3,'----');DRAWTEXT_FIX(1,0.00,0.06,0,' 【主题概念】:')COLORCYAN;DRAWTEXT_FIX(ISLASTBAR,0.07,0.06,0,STRCAT(Z4,GNBLOCK)),COLORCYAN; DRAWTEXT_FIX(1,0.07,0.24,0,EXTERNSTR(0,14))COLORYELLOW;MA1:=EMA(C,12);MA2:=EMA(C,50);MA3:=EMA(C,34);MA4:=EMA(C,7);MA5:=EMA(C,20);MA6:=EMA(C,10);DIFF:=EMA(CLOSE,30)-EMA(CLOSE,120);DEA:=EMA(DIFF,9);M1:MA(CLOSE,5),COLORRED,LINETHICK;M2:EMA(CLOSE,12),COLORRED,LINETHICK;M3:EMA(CLOSE,50),COLORRED,LINETHICK;X:=BARSLAST(REF(CROSS(C,MA(C,120)),1)) AND CROSS(MA(C,20),MA(C,120));IF(M3<REF(M3,1),M3,DRAWNULL),COLORGREEN,LINETHICK;STICKLINE(C>=MA1 AND C>=MA2 AND DIFF>=DEA ,H ,L-0.01 ,0 ,0 ),COLORRED; STICKLINE(C>=MA1 AND C>=MA2 AND DIFF>=DEA ,O ,C ,2.5 ,0 ),COLORRED; STICKLINE(C>=MA1 AND C>=MA2 AND DIFF>=DEA ,O ,C ,2 ,0 ),COLORRED; STICKLINE(C>=MA1 AND C>=MA2 AND DIFF>=DEA ,O ,C ,1 ,0 ),COLORRED; STICKLINE(C>=MA1 AND C>=MA2 AND DIFF>=DEA ,O ,C ,0 ,0 ),COLORRED; STICKLINE(C<MA1 AND C>=MA2 AND DIFF<DEA ,H ,L-0.008 ,0 ,0 ),COLORGREEN; STICKLINE(C<MA1 AND C>=MA2 AND DIFF<DEA ,O ,C ,2.5 ,0 ),COLORGREEN; STICKLINE(C<MA1 AND C>=MA2 AND DIFF<DEA ,O ,C ,2 ,0 ),COLORGREEN; STICKLINE(C<MA1 AND C>=MA2 AND DIFF<DEA ,O ,C ,1 ,0 ),COLORGREEN; STICKLINE(C<MA1 AND C>=MA2 AND DIFF<DEA ,O ,C ,0 ,0 ),COLORGREEN; STICKLINE(C<MA1 AND C>=MA2 AND DIFF>=DEA ,H ,L-0.008 ,0 ,0 ),COLORYELLOW; STICKLINE(C<MA1 AND C>=MA2 AND DIFF>=DEA ,O ,C ,2.5 ,0 ),COLORYELLOW; STICKLINE(C<MA1 AND C>=MA2 AND DIFF>=DEA ,O ,C ,2 ,0 ),COLORYELLOW; STICKLINE(C<MA1 AND C>=MA2 AND DIFF>=DEA ,O ,C ,1 ,0 ),COLORYELLOW; STICKLINE(C<MA1 AND C>=MA2 AND DIFF>=DEA ,O ,C ,0 ,0 ),COLORYELLOW; STICKLINE(C>=MA1 AND C>=MA2 AND DIFF<DEA ,H ,L-0.008 ,0 ,0 ),COLORRED; STICKLINE(C>=MA1 AND C>=MA2 AND DIFF<DEA ,O ,C ,2.5 ,0 ),COLORRED; STICKLINE(C>=MA1 AND C>=MA2 AND DIFF<DEA ,O ,C ,2 ,0 ),COLORRED; STICKLINE(C>=MA1 AND C>=MA2 AND DIFF<DEA ,O ,C ,1 ,0 ),COLORRED; STICKLINE(C>=MA1 AND C>=MA2 AND DIFF<DEA ,O ,C ,0 ,0 ),COLORRED; STICKLINE(C<MA1 AND C<MA2 AND DIFF<DEA ,H ,L-0.008 ,0 ,0 ),COLORGREEN; STICKLINE(C<MA1 AND C<MA2 AND DIFF<DEA ,O ,C ,3 ,0 ),COLORGREEN; STICKLINE(C<MA1 AND C<MA2 AND DIFF<DEA ,O ,C ,2.5 ,0 ),COLORGREEN;STICKLINE(C<MA1 AND C<MA2 AND DIFF<DEA ,O ,C ,2 ,0 ),COLORGREEN; STICKLINE(C<MA1 AND C<MA2 AND DIFF<DEA ,O ,C ,1 ,0 ),COLORGREEN; STICKLINE(C<MA1 AND C<MA2 AND DIFF<DEA ,O ,C ,0 ,0 ),COLORGREEN; STICKLINE(C<MA1 AND C<MA2 AND DIFF>=DEA ,H ,L-0.008 ,0 ,0 ),COLORYELLOW; STICKLINE(C<MA1 AND C<MA2 AND DIFF>=DEA ,O ,C ,2.5 ,0 ),COLORYELLOW; STICKLINE(C<MA1 AND C<MA2 AND DIFF>=DEA ,O ,C ,2 ,0 ),COLORYELLOW; STICKLINE(C<MA1 AND C<MA2 AND DIFF>=DEA ,O ,C ,1 ,0 ),COLORYELLOW; STICKLINE(C<MA1 AND C<MA2 AND DIFF>=DEA ,O ,C ,0 ,0 ),COLORYELLOW; STICKLINE(C>=MA1 AND C<MA2 AND DIFF>=DEA ,H ,L-0.008 ,0 ,0 ),COLORRED; STICKLINE(C>=MA1 AND C<MA2 AND DIFF>=DEA ,O ,C ,2.5 ,0 ),COLORRED; STICKLINE(C>=MA1 AND C<MA2 AND DIFF>=DEA ,O ,C ,2 ,0 ),COLORRED; STICKLINE(C>=MA1 AND C<MA2 AND DIFF>=DEA ,O ,C ,1 ,0 ),COLORRED; STICKLINE(C>=MA1 AND C<MA2 AND DIFF>=DEA ,O ,C ,0 ,0 ),COLORRED; STICKLINE(C>=MA1 AND C<MA2 AND DIFF<DEA ,H ,L-0.008 ,0 ,0 ),COLORMAGENTA; STICKLINE(C>=MA1 AND C<MA2 AND DIFF<DEA ,O ,C ,2.5 ,0 ),COLORMAGENTA; STICKLINE(C>=MA1 AND C<MA2 AND DIFF<DEA ,O ,C ,2 ,0 ),COLORMAGENTA; STICKLINE(C>=MA1 AND C<MA2 AND DIFF<DEA ,O ,C ,1 ,0 ),COLORMAGENTA; STICKLINE(C>=MA1 AND C<MA2 AND DIFF<DEA ,O ,C ,0 ,0 ),COLORMAGENTA; EXP1:EMA(C,12),COLORWHITE;EXP2:EMA(C,50),COLORYELLOW;VOLUME:=MA(VOL,1)/VOL;MID:=100*(HIGH+LOW-REF(HIGH+LOW,1))/(HIGH+LOW);EMV:=MA(MID*VOLUME*(HIGH-LOW)/MA(HIGH-LOW,9),9);EMVA:=MA(EMV,14);BB:=EMV-EMVA;BIAS :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;BIASMA :=MA(BIAS,6);CC:=BIAS-BIASMA;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;DD:=(K+D+J)/3;KK:=J-DD;DIFF2:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA2:=EMA(DIFF2,9);SS:=DIFF2-DEA2;AA:=MA(BB+CC+KK+SS,1)*0.01;DRAWTEXT(CROSS(AA,0),L*0.95,'B'),LINETHICK4,COLORWHITE,NODRAW; DRAWTEXT(CROSS(0,AA),H*1.06,'S'),LINETHICK4,COLORGREEN,NODRAW;中期方向线(副图)EXP12:=EXPMA(C,12);EXP50:=EXPMA(C,50);DIR:EXP12-EXP50,NODRAW;DRAWBAND(DIR,RGB(190,0,0),0,RGB(0,160,0));MB:=EXPMA(DIR,20),COLORWHITE;UPPER:MB+1.96*STD(DIR,20),COLORYELLOW;LOWER:MB-1.96*STD(DIR,20),COLORCYAN;四量图(副图)MID9:=(3*CLOSE+LOW+OPEN+HIGH)/6;牛线1:=(20*MID9+19*REF(MID9,1)+18*REF(MID9,2)+17*REF(MID9,3)+16*REF(MID9,4)+1 5*REF(MID9,5)+14*REF(MID9,6)+13*REF(MID9,7)+12*REF(MID9,8)+11*REF(MID9,9) +10*REF(MID9,10)+9*REF(MID9,11)+8*REF(MID9,12)+7*REF(MID9,13)+6*REF(MID9, 14)+5*REF(MID9,15)+4*REF(MID9,16)+3*REF(MID9,17)+2*REF(MID9,18)+REF(MID9, 20))/210,COLORGREEN{COLORRED};马线1:=MA(牛线1,6),COLORMAGENTA{COLORYELLOW};STICKLINE(C>牛线1,-1.9,-0.4,4,0),COLOR000099{COLOR017700},LINETHICK2; STICKLINE(C<马线1,-1.9,-0.4,4,0),COLOR017700{COLOR000099},LINETHICK2; STICKLINE(牛线1>=C AND C>=马线1,-1.9,-0.4,8,0),,COLOR017700{COLOR000099},LINETHICK2;DRAWTEXT(ISLASTBAR=1,IF(V>=0,-1,-0.4),'机构'),COLORWHITE;时间:DATE+1900/00/00,NODRAW ,COLORWHITE;MID1:=(3*CLOSE+LOW+OPEN+HIGH)/6;牛线:=(20*MID1+19*REF(MID1,1)+18*REF(MID1,2)+17*REF(MID1,3)+16*REF(MID1,4)+ 15*REF(MID1,5)+14*REF(MID1,6)+13*REF(MID1,7)+12*REF(MID1,8)+11*REF(MID1,9) +10*REF(MID1,10)+9*REF(MID1,11)+8*REF(MID1,12)+7*REF(MID1,13)+6*REF(MID1, 14)+5*REF(MID1,15)+4*REF(MID1,16)+3*REF(MID1,17)+2*REF(MID1,18)+REF(MID1, 20))/210,COLORGREEN{COLORRED};马线:=MA(牛线,3),COLORMAGENTA{COLORYELLOW};GB:=(C-牛线);换手:=V*100/CAPITAL;主:=MA(换手,5);大:=MA(换手,12);中:=MA(换手,34);散:=MA(换手,55);均:=(主+大+中+散)/4;GBB:=(主-散);GB1:=GB+GBB;STICKLINE(GB1>=0,2.5,4,4,0),COLOR000099{COLOR017700},LINETHICK2; STICKLINE(GB1<0,2.5,4,4,0),COLOR017700{COLOR000099},LINETHICK2; DRAWTEXT(ISLASTBAR=1,IF(V>=0,3.2,0),'散户'),COLORWHITE;AA:=MAX(MA(C,60),MA(C,120));BB:=MIN(MA(C,60),MA(C,120));成交量:=V,COLORWHITE,LINETHICK0;Q:=EMA(V,5);Q1:=EMA(V,50);OBV:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0); OBV1:=EMA(OBV,5);OBV2:=EMA(OBV,50);W:=(Q-Q1)*0.00001;W1:=(OBV1-OBV2)*0.000001;W2:=W+W1;STICKLINE(W2>=0,0.3,1.8,4,0),COLOR000099{COLOR017700},LINETHICK2; STICKLINE(W2<0,0.3,1.8,4,0),COLOR017700{COLOR000099},LINETHICK2; DRAWTEXT(ISLASTBAR=1,IF(V>=0,1,0),'游资'),COLORWHITE;J:=MAX(MA(C,30),MA(C,60));K:=MIN(MA(C,30),MA(C,60));MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;DKX:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210; MADKX:=MA(DKX,6);MDD:=(DKX-MADKX)*1.2;V1:=(C*2+H+L)/4*10;V2:=EMA(V1,6)-EMA(V1,55);V3:=EMA(V2,6);V4:=2*(V2-V3)*5.5;V5:=(V2-V3)*0.06;V6:=MDD+V5;STICKLINE(V6>=0,-4.1,-2.6,4,0),COLOR000099{COLOR017700},LINETHICK2; STICKLINE(V6<0,-4.1,-2.6,4,0),COLOR017700{COLOR000099},LINETHICK2; DRAWTEXT(ISLASTBAR=1,IF(V>=0,-3.4,0),'主力'),COLORWHITE;BQIUV:(GB1),COLORWHITE,NODRAW;BQIUSV:(W2),COLORYELLOW,NODRAW;WWW:(C-牛线1),COLORYELLOW,NODRAW;XEV:(V6),COLORGREEN,NODRAW;量能饱和度(副图)时间:DATE+1900/00/00,NODRAW ,COLORWHITE;N:=20;SAT1:=IF((AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100>100,100,(AMOUNT/C)/(HHV( AMOUNT,N)/HHV(C,N))*100);STICKLINE(((CLOSE>0)AND BARSCOUNT(C)),0,100,3,1),COLOR000048;STICKLINE(((SAT1>=99)AND BARSCOUNT(C)),0,(0+SAT1),2.8,0),COLOR0000BB; SAT:SAT1,LINETHICK0,COLORWHITE;。
通达信短线红柱量指标量能饱和度源码
m1:=13;m2:=72;N1:=34;N2:=N1*1.05;N3:=N1+3;SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));量能饱和度:IF(SAT>1,1,SAT)*100,COLORLIBLUE,NODRAW;中点:=REFDATE(HHV(V,100)/2,DATE);{量能饱和的变色切换}STICKLINE(CURRBARSCOUNT=N1,中点*1.9,中点*1.5,100,1),COLOR00DDDD; STICKLINE(CURRBARSCOUNT=N1,中点*1.88,中点*1.52,量能饱和度,0),COLOR0033FF;{DRAWTEXT(CURRBARSCOUNT=N3,中点*1.82,'量能饱和度'),COLORLIBLUE;} DDD:= CON2STR(量能饱和度,2);DRAWTEXT(CURRBARSCOUNT=N1-8,中点*1.8,DDD),COLORYELLOW; {VOLUME:VOL,VOLSTICK;}VARJ1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));买盘A:=IF(CLOSE>OPEN,VARJ1*(HIGH-LOW),IF(CLOSE<OPEN,VARJ1*((HIGH-OPEN)+( CLOSE-LOW)),VOL/2));成交量比%:买盘A/VOL*100,COLORWHITE,NODRAW;预测量:IF(CURRBARSCOUNT=1 ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW,LINETHICK0; STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,预测量,0,-1,-1),COLOR00C0C0; XA_1:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIO D=5,TOTALFZNUM,1)))));XA_2:=MOD(FROMOPEN,XA_1);XA_3:=IF(XA_2<0.5,XA_1,XA_2);VVOL:IF(CURRBARSCOUNT=1 ANDDYNAINFO(8)>1,VOL*XA_1/XA_3,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 ANDDYNAINFO(8)>1,VVOL,0,(-1),(-1)),COLOR00C0C0;VOLUME:VOL,VOLSTICK;MAVOL1:MA(VOLUME,M1);MAVOL2:MA(VOLUME,M2);XA_4:=VOL>REF(VOL,1)*1.9;XA_5:=VOL<REF(LLV(VOL,13),1);XA_6:=VOL<REF(LLV(VOL,55),1);STICKLINE(XA_4,0,VOL,1,0),COLORYELLOW;STICKLINE(XA_6,0,VOL,1,0),COLORMAGENTA;XA_7:=CLOSE/REF(CLOSE,3)>=1.1;XA_8:=BACKSET(XA_7,2);OK:STICKLINE(XA_8 AND COUNT(XA_8,2)=1,VOL,0,2.5,0),COLORMAGENTA ;。
通达信缠论副图指标
通达信缠论副图指标通达信缠论副图指标是一种技术指标,使用它可以辅助投资者从过去的股票价格波动中发现有利可图的趋势,在股市中有所谓的“缠论”思想,即通过分析价格波动和一些其他技术指标,从而判断其中可能存在的趋势,找出投资机会。
在这方面,通达信缠论副图指标能够对股市走势进行更加精确的分析,从而更容易掌握股票发展的趋势。
通达信缠论副图指标的分析核心是副图,它有三个元素:短期K 线、长期K线和KDJ指标,其中短期K线是十日K线,长期K线是周K线,而KDJ指标是由K值、D值和J值组成的指标。
于KDJ指标,K 值代表看空,而D值则代表看多。
J值是K值和D值之间的差值,它可以帮助投资者分析股价的变化,并识别出股价趋势。
通达信缠论副图指标分析是基于以上三个元素进行的,投资者可以采用均线分析相关技术,将短期K线和长期K线进行比较,查看两者之间的关系,以挖掘出股票价格的变化趋势,并预测股价的走势。
此外,投资者还可以利用KDJ指标,查看K值、D值和J值之间的关系,从而识别出股价的变化态势,对投资者进行辅助分析,帮助他们找出有利可图的投资机会。
通达信缠论副图指标在投资者采用时需要根据市场的实际情况,把握其中的走势,并认真掌握其中的细节,以确定分析过程中的变化。
同时,投资者还要注意市场的变化,及时调整投资组合,以免遭受损失。
对于初学者,在投资前需要多加学习,充分了解各类技术指标,以增加投资经验,提高投资能力,以期获得足够的投资收益。
总之,通达信缠论副图指标是一种非常有效的技术指标,它能更加准确地分析股市走势,有助于投资者发现有利可图的投资机会。
而且,必须要提醒投资者,在使用通达信缠论副图指标分析前,要做好投资准备,掌握其中的细节,多加学习,以达到投资的最佳效果。
通达信色彩共振副图选股指标源码
通达信色彩共振副图选股指标源码通达信色彩共振副图选股指标源码{副图指标源码}庄筹线:=EMA(WINNER(C)*70,5) ;散筹线:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5);捞活鱼:=FILTER( (CROSS(5,庄筹线) AND 散筹线< 20 )*40,10 );决战诱空:=IF(BB ,50 ,80 ),COLORWHITE;CC:=REF(散筹线,1)> 散筹线AND REF(庄筹线,1)< 庄筹线AND 庄筹线> 30 AND 散筹线> 30 AND REF(庄筹线,1)-REF(庄筹线,2)> 3.535;DD:=COUNT(REF(散筹线,1)> REF(庄筹线,1),5);追庄:CROSS(庄筹线,散筹线) AND CC=1 AND DD>=5;去次新股:=FINANCE(42)>30;去除ST和停牌:=NOT(NAMELIKE('S') OR NAMELIKE('*S')) AND VOL>1;去除高价:=DYNAINFO(7)<40;LTP:=FINANCE(7)<=1000000000;FINA:=FINANCE(40)/100000000<160;排除:=DYNAINFO(7)>1 AND 去除高价AND 去次新股AND FINA;N:=30;N1:=20;V1:=REF(((HHV(H,N)-LLV(L,N))/LLV(L,N)),1)<=(N1/100) AND C>=REF(HHV(H,N),1) AND BARSCOUNT(C)>N;一线天:IF(V1,1,0) AND 排除;AA:=IF(NAMELIKE('ST'),0,1) AND IF(NAMELIKE('*ST'),0,1);GH1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,20))/EMA(CLOSE,20));GH2:=DMA(((2.11*CLOSE+LOW+HIGH)/4),GH1);GHH:=EMA(GH2,200)*1.118;GH3:=(MA(C,3));GH4:=(MA(C,5));GH5:=(MA(C,8));GH6:=(MA(C,13));GH7:=(((((MA(C,3)) > (REF(MA(C,3),1))) AND ((MA(C,5)) > (REF(MA(C,5),1)))) AND (C > (MA(C,3)))) AND ((MA(C,3)) > (MA(C,5))));GH8:=(((ATAN(((GH3 / (REF(GH3,1))) - 1) * 100)) * 180) / (3.1416));GH9:=(((ATAN(((GH4 / (REF(GH4,1))) - 1) * 100)) * 180) / (3.1416));GH10:=(((ATAN(((GH5 / (REF(GH5,1))) - 1) * 100)) * 180) / (3.1416));GH11:=(((ATAN(((GH6 / (REF(GH6,1))) - 1) * 100)) * 180) / (3.1416));GH12:=IF(GH7 AND GH8>45 AND GH9>45 AND GH10>60 AND GH11>45 AND MA(C,250)>REF(MA(C,250),1),1,0);乘胜追击:GH12 AND SUM(GH12,2)=1 AND C/GHH>1.03 AND C/GHH<1.20 AND C/REF(C,1)>1.08 AND AA;MA5:=MA(C,5);MA10:=MA(C,10);MA30:=MA(C,30);XA_5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;XA_10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;XA_30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416;强狙:=FILTER(XA_30>30 AND XA_10>45 AND CROSS(XA_5,60),10);AC_1:=CLOSE*VOL;AC_2:=EMA((EXPMA(AC_1,3)/EXPMA(VOL,3)+EXPMA(AC_1,6)/EXPMA(VOL,6)+EXPMA(AC_1,12)/EXPMA(VOL,12)+EXPMA(A C_1,24)/EXPMA(VOL,24))/4,13);AC_3:=EMA((EXPMA(AC_1,27)/EXPMA(VOL,27)+EXPMA(AC_ 1,54)/EXPMA(VOL,54)+EXPMA(AC_1,108)/EXPMA(VOL,108)+EXPMA(AC_1,316)/EXPMA(VO L,316))/4,34);上轨1:=1.06*AC_2;顶:=1.13*AC_2;ZT:=REF(C,1)*1.1-C<0.01 AND H=C;启爆1:=CROSS(C,上轨1) AND ZT;超牛:=CROSS(C,顶) AND ZT;上轨2:=1.06*AC_3;下轨2:=AC_3*0.94;启爆2:=CROSS(C,上轨2) OR CROSS(C,下轨2) AND ZT;启爆:=启爆1 OR 超牛 OR 启爆2;XC_1:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;CCI月:=CCI#MONTH;CCI周:=CCI#WEEK;CCI共振:=CCI月>=200 OR CCI周>=200;牛1:=CCI共振 AND 启爆 AND XC_1>REF(XC_1,1);牛2:=CCI共振 AND 强狙 AND XC_1>REF(XC_1,1);狙击强势股:牛1 OR 牛2;量能饱和度:(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100>=100;G:=3;EXP1:=EMA(CLOSE,4);EXP2:=EMA(CLOSE,8);EXP3:=EMA(CLOSE,12);EXP4:=EMA(CLOSE,16);EXP5:=EMA(CLOSE,21);EXP6:=EMA(CLOSE,44);T1:=CROSS(EXP1,EXP6);T2:=CROSS(EXP2,EXP6);T3:=CROSS(EXP3,EXP6);特定均线粘合:COUNT(T1,G)=1 AND COUNT(T2,G)=1 AND COUNT(T3,G)=1 ;量比:=V/REF(V,1);涨幅:=REF(C,1)/REF(C,8);振幅:=HHV(REF(C,1),12)/LLV(REF(C,1),12);疾风暴雨:量比>=2.70 AND C>REF(C,1) AND COUNT(REF(C/O>=1.075,1),8)<1 AND 振幅<=1.10 AND C/O>=1 AND 涨幅>=0.9 AND COUNT(REF(C/O>=1.04,1),8)<1 AND COUNT(REF(C/O<=0.75,1),8)<1,LINETHICK0;MA05:=MA(C,5);五日乖离率:=(C-MA05)/MA05*100;三拾日乖离率:=(C-MA30)/MA30*100;MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA05>REF(MA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<MA30;印钞机:FILTER(MR,10),LINETHICK0;B1:=MA(C,1);B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1);SMA2:=MA(B2,3);平台突破:=HHV(MA(B2,1),13);红变金色:CROSS(B2>SMA2,0.1) AND 平台突破;公:DRAWNULL,COLORCCCCCC;众:DRAWNULL,COLORCCCCCC;号:DRAWNULL,COLORCCCCCC;股市客栈:DRAWNULL,COLORCCCCCC;M:=30; M1:=10;VAR1:=(HIGH+LOW+CLOSE)/3;VAR2:=(VAR1-MA(VAR1,89))*1000/(15*AVEDEV(VAR1,89));拉升1:=CROSS(VAR2,100);VAR3:=(CLOSE-LLV(LOW,40))/LLV(LOW,40)*100;拉升2:=CROSS(VAR3,28);X:=拉升1;Y:=BARSLAST(X)<=15;Z:=拉升2;拉升:=Y AND Z,COLOR0000FF;VAR4:=REF(HIGH+LOW,1)/2;VAR5:=SUM(MAX(0,HIGH-VAR4),N)/SUM(MAX(0,VAR4-LOW),N)*100;VAR6:=REF(MA(VAR5,M1),M1/2.5+1);量:=ABS(VOL);VAR7:=EMA(量,20);VAR8:=EMA(VAR7,20);VAR9:=(VAR7-VAR8);VAR10:=VAR9;VAR11:=EMA(VAR10,10);VAR12:=EMA(EMA(CLOSE,13),13);VAR13:=(VAR12-REF(VAR12,1))/REF(VAR12,1);VAR14:=100*WINNER(CLOSE*0.95);高控:=VAR14>50 AND COST(85)<CLOSE AND VAR13>0,COLORFF00FF;VAR15:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);VAR16:=SUM(IF(CLOSE=REF(CLOSE,1),0,VAR15),0);VAR17:=MA(VAR16,M);VAR18:= VAR16>VAR17 AND VAR2>100 AND VAR17>REF(VAR17,1);VAR19:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);精准狙牛:拉升AND VAR10>VAR11 AND (VAR5>VAR6 OR VAR5>90) AND 高控AND VAR18 AND VAR19>=65 AND VAR19>REF(VAR19,1);主线:=18;主差:=2;起初:=1;主:=EMA(C,起初);前N:=0;B20:=主差*19+1;S1:=EMA(B1,主线);S20:=EMA(B20,主线);NOTETEXT1:=REF(HHV(主,S1),前N);NOTETEXT20:=REF(HHV(主,S20),前N);红加号:FILTER(NOTETEXT1=NOTETEXT20,25);CBFB:=COSTEX(C,REF(C,1));JL:=IF(C>CBFB,V,0);CL:=IF(C<CBFB,V,0);JLH:=SUM(JL,4);CLH:=SUM(CL,4);LHB:=CLH/JLH;钱袋记:HHV(LHB,5)>4 AND CROSS(2,LHB) AND C>=O;多方趋势:=((7)*(SMA(((CLOSE-LLV (LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(30),4,1))-(3)*(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(30),4,1),3,1))-SMA(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(30),4,1),3,1),2,1)),COLOR0000FF;空方趋势:=(EMA(MA(多方趋势,5),7)),COLORF0F000;蓝变红:CROSS(多方趋势,空方趋势);警示:=NAMEINCLUDE('S');WU:=IF(NAMELIKE('W') OR NAMELIKE('*W'),0.05,0.1);DT:=(REF(C,1)/C-1>=WU-0.01/REF(C,1) AND L=C AND PERIOD=5) OR C=DTPRICE(REF(C,1),IF(警示,0.05,0.1));DT1:=REF(C,1)/L-1>=WU-0.01/REF(C,1) AND L<C AND PERIOD=5;连阴2:=COUNT((C<REF(C,1) OR L<REF(L,1)),10)>=5;卧龙柱5:=REF(连阴2,1) AND (DT OR DT1);距今2:=BARSLAST(卧龙柱5);卧龙湾:=HHV(C,距今2)<REF((C+O)/2,距今2) AND 距今2<15 ;假阳:=REF(C<=O,1) AND H<REF(O,1) AND C<(REF(O-C,1))/3+REF(C,1) AND AMOUNT/V/100<REF(C,1) AND C>O;黄金阳:=REF(DT OR DT1,1.015) AND 假阳;阳距:=BARSLAST(黄金阳);黄金坑:=HHV(C,阳距)<REF((C+O)/2,阳距+1) AND 阳距<15 ;卧龙潜:=黄金坑 OR 卧龙湾,COLORWHITE;SY:=H/MAX(C,O);XY:=MIN(C,O)/L;卧龙深潜:卧龙潜 AND C>O AND XY>1.02 AND SY<1.015;LOWV:=EMA(LLV(LOW,34),3);HIGHV:=EMA(HHV(HIGH,34),3);RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);K:=SMA(RSV,8,1);D:=SMA(K,6,1);J:=3*K-2*D;J1:=MA(J,3);A1:=BARSLAST(REF(CROSS(J,J1),1));YUI:=REF(CLOSE,A1+1)>CLOSE AND J>REF(J,A1+1) AND CROSS(J,J1) AND J<20;底背离:YUI>0;选股数101:=IF(追庄,1,0);选股数102:=IF(一线天,1,0);选股数103:=IF(乘胜追击,1,0);选股数104:=IF(狙击强势股,1,0);选股数105:=IF(量能饱和度,1,0);选股数106:=IF(特定均线粘合,1,0);选股数107:=IF(疾风暴雨,1,0);选股数108:=IF( 印钞机,1,0);选股数109:=IF(红变金色,1,0);选股数110:=IF(精准狙牛,1,0);选股数111:=IF(红加号,1,0);选股数112:=IF(钱袋记,1,0);选股数113:=IF(蓝变红,1,0);选股数114:=IF(卧龙深潜,1,0);选股数115:=IF(底背离,1,0);总选股101:=选股数101;总选股102:=总选股101+选股数102; 总选股103:=总选股102+选股数103; 总选股104:=总选股103+选股数104; 总选股105:=总选股104+选股数105; 总选股106:=总选股105+选股数106; 总选股107:=总选股106+选股数107; 总选股108:=总选股107+选股数108; 总选股109:=总选股108+选股数109; 总选股110:=总选股109+选股数110; 总选股111:=总选股110+选股数111; 总选股112:=总选股111+选股数112; 总选股113:=总选股112+选股数113; 总选股114:=总选股113+选股数114; 总选股115:=总选股114+选股数115; 总指标数0:=0;AA11:=11;BB11:=9;CC11:=9;信号数:=追庄+一线天+乘胜追击+狙击强势股+量能饱和度+特定均线粘合+疾风暴雨+ 印钞机+红变金色+精准狙牛+红加号+钱袋记+蓝变红+卧龙深潜+底背离,NODRAW,COLORLIMAGENTA;信号:=信号数>=5, NODRAW,COLORWHITE;STICKLINE(选股数101,CC11*总指标数0,BB11+CC11*总指标数0,2,0),COLORGREEN ;STICKLINE(选股数102,CC11*总选股101,BB11+CC11*总选股101,2,0),COLORWHITE ;STICKLINE(选股数103,CC11*总选股102,BB11+CC11*总选股102,2,0),COLOR009000;STICKLINE(选股数104,CC11*总选股103,BB11+CC11*总选股103,2,0),COLOR2D52A0;STICKLINE(选股数105,CC11*总选股104,BB11+CC11*总选股104,2,0),COLORYELLOW;STICKLINE(选股数106,CC11*总选股105,BB11+CC11*总选股105,2,0),COLORD30094;STICKLINE(选股数107,CC11*总选股106,BB11+CC11*总选股106,2,0),COLOR0000FF;STICKLINE(选股数108,CC11*总选股107,BB11+CC11*总选股107,2,0),COLORFFBF00 ;STICKLINE(选股数109,CC11*总选股108,BB11+CC11*总选股108,2,0),COLORMAGENTA ;STICKLINE(选股数110,CC11*总选股109,BB11+CC11*总选股109,2,0),COLORWHITE ;STICKLINE(选股数111,CC11*总选股110,BB11+CC11*总选股110,2,0),COLORWHITE ;STICKLINE(选股数112,CC11*总选股111,BB11+CC11*总选股111,2,0),COLORWHITE ;STICKLINE(选股数113,CC11*总选股112,BB11+CC11*总选股112,2,0),COLOR009000;STICKLINE(选股数114,CC11*总选股113,BB11+CC11*总选股113,2,0),COLOR2D52A0;STICKLINE(选股数115,CC11*总选股114,BB11+CC11*总选股114,2,0),COLORYELLOW;{选股指标源码}庄筹线:=EMA(WINNER(C)*70,5) ;散筹线:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5);捞活鱼:=FILTER( (CROSS(5,庄筹线) AND 散筹线< 20 )*40,10 );决战诱空:=IF(BB ,50 ,80 ),COLORWHITE;CC:=REF(散筹线,1)> 散筹线AND REF(庄筹线,1)< 庄筹线AND 庄筹线> 30 AND 散筹线> 30 AND REF(庄筹线,1)-REF(庄筹线,2)> 3.535;DD:=COUNT(REF(散筹线,1)> REF(庄筹线,1),5);追庄:=CROSS(庄筹线,散筹线) AND CC=1 AND DD>=5;去次新股:=FINANCE(42)>30;去除ST和停牌:=NOT(NAMELIKE('S') OR NAMELIKE('*S')) AND VOL>1;去除高价:=DYNAINFO(7)<40;LTP:=FINANCE(7)<=1000000000;FINA:=FINANCE(40)/100000000<160;排除:=DYNAINFO(7)>1 AND 去除高价AND 去次新股AND FINA;N:=30;N1:=20;V1:=REF(((HHV(H,N)-LLV(L,N))/LLV(L,N)),1)<=(N1/100) AND C>=REF(HHV(H,N),1) AND BARSCOUNT(C)>N;一线天:=IF(V1,1,0) AND 排除;AA:=IF(NAMELIKE('ST'),0,1) AND IF(NAMELIKE('*ST'),0,1);GH1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,20))/EMA(CLOSE,20));GH2:=DMA(((2.11*CLOSE+LOW+HIGH)/4),GH1);GHH:=EMA(GH2,200)*1.118;GH3:=(MA(C,3));GH4:=(MA(C,5));GH5:=(MA(C,8));GH6:=(MA(C,13));GH7:=(((((MA(C,3)) > (REF(MA(C,3),1))) AND ((MA(C,5)) > (REF(MA(C,5),1)))) AND (C > (MA(C,3)))) AND ((MA(C,3)) > (MA(C,5))));GH8:=(((ATAN(((GH3 / (REF(GH3,1))) - 1) * 100)) * 180) / (3.1416));GH9:=(((ATAN(((GH4 / (REF(GH4,1))) - 1) * 100)) * 180) / (3.1416));GH10:=(((ATAN(((GH5 / (REF(GH5,1))) - 1) * 100)) * 180) / (3.1416));GH11:=(((ATAN(((GH6 / (REF(GH6,1))) - 1) * 100)) * 180) / (3.1416));GH12:=IF(GH7 AND GH8>45 AND GH9>45 AND GH10>60 AND GH11>45 AND MA(C,250)>REF(MA(C,250),1),1,0);乘胜追击:=GH12 AND SUM(GH12,2)=1 AND C/GHH>1.03 AND C/GHH<1.20 AND C/REF(C,1)>1.08 AND AA;MA5:=MA(C,5);MA10:=MA(C,10);MA30:=MA(C,30);XA_5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;XA_10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;XA_30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416;强狙:=FILTER(XA_30>30 AND XA_10>45 ANDCROSS(XA_5,60),10);AC_1:=CLOSE*VOL;AC_2:=EMA((EXPMA(AC_1,3)/EXPMA(VOL,3)+EXPMA(AC_1, 6)/EXPMA(VOL,6)+EXPMA(AC_1,12)/EXPMA(VOL,12)+EXPMA(A C_1,24)/EXPMA(VOL,24))/4,13);AC_3:=EMA((EXPMA(AC_1,27)/EXPMA(VOL,27)+EXPMA(AC_ 1,54)/EXPMA(VOL,54)+EXPMA(AC_1,108)/EXPMA(VOL,108)+EXPMA(AC_1,316)/EXPMA(VO L,316))/4,34);上轨1:=1.06*AC_2;顶:=1.13*AC_2;ZT:=REF(C,1)*1.1-C<0.01 AND H=C;启爆1:=CROSS(C,上轨1) AND ZT;超牛:=CROSS(C,顶) AND ZT;上轨2:=1.06*AC_3;下轨2:=AC_3*0.94;启爆2:=CROSS(C,上轨2) OR CROSS(C,下轨2) AND ZT;启爆:=启爆1 OR 超牛 OR 启爆2;XC_1:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;CCI月:=CCI#MONTH;CCI周:=CCI#WEEK;CCI共振:=CCI月>=200 OR CCI周>=200;牛1:=CCI共振 AND 启爆 AND XC_1>REF(XC_1,1);牛2:=CCI共振 AND 强狙 AND XC_1>REF(XC_1,1);狙击强势股:=牛1 OR 牛2;量能饱和度:=(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100>=100;G:=3;EXP1:=EMA(CLOSE,4);EXP2:=EMA(CLOSE,8);EXP3:=EMA(CLOSE,12);EXP4:=EMA(CLOSE,16);EXP5:=EMA(CLOSE,21);EXP6:=EMA(CLOSE,44);T1:=CROSS(EXP1,EXP6);T2:=CROSS(EXP2,EXP6);T3:=CROSS(EXP3,EXP6);特定均线粘合:=COUNT(T1,G)=1 AND COUNT(T2,G)=1 AND COUNT(T3,G)=1 ;量比:=V/REF(V,1);涨幅:=REF(C,1)/REF(C,8);振幅:=HHV(REF(C,1),12)/LLV(REF(C,1),12);疾风暴雨:=量比>=2.70 AND C>REF(C,1) AND COUNT(REF(C/O>=1.075,1),8)<1 AND 振幅<=1.10 AND C/O>=1 AND 涨幅>=0.9 AND COUNT(REF(C/O>=1.04,1),8)<1 AND COUNT(REF(C/O<=0.75,1),8)<1,LINETHICK0;MA05:=MA(C,5);五日乖离率:=(C-MA05)/MA05*100;三拾日乖离率:=(C-MA30)/MA30*100;MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA05>REF(MA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<MA30;印钞机:=FILTER(MR,10),LINETHICK0;B1:=MA(C,1);B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1);SMA2:=MA(B2,3);平台突破:=HHV(MA(B2,1),13);红变金色:=CROSS(B2>SMA2,0.1) AND 平台突破;M:=30; M1:=10;VAR1:=(HIGH+LOW+CLOSE)/3;VAR2:=(VAR1-MA(VAR1,89))*1000/(15*AVEDEV(VAR1,89));拉升1:=CROSS(VAR2,100);VAR3:=(CLOSE-LLV(LOW,40))/LLV(LOW,40)*100;拉升2:=CROSS(VAR3,28);X:=拉升1;Y:=BARSLAST(X)<=15;Z:=拉升2;拉升:=Y AND Z,COLOR0000FF;VAR4:=REF(HIGH+LOW,1)/2;VAR5:=SUM(MAX(0,HIGH-VAR4),N)/SUM(MAX(0,VAR4-LOW),N)*100;VAR6:=REF(MA(VAR5,M1),M1/2.5+1);量:=ABS(VOL);VAR7:=EMA(量,20);VAR8:=EMA(VAR7,20);VAR9:=(VAR7-VAR8);VAR10:=VAR9;VAR11:=EMA(VAR10,10);VAR12:=EMA(EMA(CLOSE,13),13);VAR13:=(VAR12-REF(VAR12,1))/REF(VAR12,1);VAR14:=100*WINNER(CLOSE*0.95);高控:=VAR14>50 AND COST(85)<CLOSE AND VAR13>0,COLORFF00FF;VAR15:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);VAR16:=SUM(IF(CLOSE=REF(CLOSE,1),0,VAR15),0);VAR17:=MA(VAR16,M);VAR18:= VAR16>VAR17 AND VAR2>100 AND VAR17>REF(VAR17,1);VAR19:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);精准狙牛:=拉升AND VAR10>VAR11 AND (VAR5>VAR6 OR VAR5>90) AND 高控AND VAR18 AND VAR19>=65 AND VAR19>REF(VAR19,1);主线:=18;主差:=2;起初:=1;主:=EMA(C,起初);前N:=0;B20:=主差*19+1;S1:=EMA(B1,主线);S20:=EMA(B20,主线);NOTETEXT1:=REF(HHV(主,S1),前N);NOTETEXT20:=REF(HHV(主,S20),前N);红加号:=FILTER(NOTETEXT1=NOTETEXT20,25);CBFB:=COSTEX(C,REF(C,1));JL:=IF(C>CBFB,V,0);CL:=IF(C<CBFB,V,0);JLH:=SUM(JL,4);CLH:=SUM(CL,4);LHB:=CLH/JLH;钱袋记:=HHV(LHB,5)>4 AND CROSS(2,LHB) AND C>=O;多方趋势:=((7)*(SMA(((CLOSE-LLV (LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(30),4,1))-(3)*(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(30),4,1),3,1))-SMA(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(30),4,1),3,1),2,1)),COLOR0000FF;空方趋势:=(EMA(MA(多方趋势,5),7)),COLORF0F000;蓝变红:=CROSS(多方趋势,空方趋势);警示:=NAMEINCLUDE('S');WU:=IF(NAMELIKE('W') OR NAMELIKE('*W'),0.05,0.1);DT:=(REF(C,1)/C-1>=WU-0.01/REF(C,1) AND L=C AND PERIOD=5) OR C=DTPRICE(REF(C,1),IF(警示,0.05,0.1));DT1:=REF(C,1)/L-1>=WU-0.01/REF(C,1) AND L<C AND PERIOD=5;连阴2:=COUNT((C<REF(C,1) OR L<REF(L,1)),10)>=5;卧龙柱5:=REF(连阴2,1) AND (DT OR DT1);距今2:=BARSLAST(卧龙柱5);卧龙湾:=HHV(C,距今2)<REF((C+O)/2,距今2) AND 距今2<15 ;假阳:=REF(C<=O,1) AND H<REF(O,1) AND C<(REF(O-C,1))/3+REF(C,1) AND AMOUNT/V/100<REF(C,1) AND C>O;黄金阳:=REF(DT OR DT1,1.015) AND 假阳;阳距:=BARSLAST(黄金阳);黄金坑:=HHV(C,阳距)<REF((C+O)/2,阳距+1) AND 阳距<15 ;卧龙潜:=黄金坑 OR 卧龙湾,COLORWHITE;SY:=H/MAX(C,O);XY:=MIN(C,O)/L;卧龙深潜:=卧龙潜 AND C>O AND XY>1.02 AND SY<1.015;LOWV:=EMA(LLV(LOW,34),3);HIGHV:=EMA(HHV(HIGH,34),3);RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);K:=SMA(RSV,8,1);D:=SMA(K,6,1);J:=3*K-2*D;J1:=MA(J,3);A1:=BARSLAST(REF(CROSS(J,J1),1));YUI:=REF(CLOSE,A1+1)>CLOSE AND J>REF(J,A1+1) AND CROSS(J,J1) AND J<20;底背离:=YUI>0;选股数101:=IF(追庄,1,0);选股数102:=IF(一线天,1,0);选股数103:=IF(乘胜追击,1,0);选股数104:=IF(狙击强势股,1,0);选股数105:=IF(量能饱和度,1,0);选股数106:=IF(特定均线粘合,1,0);选股数107:=IF(疾风暴雨,1,0);选股数108:=IF( 印钞机,1,0);选股数109:=IF(红变金色,1,0);选股数110:=IF(精准狙牛,1,0);选股数111:=IF(红加号,1,0);选股数112:=IF(钱袋记,1,0);选股数113:=IF(蓝变红,1,0);选股数114:=IF(卧龙深潜,1,0);选股数115:=IF(底背离,1,0);信号数:=追庄+一线天+乘胜追击+狙击强势股+量能饱和度+特定均线粘合+疾风暴雨+ 印钞机+红变金色+精准狙牛+红加号+钱袋记+蓝变红+卧龙深潜+底背离;信号:=信号数>=4;今数:=追庄+一线天+乘胜追击+狙击强势股+量能饱和度+特定均线粘合+疾风暴雨+ 印钞机+红变金色+精准狙牛+红加号+钱袋记+蓝变红+卧龙深潜+底背离;累计:=今数+REF(今数,1)+REF(今数,2)+REF(今数,3)+REF(今数,4)+REF(今数,5)+REF(今数,6)+REF(今数,7)+REF(今数,8)+REF(今数,9)+REF(今数,10)+REF(今数,11)+REF(今数,12)+REF(今数,13)+REF(今数,14)+REF(今数,15);共巨振:(今数>4 AND 累计>=15 AND C/REF(C,1)>1.01) OR 今数>=4;。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
N:=106;N1:=83;
AA:=IF(DATE<= 1091231,1,0);
BB:=FLOOR(SUM(V/CAPITAL,0));
【手】:VOL,LINETHICK,COLOR00FFFF;
CC:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL); STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,CC,0,-1,-1),COLOR00C0C0;{虚拟成交}
额【亿】:AMOUNT/100000000,NODRAW;
CB:=IF(CAPITAL> 1,AMOUNT/VOL/100,(HIGH+LOW+2*CLOSE)/4);
空1:=IF((HIGH-LOW)> 0 AND CLOSE> CB, ((HIGH-CLOSE)/(HIGH-CB))*((HIGH-CLOSE)/(HIGH-CB))*((HIGH-CB)/(HIGH-LOW)*VO L) ,0);
多1:=IF((HIGH-LOW)> 0 AND CLOSE> CB, VOL-空1 ,0);
多2:=IF((HIGH-LOW)> 0 AND CLOSE<= CB, ((CLOSE-LOW)/(CB-LOW))*((CLOSE-LOW)/(CB-LOW))*((CB-LOW)/(HIGH-LOW)*VOL) , 0);
空2:=IF((HIGH-LOW)> 0 AND CLOSE<= CB, VOL-多2 ,0);
多3:=IF((HIGH-LOW)= 0 AND CLOSE> REF(CLOSE,1), VOL,0);
空3:=IF((HIGH-LOW)= 0 AND CLOSE<= REF(CLOSE,1), VOL,0);
多方量:=多1+多2+多3;
空方量:=空1+空2+空3;
买卖差:(多方量-空方量)/1000;
成交流通比:AMOUNT/CAPITAL/100,LINETHICK0;
内外比:DYNAINFO(51),NODRAW;
市盈率:DYNAINFO(39),COLORDDDD00,NODRAW;
SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));
量能饱和:=IF(SAT> 1,1,SAT)*100,COLORYELLOW,NODRAW;
中点:=REFDATE(HHV(V,N)/2,DA TE);
昨日换:REF(DYNAINFO(37),1)*AA,NODRAW, COLOR0000DD;
5日换:SUM(100*V/CAPITAL,5),LINETHICK0;
DRAWTEXT(CURRBARSCOUNT=N,中点*1.3,'量能饱和度:'),COLORDDDD00; STICKLINE(CURRBARSCOUNT=N1,中点*1.9,中点*1.5,100,1),COLOR00DDDD; STICKLINE(CURRBARSCOUNT=N1,中点*1.88,中点*1.52,量能饱和,0),COLOR0033FF; STICKLINE(CURRBARSCOUNT=N1,中点*1.82,中点*1.58,量能饱和,0),COLOR0077FF; STICKLINE(CURRBARSCOUNT=N1,中点*1.76,中点*1.64,量能饱和,0),COLOR0099FF; STICKLINE(CURRBARSCOUNT=N1,中点*1.7,中点*1.7,量能饱和,0),COLOR00DDFF; STICKLINE(CLOSE> 0,【手】,0,3.6,0),COLOR00CC00;
STICKLINE(CLOSE> REF(CLOSE,1),【手】,0,2.6,0),COLOR003388;
STICKLINE(CLOSE> REF(CLOSE,1),【手】,0,1.8,0),COLOR00AADD;
STICKLINE(CLOSE<= REF(CLOSE,1),【手】,0,2.6,0),COLOR666600;
STICKLINE(CLOSE<= REF(CLOSE,1),【手】,0,1.8,0),COLOR999900;
STICKLINE(空方量,-【手】,O,3,0),COLOR005500;
STICKLINE(空方量,-【手】,O,2,0),COLOR007700;
STICKLINE(空方量,-【手】,O,1,0),COLOR009900;
STICKLINE(空方量,-【手】,0,0,0),COLOR00CC00;
STICKLINE(多方量,多方量,O,2.6,0),COLOR000099;
STICKLINE(多方量,多方量,O,2,0),COLOR0000AA;
STICKLINE(多方量,多方量,O,1,0),COLOR0000DD;
STICKLINE(多方量,多方量,O,0,0),COLORAA33DD;。