通达信指标公式源码 主力散户筹码集中度 副图源码

合集下载

通达信指标公式源码 主力进出副图指标

通达信指标公式源码 主力进出副图指标

{主力进出N:1,100,8;M:1,100,13;P:1,100,60;S:1,100,3}V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5);V4:=2*(V2-V3)*5.5;主力开始出: IF(V4<=0,V4,0),COLOR00FF00,LINETHICK2;主力开始进: IF(V4>=0,V4,0),COLORFF00FF,LINETHICK2;V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;V9:=EMA(V8,13)-EMA(V8,34);VA:=EMA(V9,3);VB:=(V9-VA)/2;大资金进场: IF(VB>=0,VB,0),COLORRED,LINETHICK2;大资金撤走: IF(VB<=0,VB,0),COLORBLUE,LINETHICK2;说明:当主力开始进大于0时,即紫线开始出现时,可以跟进,当主力大于100时,可以开始减仓,当主力开始出大于0时,即绿线出现时,坚决离场。

通达信经典划线指标(压力支撑);明天HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;MADISPLAY: =0;AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);QY:=BACKSET(AA,HIGHN+1);CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1);DRAWICON(CC,H*1.02,2);DDD:=BARSLAST(CC);GDTS:=IF(CC,CURRBARSCOUNT,0);DINGBU:=IF(DDD,REF(H,DDD),H);DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);DINGBU1:=REF(DINGBU,DDD+1);GDCS1:=CONST(DINGBUTS);DINGBUTS1:=REF(DINGBUTS,DDD+1);GDCS2:=CONST(DINGBUTS1);DINGBU2:=REF(DINGBU1,DDD+1);MM:=IF(CURRBARSCOUNT>GDCS2,0,1);高点压力:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1) COLORGREEN,LINETHICK2;DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1),COLOR0055FF, POINTDOT;DRAWLINE(CURRBARSCOUNT=GDCS1,H,ISLASTBAR,REF(H,GDCS1-1),1),COLORYELLOW ,POINTDOT;AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1);QY1:=BACKSET(AA1,LOWN+1);CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1);DRAWICON(CC1,L*0.98,1);DD1:=BARSLAST(CC1);DDTS:=IF(CC1,CURRBARSCOUNT,0);YDB:=IF(DD1,REF(L,DD1),L);DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);DDCS1:=CONST(DDTS1);ZDB:=REF(YDB,DD1+1);DDTS2:=REF(DDTS1,DD1+1);DDCS2:=CONST(DDTS2);低点支撑:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1) COLORRED,LINETHICK2;ZGSTAR:=(高点压力+低点支撑)/2;ZGEND:=CONST((高点压力+低点支撑)/2);STARDAY:=IF(DDCS2<GDCS2,DDCS2,GDCS2);中轨:DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),COLORFF55B B,LINETHICK2;DRAWLINE(CURRBARSCOUNT=DDCS1,L,ISLASTBAR,REF(L,DDCS1-1),1),COLORMAGENT A,POINTDOT,;DRAWLINE(CURRBARSCOUNT=DDCS2,L,ISLASTBAR,REF(L,DDCS2-1),1),COLORCYAN,PO INTDOT;通达信趋势WW1:=FILTER(OPEN<REF(LOW,1) AND CLOSE>OPEN AND VOL>REF(VOL,1),13);LC:=REF(CLOSE,1);JH:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;SZ:=FILTER(CROSS(JH,35),13);SX:=FILTER(CROSS(JH,30),7);SQ:=FILTER(CROSS(71,JH)<0,74);SD:=FILTER(CROSS(80,JH)<0,74);AA:=IF(CAPITAL<1,SZ,SX);BB:=IF(CAPITAL<1,SQ,SD);W10:=BARSLAST(AA);W11:=BARSLAST(BB);W12:=IF(W10>0 AND W10<W11,W10,0);W13:=IF(W11>0 AND W11<W10,W11,0);{VERTLINE(AA),LINEDOT,COLOR0000FF;VERTLINE(BB),LINEDOT,COLOR00FB00;}STICKLINE(CLOSE>REF(CLOSE,1),HIGH,LOW,0,1),COLORRED;STICKLINE(CLOSE>REF(CLOSE,1),CLOSE,OPEN,3,1),COLORRED;STICKLINE(CLOSE<REF(CLOSE,1),HIGH,LOW,0,1),COLORGREEN;STICKLINE(CLOSE<REF(CLOSE,1),CLOSE,OPEN,3,1),COLORGREEN;STICKLINE(CLOSE=REF(CLOSE,1),HIGH,LOW,0,1),COLORFFFFFF;STICKLINE(CLOSE=REF(CLOSE,1),CLOSE,OPEN,3,1),COLORBBBBBB;STICKLINE(WW1,HIGH,LOW,0,0),COLOR00CCFF;{黄}STICKLINE(WW1,CLOSE,OPEN,3,0),COLOR00CCFF;STICKLINE(AA,HIGH,LOW,0,0),COLOR9900FF;{粉}STICKLINE(AA,CLOSE,OPEN,3,0),COLORFF99FF;{红柱牛股.粉柱买入.黄柱洗盘.绿柱卖出}{解盘}AAA:=CONST(HHV(H,90));A74:=MA(CLOSE,20);A75:=(CLOSE > MA(CLOSE,5));A76:=(MA(CLOSE,5) > MA(CLOSE,10));A77:=(CLOSE > MA(CLOSE,10));A78:=(MA(CLOSE,5) > MA(CLOSE,20));A79:=(CLOSE > MA(CLOSE,20));A710:=REF(A74,1);A711:=(A74 > A710);AVX:=(((((IF(A75,10,(0 - 10)) + IF(A76,10,(0 - 10))) + IF(A77,10,(0 - 10)))+ IF(A78,10,(0 - 10))) + IF(A79,10,(0 - 10))) + IF(A711,10,(0 - 10)));DSLX:=(CLOSE / INDEXC);DSLX1:=MA(DSLX,5);DSLX2:=MA(DSLX,10);V1:=MA(VOL,5);V2:=MA(VOL,10);T1:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));T2:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));T3:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 > V2)) AND (DSLX < DSLX1)),1,0));T4:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 <= V2)) AND (DSLX < DSLX1)),1,0));T5:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));T6:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));T7:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 >= V2)) AND (DSLX < DSLX1)),1,0));T8:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 < V2)) AND (DSLX < DSLX1)),1,0)); T9:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));T10:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));T11:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)) AND (DSLX < DSLX1)),1,0));T12:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)) AND (DSLX < DSLX1)),1,0));T13:=CONST(IF(C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));T14:=CONST(IF( C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));T15:=CONST(IF(C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)) AND (DSLX < DSLX1)),1,0));T16:=CONST(IF(C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)) AND (DSLX < DSLX1)),1,0));T17:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 >= V2)),1,0));T18:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 >= V2)),1,0));T19:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 < V2)),1,0));T20:=CONST(IF(C>200 AND (CROSS(1,AVX) AND (V1 >= V2)),1,0));T21:=CONST(IF(C>200 AND (CROSS(1,AVX) AND (V1 < V2)),1,0));T22:=CONST(IF(C>200 AND (((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)),1,0)); T23:=CONST(IF(C>200 AND (((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)),1,0)); T24:=CONST(IF(C>200 AND (((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)),1,0)); T25:=CONST(IF(C>200 AND (((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)),1,0)); DRAWTEXT(T1=1 AND CURRBARSCOUNT=60,AAA-(AAA*0.03),'量能理想,明显走强,中线参与,仓位在2/3左右'),COLORFF00FF ;DRAWTEXT(T2=1 AND CURRBARSCOUNT=60,AAA-(AAA*0.03),'走势趋强,还显不足,短线进场,仓位在1/2左右'),COLORFF00FF ;DRAWTEXT(T3=1 AND CURRBARSCOUNT=60,AAA-(AAA*0.03),'量价良好,没有明显走强,短线进场,仓位1/2左右'),COLORFF00FF ;DRAWTEXT(T4=1 AND CURRBARSCOUNT=60,AAA-(AAA*0.03),'形态尚可,量能不足,未完全走强,短线参与,仓位1/3左右'),COLORFF00FF ; DRAWTEXT(T5=1 AND CURRBARSCOUNT=60,AAA-(AAA*0.03),'形态变坏,重仓者减持大半,清仓者观望'),COLORFF00FF ;DRAWTEXT(T6=1 AND CURRBARSCOUNT=60,AAA*0.98,'随大盘一起下跌,明显缩量走势,考虑到风险,减持或清仓'),COLORFF00FF ; DRAWTEXT(T7=1 AND CURRBARSCOUNT=60,AAA-(AAA*0.03),'该股放量下跌,走势明显偏弱,离场观望'),COLORFF00FF ;DRAWTEXT(T8=1 AND CURRBARSCOUNT=60,AAA-(AAA*0.03),'该股缩量下跌,走势偏弱,离场观望。

通达信指标公式源码 筹码趋势 副图源码

通达信指标公式源码 筹码趋势 副图源码

庄筹:=WINNER(CLOSE)*100,COLORRED, LINETHICK2;
筹码集中度:EMA(庄筹,20),COLORRED, LINETHICK1;
筹码集中警戒线:EMA(筹码集中度,5),COLORYELLOW, LINETHICK1;
筹码集中生命线:EMA(筹码集中警戒线,5),COLORBLUE, LINETHICK1;
STICKLINE(筹码集中度>筹码集中警戒线,筹码集中度,筹码集中警戒线,2,0),COLORRED; STICKLINE(筹码集中度<筹码集中警戒线,筹码集中度,筹码集中警戒线,2,0),COLORGREEN; STICKLINE(筹码集中警戒线>筹码集中生命线,筹码集中警戒线,筹码集中生命线,2,0),COLORFF00FF;
STICKLINE(筹码集中警戒线<筹码集中生命线,筹码集中警戒线,筹码集中生命线,2,0),COLORFFFF00;
A:=CROSS(筹码集中度,筹码集中警戒线);
B:=CROSS(筹码集中警戒线,筹码集中度);
DRAWICON(A,筹码集中度-0.1,10);
DRAWICON(B,筹码集中度+0.1,12);。

通达信股票软件主力控盘指标源码(副图指标)

通达信股票软件主力控盘指标源码(副图指标)

通达信股票软件主⼒控盘指标源码(副图指标)答:只需点上边《翔博软件⼯作室》关注,加微信:396950280免费领取!公式源码:B1:=(HHV(H,12)-C)/(HHV(H,12)-LLV(LOW,12))*100-38;B2:=SMA(B1,12,1)+100;B3:=(C-LLV(L,12))/(HHV(H,12)- LLV(L,12))*100;B4:=SMA(B3,3,1);B5:=SMA(B4,3,1)+100;B6:=B5-B2;控盘程度:=(IF(B6>1,B6-1,0)),COLORYELLOW;控盘度:50,COLORRED;STICKLINE( 控盘程度,0,控盘程度 ,2,0 ),COLOR00FFFF;STICKLINE( 控盘程度 AND 控盘程度>50,50,控盘程度 ,2,0 ),COLORRED;STICKLINE( 控盘程度<REF(控盘程度,1) AND 控盘程度>50,控盘程度,50,3,0 ),COLORBLUE; STICKLINE( 控盘程度<REF(控盘程度,1) AND 控盘程度>50,控盘程度,0,0.3,0),COLORGREEN;STICKLINE( 控盘程度<REF(控盘程度,1) AND 控盘程度<50,控盘程度,0,3,0 ),COLORCYAN;TJ1:=((C-LLV(LOW,22))/(HHV(HIGH,22)-LLV(LOW,22)))*110;TJF:=SMA(TJ1,10,2);TJFF:=SMA(TJ1,17,3);DRAWBAND(TJF,RGB(250,110,110),TJFF,RGB(10,250,10));⽇K:("KDJ.K"(27,6,4)),COLORWHITE;⽇D:("KDJ.D"(27,6,4)),COLORWHITE,LINETHICK2;STICKLINE( 控盘程度=0 AND ⽇K<⽇D,0,3,3,1 ),COLORCYAN;通达信电脑版公式导⼊⽅法A:源码导⼊1、把要导⼊的公式(源码)复制下来:⽅法是⽤左键先把源码变蓝,之后点右键,点复制;2、进⼊主界⾯,即K线图模式,同时按住CTRL+F,出现公式管理器-->⽤⿏标左键单击任何⼀个公式组的名称(选择技术指标公式或者条件选股公式)-->单击其他-->点新建公式-->在出现的公式编辑区的下⾯的空⽩处,把刚拷的源码粘贴上,将公式名称复制后粘贴到公式名称栏-->确定-->退出;3.如有参数的,如:N 1 100 15 之类,则需将这类数据填充到参数表中;B:⽂件指标导⼊1、先把指标⽂件复制到桌⾯(或者你知道的路径);2、打开通达信,按CTRL+F打开公式管理器点击“导⼊”按钮;3、找到桌⾯上要导⼊的公式选中”公式“后单击左键,后点击“打开”;4、把“+”号单击展开,在公式名前的空⽅框⾥单击成“勾选”后,在点击下⽅的“确认”;5、输⼊指标名称,回车即可。

通达信机构筹码副图指标源码

通达信机构筹码副图指标源码

通达信机构筹码副图指标源码XA_1:=REF(LOW,1);XA_2:=SMA(ABS(LOW-XA_1),3,1)/SMA(MAX(LOW-XA_1,0),3,1)*100;XA_3:=EMA(IF(CLOSE*1.2,XA_2*10,XA_2/10),3);XA_4:=LLV(LOW,38);XA_5:=HHV(XA_3,38);XA_6:=IF(LLV(LOW,90),1,0);XA_7:=EMA(IF(LOW<=XA_4,(XA_3+XA_5*2)/2,0),3)/618*XA_6;机构筹码:STICKLINE(XA_7,0,XA_7,6,1),COLORRED;DRAWTEXT(XA_7,50,18),COLORRED;超⼤户筹码:EMA(IF(LOW<=LLV(LOW,30),SMA(ABS(LOW-REF(LOW,1)),30,1)/SMA(MAX(LOW-REF( LOW,1),0),30,1),0),3)*10,STICK,COLORYELLOW,LINETHICK2;XA_8:=MA(CLOSE,5);XA_9:=MA(CLOSE,10);XA_10:=MA(CLOSE,30);XA_11:=MA(CLOSE,60);XA_12:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);XA_13:=INTPART(XA_12*100)/100;XA_14:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);XA_15:=INTPART(XA_14*100)/100;XA_16:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);XA_17:=INTPART(XA_16*100)/100;XA_18:=EMA(CLOSE,5)-EMA(CLOSE,10);XA_19:=EMA(XA_18,9);XA_20:=0-100*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100;XA_21:=0-100*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100;XA_22:=0-100*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100;XA_23:=0-100*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100;XA_24:=REF(XA_19,1);XA_25:=XA_19;XA_26:=XA_25-XA_24;XA_27:=REF(XA_18,1);XA_28:=XA_18;XA_29:=XA_28-XA_27;XA_30:=OPEN;XA_31:=CLOSE;发现私募⼊场:IF(XA_30<=XA_8 AND XA_30<=XA_9 AND XA_30<=XA_10 AND XA_31>=XA_8 AND XA_31>=XA_17 AND XA_26>0 AND XA_29>0,(-10),0),COLORGREEN,LINETHICK2;短线指标:IF(CROSS(XA_18,XA_19) AND XA_18<0 AND XA_19<0-0.2 AND XA_21>45 AND XA_26>0,(-10),0),COLORWHITE;XA_32:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;XA_33:=REVERSE(XA_32);XA_34:=SMA(XA_32,3,1);趋势:SMA(XA_34,3,1),COLORRED,LINETHICK2;⼈⽓:SMA(趋势,3,1),COLORYELLOW,LINETHICK2;出击:IF(CROSS(趋势,⼈⽓) AND 趋势<30,20,0),COLORRED,LINETHICK2;短卖:IF(CROSS(⼈⽓,趋势) AND ⼈⽓>75,85,100),COLOR008000,LINETHICK2;。

通达信副图指标均线筹码(附源码)

通达信副图指标均线筹码(附源码)

通达信副图指标均线筹码(附源码)通达信副图指标均线筹码(附源码){均线}X1:=(EMA(C,5)-EMA(C,13))/EMA(C,13)*100;X2:=(EMA(C,5)-EMA(C,34))/EMA(C,13)*100;X3:=(EMA(C,5)-EMA(C,60))/EMA(C,13)*100;X4:=(EMA(C,5)-EMA(C,120))/EMA(C,13)*100;X5:=V/CAPITAL*(C+O+L+H)/4;X6:=(H-MAX(C,O))-(MIN(C,O)-L)+(C-REF(C,1));X7:=IF(X6>0,X5,0-X5);X8:=H-MAX(C,O)-(MIN(C,O)-L);X9:=(X7+X8)/2+C-REF(C,1);X10:=SUM(X9,0)+100;X11:=EMA(X10,5)+100;X12:=EMA(X10,13)+100;X13:=EMA(X10,34)+100;X14:=EMA(X10,60)+100;X15:=EMA(X10,120)+100;X16:=(X11-X12)/EMA(C,13)*100;X17:=(X11-X13)/EMA(C,13)*100;X18:=(X11-X14)/EMA(C,13)*100;X19:=(X11-X15)/EMA(C,13)*100;X20:=(X19-X16);X21:=(X19-X17);X22:=(X19-X18);Y1:=3*SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1);Y2:=2*SMA(SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);Y3:=Y1-Y2;Y4:=100-Y3;Y5:=(0-(EMA(Y4,1)-50))+50;Y6:=(0-(EMA(Y4,12)-50))+50;Z1:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1);Z2:=2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);Z3:=(Z1-Z2-50)*1.032+50;Z4:=(2*C+H+L+O)/5;Z5:=EMA((Z4-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,13);P0:X4-X1+X20+Y5-Y6,COLORYELLOW;P1:X4-X1+X20,COLORRED;P2:X4-X2+X21;P3:X4-X3+X22,COLORWHITE;P4:(Z3-Z5)/2+P0,COLORGREEN;{筹码}BB1:=SMA(ABS(L-REF(L,1)),3,1);BB2:=SMA(MAX((L-REF(L,1)),0),3,1);BB3:=BB1/BB2*100;BB4:=EMA(IF(C*1.2,BB3*10,BB3/10),3);BB5:=LLV(L,38);BB6:=HHV(BB4,38);BB7:=IF(LLV(L,90),1,0);BB8:=IF(L<=BB5,(BB4+B6*2)/2,0);BB9:=EMA(BB8,3)/618*BB7;DRAWTEXT(CROSS(P4,P0) AND P4<50,(P4-1),'买'),COLORRED;注:平台目前更新的有关公式源码,部分可直接导入使用,有些提示编码错误的,可以及时联系我们这边,帮忙处理,会有适当收费,(全部支持电脑手机)喜欢加关注,感谢点赞支持。

通达信指标公式源码 筹码集中度优化 副图

通达信指标公式源码 筹码集中度优化 副图

用法:1、中线(灰色与洋红色线)向上,线呈洋红色可持股,转灰色注意,筹码集中度为红色时,可持有,否则持币。

2、奔牛线(红、青、黄三色线)波动较大,指引股价趋势方向,黄色将变提示,红色持股,青色持币。

3、买卖提示,图上明确。

4、顶底提示与底背离提示,图上明确。

5、红色区域为筹码集中度高,宜持股,绿色区域为筹码集中度低,宜持币,但大面积红色后和绿色为洗盘,反之则为试探。

指标原码:指标:筹码集中度.rar(注意,先解压,再导入通达信,点击“功能”---“专家系统”---“指标管理器”---“导入指标”---选中“筹码集中度.tni”---“打开”---“全部选中”---“确定”)引用:VAR55:=LLV(LOW,6);VAR66:=HHV(HIGH,6);VAR77:=(VAR66-VAR55)/10;VAR88:=SMA((CLOSE-VAR55)/VAR77,20,1);VARA:=3*VAR88-2*SMA(VAR88,3,1);AA:=MA(EMA(WINNER(C),3),3);筹码集中度:AA-0.5,COLORYELLOW;DRAWBAND(筹码集中度,RGB(155,50,50),0,RGB(83,135,68));STICKLINE(筹码集中度>=0.4,0.4,筹码集中度,4,1),COLORCYAN;STICKLINE(筹码集中度<=-0.4,-0.4,筹码集中度,4,1),COLORLIGRAY;中线:EMA(AA-0.5,55),LINETHICK2,COLORLIGRAY;IF(中线>REF(中线,1),中线,DRAWNULL),LINETHICK2,COLORMAGENTA;IF(筹码集中度>=REF(筹码集中度,1),筹码集中度,DRAWNULL),COLORRED;IF(筹码集中度<REF(筹码集中度,1),筹码集中度,DRAWNULL),COLORCYAN;AB:=EMA(AA-0.5,6);AC:=CROSS(AA-0.5,AB) AND AB<=-0.3;AD:=CROSS(AB,AA-0.5) AND AB>=0.35;DRAWICON(AC,AB,7);DRAWICON(AD,AB,8);VAR6:=(2*CLOSE+HIGH+LOW)/4;VAR7:=LLV(LOW,13);VAR8:=HHV(HIGH,13);VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);奔牛: (EMA(0.382*REF(VAR9,2)+0.618*VAR9,6)-50)/100,COLORYELLOW,LINETHICK2; AAA:=EMA(奔牛,3);DRAWICON(奔牛>=REF(奔牛,1) AND REF(奔牛,1)<=REF(奔牛,2),奔牛*0.95,1); DRAWICON(奔牛<=REF(奔牛,1) AND REF(奔牛,1)>=REF(奔牛,2),奔牛*1.05,2);IF(奔牛>REF(奔牛,1),奔牛,DRAWNULL),COLORRED,LINETHICK2;IF(奔牛<REF(奔牛,1),奔牛,DRAWNULL),COLORCYAN,LINETHICK2;DRAWICON(CROSS(AA-0.5,中线) AND AA-0.5<0,AB,23);A1:=BARSLAST(REF(CROSS(奔牛,AAA),1));底背离:=REF(CLOSE,A1+1)>CLOSE AND 奔牛>REF(奔牛,A1+1) AND CROSS(奔牛,AAA); STICKLINE(底背离,0,0.1,3,0),COLORMAGENTA;DRAWLINE(A1=0,AAA,底背离,AAA,0),COLORRED,LINETHICK4;A2:=BARSLAST(REF(CROSS(AAA,奔牛),1));顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(奔牛,A2+1)>奔牛AND CROSS(AAA,奔牛); DRAWLINE(A2=0,AAA,顶背离,AAA,0),COLORGREEN,LINETHICK4;。

看清主力资金副图源码通达信指标公式源码

看清主力资金副图源码通达信指标公式源码

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;ZCMZL:=MA(ZLCM+SHCM,13);ZZNTS:=BARSLAST(ZSHTL<90 AND REF(ZSHTL,1)>90);ZSHJJ:=EMA(ZSHTL,89);ZZLJJ:=EMA(ZZLKP,89);ZJLRQD:=INTPART(ZZLKP-ZZLJJ);SH8:=EMA(ZSHTL,8);DKB:=IF(ZZLKP-REF(ZZLKP,1)>ZSHTL-REF(ZSHTL,1),1,0);STICKLINE(REF(ZSHTL,1)>90 AND ZSHTL<90,ZSHTL,0,4,0),COLOR9966FF; STICKLINE(C>0,ZSHTL,ZZLKP,0,0),COLOREEEEEE;STICKLINE(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,1,0),COLORAAAAAA; STICKLINE(C>0,ZZLKP,0,3,0),COLORBLUE;STICKLINE(ZZLKP>75,ZZLKP,0,3,0),COLORFFFFFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,3,0),COLORRED; STICKLINE(ZSHTL>=90,ZZLKP,0,3,0),COLORYELLOW;散户套牢系数:INTPART(ZSHTL),NODRAW;主力控盘系数:INTPART(ZZLKP),COLORCYAN,NODRAW;资金流入强度:ZJLRQD,NODRAW;RSV:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;K1:=SMA(RSV,10,1);D1:=SMA(K1,5,1);KK:=INTPART(K1);DD:=INTPART(D1);TFXXS:=KK+DD;TGLD:=MOD(TFXXS,10);TGLXS:=(TFXXS-REF(TFXXS,1))*10;TYCFX:=TFXXS+TGLXS;乖离系数:TGLXS,NODRAW,COLORGREEN;STICKLINE(TGLXS>0,150,150+TGLXS,3,0),COLOR000088;STICKLINE(TGLXS>0,150,150+TGLXS,2.5,0),COLOR000099;STICKLINE(TGLXS>0,150,150+TGLXS,2,0),COLOR0000AA;STICKLINE(TGLXS>0,150,150+TGLXS,1.5,0),COLOR0000BB;STICKLINE(TGLXS>0,150,150+TGLXS,1.0,0),COLOR0000DD;STICKLINE(TGLXS>0,150,150+TGLXS,0.5,0),COLOR0000FF;STICKLINE(TGLXS<0,150,150+TGLXS,3,0),COLOR008800;STICKLINE(TGLXS<0,150,150+TGLXS,2.5,0),COLOR00AA00;STICKLINE(TGLXS<0,150,150+TGLXS,2,0),COLOR00BB00;STICKLINE(TGLXS<0,150,150+TGLXS,1.5,0),COLOR00DD00;STICKLINE(TGLXS<0,150,150+TGLXS,1,0),COLOR00FF00;STICKLINE(TGLXS=0 AND REF(TGLXS,1)>=0,150,150+TGLXS,8,0),COLORRED; STICKLINE(TGLXS=0 AND REF(TGLXS,1)<0,150,150+TGLXS,8,0),COLORGREEN;风险系数:TFXXS,LINETHICK2,COLORYELLOW;预测风险:TYCFX,LINETHICK1,COLORCYAN;市场筹码总量:ZCMZL,COLORGREEN,LINETHICK1;上市:FINANCE(42)/10000,NODRAW,COLORYELLOW;STICKLINE(TGLXS>0 AND 100+TGLXS<TYCFX AND 100+REF(TGLXS,1)>=REF(TYCFX,1),0,(100+ABS(TGLXS)),0,0),COLORYELLOW; STICKLINE(TGLXS<0 AND 100+TGLXS>=TYCFX AND 100+REF(TGLXS,1)<REF(TYCFX,1),0,(100+ABS(TGLXS)),0,0),COLORYELLOW;T1:=CONST( ZCMZL>REF(ZCMZL,1) AND DKB=1);T2:=CONST( ZCMZL>REF(ZCMZL,1) AND DKB=0);T3:=CONST( ZCMZL=REF(ZCMZL,1));T4:=CONST( ZCMZL<REF(ZCMZL,1) AND DKB=1);T5:=CONST( ZCMZL<REF(ZCMZL,1) AND DKB=0);T6:=CONST(TFXXS<=50 );T7:=CONST(TFXXS>=160 );T8:=CONST(TFXXS>50 AND TFXXS<160 AND TFXXS>=REF(TFXXS,1) AND TFXXS<=100 );T9:=CONST( TFXXS>50 AND TFXXS<160 AND TFXXS>=REF(TFXXS,1) AND TFXXS>100); T10:=CONST(TFXXS>50 AND TFXXS<160 AND TFXXS<REF(TFXXS,1) AND TFXXS>100 ); T11:=CONST(TFXXS>50 AND TFXXS<160 AND TFXXS<REF(TFXXS,1) ANDTFXXS<=100 );T12:=CONST( ZSHTL>90 );T13:=CONST( ZZLKP>75 );T14:=CONST(CROSS(ZCMZL,ZZLJJ) AND ZZLKP>ZZLJJ AND ZZLKP>10 AND ZZLJJ>REF(ZZLJJ,1) AND ZCMZL>REF(ZCMZL,1) );T15:=CONST(CROSS(ZCMZL,ZZLKP) AND ZZLKP>ZZLJJ AND ZZLKP<ZSHTL AND ZZLKP>10 AND ZZLJJ>REF(ZZLJJ,1) AND ZCMZL>REF(ZCMZL,1) );T16:=CONST( CROSS(ZCMZL,ZSHTL) AND ZSHTL>ZZLKP AND ZCMZL>REF(ZCMZL,1)); T17:=CONST( CROSS(ZCMZL,100) AND ZCMZL>REF(ZCMZL,1));T18:=CONST(REF(ZSHTL,1)>90 AND ZSHTL<90 );TS1:=IF(T1=1,0+0.03,0);TS2:=IF(T2=1,TS1+0.03,TS1);TS3:=IF(T3=1,TS2+0.03,TS2);TS4:=IF(T4=1,TS3+0.03,TS3);TS5:=IF(T5=1,TS4+0.03,TS4);TS6:=IF(T6=1,0+0.73,0);TS7:=IF(T7=1,TS6+0.03,TS6);TS8:=IF(T8=1,TS7+0.03,TS7);TS9:=IF(T9=1,TS8+0.03,TS8);TS10:=IF(T10=1,TS9+0.03,TS9);TS11:=IF(T11=1,TS10+0.03,TS10);TS12:=IF(T12,0+0.03,0);TS13:=IF(T13=1,TS12+0.03,TS12);TS14:=IF(T14=1,TS13+0.03,TS13);TS15:=IF(T15=1,TS14+0.03,TS14);TS16:=IF(T16=1,TS15+0.03,TS15);TS17:=IF(T17=1,TS16+0.03,TS16);TS18:=IF(T8=1,TS17+0.03,TS17);DRAWTEXT_FIX(T1,0.58,TS1,0,'★主力动向监控:主力增仓'),COLORRED; DRAWTEXT_FIX(T2,0.58,TS2,0,'★主力动向监控:主力减仓'),COLORMAGENTA; DRAWTEXT_FIX(T3,0.58,TS3,0,'★主力动向监控:多空平衡'),COLORGRAY; DRAWTEXT_FIX(T4,0.58,TS4,0,'★主力动向监控:主力回补'),COLORFF9933; DRAWTEXT_FIX(T5,0.58,TS5,0,'★主力动向监控:主力出逃'),COLORGREEN; DRAWTEXT_FIX(T6,0.78,TS6,0,'★操作风险提示:买入风险'),COLORYELLOW; DRAWTEXT_FIX(T7,0.78,TS7,0,'★操作风险提示:卖出风险'),COLORCYAN; DRAWTEXT_FIX(T8,0.78,TS8,0,'★操作风险提示:追涨博弈'),COLORRED; DRAWTEXT_FIX(T9,0.78,TS9,0,'★操作风险提示:稳健持股'),COLORMAGENTA; DRAWTEXT_FIX(T10,0.76,TS10,0,'★操作风险提示:盘跌减仓'),COLORWHITE; DRAWTEXT_FIX(T11,0.76,TS11,0,'★操作风险提示:杀跌空仓'),COLORGREEN; DRAWTEXT_FIX(T12,0.36,TS12,0,'☆特别信号提示:筑底散兵坑'),COLOR66FFCC; DRAWTEXT_FIX(T13,0.36,TS13,0,'☆特别信号提示:铸顶风险区'),COLORCYAN; DRAWTEXT_FIX(T14,0.36,TS14,0,'☆特别信号提示:穿越主力'),COLORRED; DRAWTEXT_FIX(T15,0.36,TS15,0,'☆特别信号提示:穿越主力'),COLORYELLOW; DRAWTEXT_FIX(T16,0.36,TS16,0,'☆特别信号提示:穿越散户'),COLORGREEN;DRAWTEXT_FIX(T17,0.36,TS17,0,'☆特别信号提示:全盘穿越'),COLOR3399FF;。

通达信趋势主力副图指标源码

通达信趋势主力副图指标源码

通达信趋势主力副图指标源码主力:=XMA(XMA((CLOSE*2+LOW-OPEN-HIGH)/4,2),2);散户:=EMA(主力,11)-EMA(主力,22);量比:=EMA(散户,5);杭: (-100)*(散户-量比)*100,COLOR00FF00,LINETHICK5;州: 100*(散户-量比)*100,COLOR0000FF,LINETHICK5;龙:0;IF(州<=REF(州,1),州,DRAWNULL),COLOR00FFFF,LINETHICK5;DRAWTEXT(CROSS(州,REF(州,1)),州,'买'),COLOR00FFFF;DRAWTEXT(CROSS(REF(州,1),州),州,'卖'),COLOR00FF00;{主力控盘A}VAR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR5:=(((VAR2 + (2 * VAR3)) + (3 * VAR4)) / 6);VAR6:=MA(VAR5,3);开始控盘:=STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR00AAFF;STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR0044FF;STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),2.5,0),COLOR0088FF;STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3,0),COLOR00AAFF;VAR1:=EMA(EMA(CLOSE,3),1);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;STICKLINE(控盘<0,控盘,0,3.5,0),COLORFFAA00;STICKLINE(控盘<0,控盘,0,3.5.2,0),COLORFF4400;STICKLINE(控盘<0,控盘,0,2.5,0),COLORFF8800;STICKLINE(控盘<0,控盘,0,0,0),COLORFFAA00;主力出货:0,COLORFFAA00;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),COLOR000088;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),COLOR0000AA;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),COLOR0000CC;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR0000EE;主力吸货:0,COLOR0000FF;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),COLOR008800;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),COLOR00AA00;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),COLOR00CC00;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR00EE00;STICKLINE(DDX<0,0,DDX,3.5,0),COLOR008800;STICKLINE(DDX<0,0,DDX,2.5,0),COLOR00AA00;STICKLINE(DDX<0,0,DDX,1.5,0),COLOR00CC00;STICKLINE(DDX<0,0,DDX,1,0),COLOR00EE00;对倒出货洗盘:0,COLOR00FF00;黄色底部吸货:0,COLORYELLOW;DRAWTEXT(CROSS(控盘,0),0-3,'买。

通达信指标公式源码软件筹码锁定副图指标公式.docx

通达信指标公式源码软件筹码锁定副图指标公式.docx

筹码锁定副图指标公式N 2 100 9Ml 2100 3M2 2 100 3VARR:=MA(CLOSE Z194);VART:二VARR+2 *STD(CLOSE,170);顶:(CLOSE>VART)*13*10,COLORBLUE 丄INETHICK2;主筹估算: = EMA(WINNER(C)*70,3)丄INETHICK2,COLORRED;散筹估算: = EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3),LINETHICK1Z COLORGREE N;筹码锁定:散筹估算■主筹估算,COLORGREEN丄INETHICK3;涨:CROSS(主筹估算,筹码锁定LCOLORWHITE;强:CROSS(主筹估算,散筹估算LCOLORYELLOW;STICKLINE(涨O 筹码锁定,4,0),COLORWHITE;STICKLINE(强O 散筹估算,4,0),COLORYELLOW;DRAWICON(CROSS(主筹估算,散筹估算),散筹估算,5);DRAWICON(CROSS(主筹估算,筹码锁定),主筹估算-0.2,5);STICKLINE(主筹估算〉散筹估算,主筹估算散筹估算+1,3,0) COLORYELLOW; VARl:=MA(100*(CLOSE-LLV(CLOSE z34))/(HHV(HIGH z34)-LLV(LOW,34))z5)-2 0;VAR2:=2*ABS(VAR1);VAR3: = 100-3*SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1)+2*SMA( SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L Z75))*100,20,1),15,1);VAR4:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW Z75))*100Z20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)- LLV(LOW,75))*100,20,1),15,1); VAR5:=(HIGH+LOW+CLOSE)/3;VAR6:=(VAR5・MA(VAR5J4))/(0.015*AVEDEV(VAR5,14));VAR7:=(VAR5-MA(VAR5,70))/(0.015*AVEDEV(VAR5,70));VAR8:=IF(VAR6> = 150 AND VAR6<200 AND VAR7> = 150 ANDVAR7<200z10,0);VAR9:=IF(VAR6<=-150 AND VAR6>-200 AND VAR7<=-150 AND VAR7>-200,-10,VAR8);VARA:=(CLOSE-MA(CLOSE Z13))/MA(CLOSE,13)*100;VARB: = 100-ABS(VARA);VARC:=3*SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL Z75) )*100,20,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1);VARD:=3*SMA((INDEXO-LLV(INDEXL Z75))/(HHV(INDEXH Z75)-LLV(INDEXL,75))*100Z20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL Z75))/ (HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1);VARE:=REF(LOW,1)*0.9;VARF:=LOW*0.9;VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;VARll:=EMA(VAR10,30);VAR12:=VAR11-CLOSE;VAR13:=REF(CLOSE,1);VAR14:=SMA(MAX(CLOSE-VAR13z O)z7/l)/SMA(ABS(CLOSE-VAR13),7,l)*100; VAR15:=SMA(MAX(CLOSE-VAR13z O),13,l)/SMA(ABS(CLOSE-VAR13),13,1)*10 0;VAR16:=BARSCO U NT(CLOSE);VAR17:=SMA(MAX(CLOSE-REF(CLOSE,l)z O),6,l)/SMA(ABS(CLOSE-REF(CLOSE ,1)),6,1)*100;VAR18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))4-50) *2; VAR19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;VAR1A:=(SMA(VAR19,4Z1)-5O)*2;VAR1B:=SMA(VAR1A,3,1);VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;VAR1D:=SMA(VAR1C Z4,1);VAR1E:=SMA(VAR1D,3,1);VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;VAR20:=IF(VAR17<=25 AND VAR18<-95 AND VARlF>20 AND VARlB<-30 ANDVARlE<30 AND VAR12>=-0.25 AND VAR14<22 AND VAR15<28 ANDVAR16>50,80,0);战斗100-VAR3,COLORRED Z LINETHICK3;云端:IF(VARBv90,VARB,100兀OLORGREEN丄INETHICK4;野战部队:IF(VAR1>0,VAR1,0),COLORRED Z LINESTICK;茨林:IF(VARlv0,VAR2,0),COLORGREEN丄INESTICK;探空火箭:VAR20,COLORMAGENTA;前沿雷达:IF(VAR7>=200 AND VAR6> = 150,15z IF(VAR7<=-200 ANDVAR6<=-150/-15,VAR9))+60;VAR21:=CLOSE>MA(CLOSE Z20) AND MA(CLOSE,20)>=REF(MA(CLOSE Z20)Z 1);VAR22: =CLOSE<MA(CLOSE,20) AND MA(CLOSE Z20)<REF(MA(CLOSE,20),1);VAR23:=野战部队>50 AND前沿雷达〉60 AND云端=100;VAR24:=野战部队>48 AND前沿雷达〉60 AND云端V100;VAR25:=次林>38 AND前沿雷达<55;VAR26:=探空火箭>50 AND云端v90;VAR27:=VAR3<REF(VAR4Z1) AND VOL>REF(VOL,1) ANDCLOSE>REF(CLOSE,1);VAR28: = VAR3> = REF(VAR4Z1) AND CLOSEvREF(CLOSE’l) AND 前沿雷达=60 AND探空火箭=0 AND欢林> = REF(欢林」)AND VARCvREF(VARD,1);DRAWTEXT(VAR21 AND COUNT(VAR21,30)=1Z100Z'A,);DRAWTEXT(VAR22 AND COUNT(VAR22,30)=1,90Z,! *);DRAWTEXT(VAR23 AND COUNT(VAR23,30)=1,70;/ ! \ ');DRAWTEXT(VAR24 AND COUNT(VAR24,30)=1,80/0 I \ ');DRAWTEXT(VAR25 AND COUNT(VAR25Z30)=1,50;V,);DRAWTEXT(VAR26 AND COUNT(VAR26,30)=1Z30/U,);DRAWTEXT(VAR27 AND COUNT(VAR27,30)== ▲ *);DRAWTEXT(VAR28 AND COUNT(VAR28,30)=1,20; ¥ \AVAR1:=((CLOSE-LLV(LOW,20))/(HHV(HIGH Z20)-LLV(LOW,20)))*(100);AVAR2:=SMA(AVAR1Z2O,1);AVAR3:=SMA(AVAR2,15,1);AVAR4: = 100・(3)*(AVAR2)+(2)*(AVAR3);AVAR5:=((3)*(AVAR2)+(2)*(AVAR3))/(4);AVAR6:=ABS(ABS(AVAR5)・ABS(AVAR4));AVAR7: =ABS(ABS(AVAR5)-ABS(AVAR6));AVAR8: = REF(AVAR5,1);阴跌区:=AVAR4-AVAR7,;顶区域:=IF((阴跌区vO),阴跌区,0),;顶部:=(100),;RSA:=((SMA(MAX(AVAR5・AVAR8,O)21))/(SMA(ABS(AVAR5・AVAR8)21)))*(1 00);RSB:=MA(RSA Z1O);介入:IF(CROSS(RSA,RSB),58,0),COLORRED,STICK 丄INETHICK2;加仓:IF(CROSS(RSB,90),70,OJCOLOROOFFFF,STICK 丄INETHICK2; RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,M1,1);D:=SMA(K Z M2,1);DPYJ:(K+D)/2,COLORWHITE,LINETHICK2 ;顶3:95Z COLORFFOOFF;STICKLINE(DPYJ>95,100,95,1,0),COLORFFOOFF;顶1:=70,COLOR0254FD;STICKLINE(DPYJ>70,80,70,1,0),COLOR0254FD;顶2:=80,COLOROOOOFF;STICKLINE(DPYJ>80z95,80,l,0)z COLOR0000FF;底1:30,COLOROOFFOO;STICKLINE(DPYJ<30,20,30,l,0),COLOR00FF00;上太空3:IF(CROSS(,,MACD.DIF n(12,25,6),,,MACD.DEA H(12,25,6))AND ,,MACD.DIF,,(12z25/6)>0 AND ,,MACD.DEA H(12z25,6)>0,50z0)z COLOR0000FF; DRAWTEXT(上太空3 /前沿雷达*0.97;太空JCOLORYELLOW丄INETHICK2 ; 过江龙:EMA((CLOSE-REF(CLOSE,21))/REF(CLOSE Z21)*100,4),COLORRED;弱能量:EMA(过江龙,30)〃LINETHICK0,COLORBLUE;强能量:IF(VAR1>弱能量O弱能量),LINETHICKO,COLORYELLOW;江面QCOLOR99FF99;STICKLINE((过江龙 >强能量)'过江龙,强能量,3,0),COLORRED;STICKLINE((过江龙v强能量)/过江龙,强能量,3z O),COLORD4FF7F;MAIRU:= CROSS(KQ) AND K<20;MAICHU:= CROSS(D’K) AND D>80;BVAR2:=REF(LOW,1);BVAR3:=SMA(ABS(LOW-BVAR2),3,l)/SMA(MAX(L0W-BVAR2,0),3,1)*100;BVAR4:=EMA(IF(CLOSE*1.3Z BVAR3*10Z BVAR3/10)Z3);BVAR5:=LLV(LOW,30);BVAR6:=HHV(BVAR4,30);BVAR7: =IF(MA(CLOSE,58),1,0);BVAR8:=EMA(IF(LOW<=BVAR5,(BVAR4+BVAR6*2)/2,0),3)/618*BVAR7;BVAR9:=IF(BVAR8>100z100,BVAR8);快线:(CLOSE-LLV(LOW/N))/(HHV(HIGH Z N)-LLV(LOW,N))*100Z COLORFF937F;拉升资金:VAR25,COLORBLUE丄INETHICK4;VAR29:=POW(VAR28,3)*0.1+POW(VAR28Z1);VAR2A:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));VAR2B:=EMA(VAR2A*0.97,3);VAR2C:=(HIGH+LOW+CLOSE)/3;VAR2D:=(VAR2C-MA(VAR2C,14))/(0.015*AVEDEV(VAR2C,14));主力资金:IF(VAR28>0. l,VAR29,0)*5;。

主力散户筹码通达信指标公式源码

主力散户筹码通达信指标公式源码

主力散户筹码指标,主力散户动向一目了然弱势区:20,LINETHICK2,COLORGREEN;强弱分水岭:50,LINETHICK2,COLORWHITE;强势区:80,LINETHICK2,COLORRED;风险区:95,LINETHICK2,COLORLICYAN;V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);V2:=(1-7/100)*(DMA(CLOSE,V1));V3:=(1+7/100)*(DMA(CLOSE,V1));V5:=MA((LOW+HIGH+CLOSE)/3,5);支撑:REFDATE(V2,DATE),COLORYELLOW,NODRAW;阻力:REFDATE(V3,DATE),COLORYELLOW,NODRAW;主力:EMA(100*(CLOSE-LLV (LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3), COLORRED,LINETHICK2;走势: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),COLORYELLOW;主力筹码集中度:WINNER(C)*100 ,COLORLIMAGENTA,LINETHICK1;M:=60;散户:100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M))COLORGREEN,LINETHICK1,DOTLINE;散户筹码集中度:(WINNER(C*1.1)-WINNER(C*0.9))*100,COLORLICYAN,LINETHICK1,DOTLINE;主力换手率:100*VOL/CAPITAL,NODRAW,COLORLIGREEN;主力筹码估算:EMA(WINNER(CLOSE)*70,3),NODRAW;散户筹码估算:EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3),NODRAW;散户套牢比率:散户筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;主力控盘比率:主力筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;市场总量:=MA(主力筹码估算+散户筹码估算,13),COLORGREEN,LINETHICK2;筹码总量:=IF(市场总量>REF(市场总量,1),市场总量,DRAWNULL),COLORWHITE,LINETHICK2;DRAWRECTREL(0,0,220,650,RGB(01,000,000));DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.0,0, '主力:'),COLORRED;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.08,0.0,0,'%'),COLORLIGRAY; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.04,0.0,0,主力),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.08,0, '走势:'),COLORYELLOW; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.08,0.08,0,'%'),COLORLIGRAY; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.04,0.08,0,走势),COLORYELLOW; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.09,0.24,0, '主力换手率:'),COLORLIGREEN; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.20,0.24,0, '%'),COLORLIGRAY; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.17,0.24,0,主力换手率),COLORLIGREEN;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.32,0,'散户:'),COLORGRAY; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.08,0.32,0, '%'),COLORLIGRAY; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.04,0.32,0,散户),COLORGRAY; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.40,0,'支撑:'),COLORRED;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.08,0.40,0, '¥'),COLORLIGRAY; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.04,0.40,0,支撑),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.48,0,'阻力:'),COLORLICYAN; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.08,0.48,0, '¥'),COLORLIGRAY; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.04,0.48,0,阻力),COLORLICYAN; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.09,0.0,0, '主力筹码集中度:'),COLORMAGENTA; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.20,0.0,0, ' %'),COLORLIGRAY; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.17,0.0,0,主力筹码集中度),COLORMAGENTA; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.09,0.08,0, '主力控盘比率:'),COLORWHITE; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.20,0.08,0, ' %'),COLORLIGRAY; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.17,0.08,0,主力控盘比率),COLORWHITE; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.09,0.16,0, '主力筹码估算:'),COLORMAGENTA; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.20,0.16,0,' %'),COLORLIGRAY; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.17,0.16,0,主力筹码估算),COLORMAGENTA; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.09,0.32,0, '散户套牢比率:'),COLORLICYAN; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.20,0.32,0,' %'),COLORLIGRAY; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.17,0.32,0,散户套牢比率),COLORLICYAN; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.09,0.40,0, '散户筹码集中度:'),COLORGREEN; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.20,0.40,0, ' %'),COLORLIGRAY; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.17,0.40,0,散户筹码集中度),COLORGREEN;。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORMAGENTA,LI NETHICK2;
主力筹码集中度:WINNER(C)*100 ,COLORRED,LINETHICK2;
散筹筹码集中度:(WINNER(C*1.1)-WINNER(C*0.9))*100 ,COLORGREEN,LINETHICK2;
强弱分界: 80,COLORYELLOW;
趋势线: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLO SE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
XIAO1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
XIAO2:=SMA(ABS(LOW-XIAO1),13,1)/SMA(MAX(LOW-XIAO1,0),10,1);
XIAO3:=EMA(XIAO2,10);
XIAO4:=LLV(LOW,33);
XIAO5:=EMA(IF(LOW<=XIAO4,XIAO3,0),3);
STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,3,0 ),COLOR000055;
STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,2.6,0 ),COLOR000077;
STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,2.1,0 ),COLOR000099;
STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,1.5,0 ),COLOR0000BB;
STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,0.9,0 ),COLOR0000DD;
STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,0.3,0 ),COLOR0000FF;
STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,3,0),COLOR005500;
STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,2.6,0),COLOR007700;
STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,2.1,0),COLOR009900;
STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,1.5,0),COLOR00BB00;
STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,0.9,0),COLOR00DD00;
STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,0.3,0),COLOR00FF00;
私募进场:IF(XIAO5>REF(XIAO5,1),XIAO5,0),COLORRED,NODRAW;
私募洗盘:IF(XIAO5<REF(XIAO5,1),XIAO5,0),COLORGREEN,NODRAW;
B1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100- 70;
B2:=SMA(B1,9,1)+100;
B3:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100;
B4:=SMA(B3,3,1);
B5:=SMA(B4,3,1)+100;
B6:=B5-B2;
观望期:=IF(B6>60,B6-60,0);
T1:=STICKLINE(REF(观望期,1)<观望期,观望期,REF(观望期,1),9,0),COLORYELLOW; T2:=STICKLINE(REF(观望期,1)>观望期,观望期,REF(观望期,1),9,0),COLORCYAN;
TAI1:=MA(C,1)/MA(REF(C,13),8)*100;
TAI2:=MA(FORCAST(TAI1,21),3);
TAI3:=REF(TAI1,1);
TAI4:=REF(TAI1,2);
邰1:=LLV(LOW,8);
邰2:=HHV(HIGH,13);
股市黑客:= EMA((CLOSE-邰1)/(邰2-邰1)*100,5),COLORRED;
升跌临界:= EMA(0.667*REF(股市黑客,1)+0.333*股市黑客,2),COLORGREEN;
VAR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
VARD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));
VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR11:=(REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR13:=(REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR15:=(REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR17:=(REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;
DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIFF,9),COLORFFFF00;
MACD:=(DIFF-DEA)*2;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF> REF(DIFF,A1+1) AND CROSS(DIFF,DEA); 顶背离:=REF(CLOSE,A2+1)< CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
①:IF(REF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5)) /MA(C,5)>0.04 AND
观望期=0 AND C> REF(C,1),1),44,0),LINETHICK3,COLORCYAN;
②:IF(REF("KDJ.J",1)<0 AND "KDJ.J">0 AND TAI1>=TAI2 AND
TAI3> TAI4,34,0),LINETHICK3,COLOR0000FF;
③:IF(REF(股市黑客,1)<=13&&CROSS(股市黑客,升跌临界)&&REF(MA(C,55),1)>REF (MA(C,55),2)&& (VAR19 OR REF(VAR19,1)),23,0),COLORBLUE;
④:IF(底背离,57,0),LINETHICK3,COLORBROWN;
DRAWTEXT(底背离,54,'←MACD 底背离'),COLORWHITE;
DRAWICON(REF(股市黑客,1)<=13&&CROSS(股市黑客,升跌临界)&&REF
(MA(C,55),1)>REF(MA(C,55),2)&&(VAR19 OR REF(VAR19,1)),25,23);
DRAWICON(REF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5)) /MA(C,5)>0.04
AND 观望期=0 AND C>REF(C,1),1),46,23);
DRAWICON(REF("KDJ.J",1)<0 AND "KDJ.J">0 AND TAI1>=TAI2 AND
TAI3>TAI4,36,23),COLORYELLOW;。

相关文档
最新文档