庄股控盘通达信指标公式源码
庄家控盘通达信指标公式源码
PJGJ:=AMOUNT/VOL/0;SSRYDJX:=MA(PJGJ,13);SSRCJL:=EMA(VOL,13);SSRCJE:=EMA(AMOUNT,13);SSRCBJX:=SSRCJE/SSRCJL/100;CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;XYSHSL:=EMA(VOL/CAPITAL*100,13);STICKLINE(XYSHSL>6.1 AND CYS13>5 ,2 ,0 ,2,0 ),COLORGREEN;STICKLINE(XYSHSL>3.8 AND CYS13>5 ,1.5 ,0 ,2 ,0 ),COLORYELLOW;STICKLINE(XYSHSL>2.1 AND CYS13>5 ,1 ,0 ,2 ,0 ),COLORCYAN;STICKLINE(XYSHSL>1.8 AND CYS13>5 ,0.5 ,0 ,2 ,0 ),COLORBLUE;DIF:EMA(CLOSE,9)-EMA(CLOSE,21);DEA:EMA(DIF,5);MACD1:(DIF-DEA)*2,COLORSTICK;VAR14:=EMA(EMA(CLOSE,9),9);控盘:=(VAR14-REF(VAR14,1))/REF(VAR14,1)*70;STICKLINE(控盘<0,控盘,0,0.00001,0),COLORWHITE;A10:=CROSS(控盘,0);无庄控盘:IF(控盘<0,控盘,0),COLORWHITE,NODRAW;开始控盘:IF(A10,5,0),LINETHICK1,COLORYELLOW,NODRAW;STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLORRED;有庄控盘:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED,NODRAW;VAR15:=100*WINNER(CLOSE*0.95);STICKLINE(VAR15>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,1,0),COLORFF00FF; 高度控盘:IF(VAR15>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;攻击量:=((HSL*0.50+REF(HSL,1)*0.33)+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPE N;攻击量A:=SUM(IF(C>REF(C,1),攻击量*V,0),FROMOPEN),COLOR0000FF,LINETHICK0; 攻击量B:=-SUM(IF(C<REF(C,1),攻击量*V,0),FROMOPEN),COLOR00FF00,LINETHICK0; 攻击流量:=攻击量A+攻击量B,COLORSTICK;攻击比:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;资金攻击度:=IF(攻击比>=0,(攻击比+50),100-ABS((攻击比-50)));资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK,COLORRED;资金流出:=-SUM(IF(C<REF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00;资金出入:=资金流入+资金流出,COLORSTICK;资金比:=资金出入/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;资金流量比:=IF(资金比>=0,(资金比+100)/2,100-ABS((资金比-100)/2)); DRAWTEXT_FIX(1,0.000,0.00,0,STRCAT(STRCAT('【资金流量比】',CON2STR(资金流量比,2)),'%买')),COLORCYAN;DRAWTEXT_FIX(1,0.120,0.00,0,STRCAT(STRCAT('【资金攻击度】',CON2STR(资金攻击度,2)),' %买')),COLORMAGENTA;DRAWTEXT_FIX(ISLASTBAR,0,1,0,EXTERNSTR(0,1)),COLORFFFF00;{};AA:=RANGE(MA(C,5) ,O,C)+RANGE(MA(C,8) ,O,C)+RANGE(MA(C,13) ,O,C)+RANGE(MA( C,21) ,O,C)+RANGE(MA(C,34) ,O,C)+RANGE(MA(C,55) ,O,C)+RANGE(MA(C,89) ,O,C);AAA:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1); AA>=3 AND AAA>=1;AA>=3 AND AAA>=1;起爆:"KDJ.J"-REF("KDJ.J",1)>30 AND C/REF(C,1)>1.043 AND "MACD.MACD">0 AND "MACD.DEA">0;。
通达信庄进龙头主图指标公式
通达信庄进龙头主图指标公式所属板块:=stRCAT('【所属板块】',STRCAT(STRCAT(STRCAT('【行业】',HYBLOCK),STRCAT('【地区】',DYBLOCK)),STRCAT('【概念】',GNBLOCK)));DRAWTEXT_FIX(ISLASTBAR,0.00,0.0,0,所属板块),COLORYELLOW;{大机构进场}A0:=(3*C+L+O+H)/6;X:=(20*A0+19*REF(A0,1)+18*REF(A0,2)+17*REF(A0,3)+16*R EF(A0,4)+15*REF(A0,5)+14*REF(A0,6)+13*REF(A0,7)+12*REF(A0,8)+11*REF(A0,9)+10 *REF(A0,10)+9*REF(A0,11)+8*REF(A0,12)+7*REF(A0,13)+6*REF(A0,14)+5*REF(A0,15)+4*REF(A0,16)+ 3*REF(A0,17)+2*REF(A0,18)+REF(A0,20))/210;mtm:=C-REF(C,1);DX:=100*Ema(EMA(MTM,6),6)/EMA(EMA(Abs(MTM),6),6);CB2:=EMA(X,13);卖:=IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND crOSS(MA(DX,2),DX),1,0);DRAWTEXT(FILTER(卖=1,1),HIGH*1.02,'卖'),COLORWHITE;买1:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);DRAWTEXT(FILTER(买1=1,5),LOW*0.97,'★'),COLORRED;筹码盈利:=STRCAT(STRCAT('筹码盈利:',CON2STR(WINNER(DYNAINFO(7))*100,1)),'%');DRAWTEXT_FIX(1,0,0.12,0,筹码盈利),COLORYELLOW;STICKLINE(C<0.905*REF(C,1),C,O,2.5,0),COLORGREEN;{有庄控盘}VAW1:=EMA(EMA(CLOSE,13),13);控盘:=(VAW1-REF(VAW1,1))/REF(VAW1,1)*1000;无庄控盘:=控盘<0;有庄控盘:=控盘>REF(控盘,1) AND 控盘>0;{分时价格原码}JJ:=DYNAINFO(11);{波段买卖原码}P:=21;S:=8;M1:=3;财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*50;神:=EMA(财,M1);{股价与均线偏离买卖条件}BTJ1:=(C-JJ)/JJ<-0.03;BTJ11:=(C-JJ)/JJ<-0.03;BTJ12:=LAST(JJ>=REF(JJ,1),5,1) AND (C-JJ)/JJ<0.005; STJ1:=(C-JJ)/JJ>0.005;{控盘买卖条件}STJ01:=控盘<REF(控盘,1) AND 控盘>0.5;STJ02:=控盘>0;BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;BTJ22:=控盘>REF(控盘,1) AND 控盘<0 ;{波段买卖条件}BTJ3:=CROSS(财,神) AND 财<-0.3;BTJ32:=CROSS(财,神) AND 财<-0.1;STJ31:=CROSS(神,财);STJ32:=CROSS(神,财) AND 财>1.618;{以下为信号};BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13); BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,13); STJ81:=FILTER(STJ1 AND STJ01 AND STJ31,13);STJ82:=FILTER(STJ02 AND STJ32 ,13);STJ83:=STJ81 AND STJ82;DRAWTEXT(STJ83,H*1.002,'↓庄出'),COLORGREEN;DRAWICON(STJ83,H+0.003,24);庄:= BTJ11 AND BTJ2 AND BTJ3;有庄:=FILTER(庄,30);DRAWTEXT(有庄,L-0.0011,'↖庄进'),COLORYELLOW;DRAWICON(有庄,L*0.999,23);MA5:MA(CLOSE,5),COLORWHITE;MA10:MA(CLOSE,10),COLORYELLOW;MA20:MA(CLOSE,20),COLORRED;MA30:=MA(CLOSE,30);MA60:MA(CLOSE,60),COLORBLUE;AA1:=(C-REF(C,1))/REF(C,1)>=0.058 AND (C-REF(C,1))/REF(C,1)<0.095 ;AA2:=(C-REF(C,1))/REF(C,1)>=0.098 ;{STICKLINE(AA1,O,C,0,1 ),COLOR9B37FF;STICKLINE(AA1,OPEN,CLOSE,3,0 ),COLOR6300C6;STICKLINE(AA1,OPEN,CLOSE,2.7,0 ),COLOR6D00DB;STICKLINE(AA1,OPEN,CLOSE,2.1,0 ),COLOR7800F0;STICKLINE(AA1,OPEN,CLOSE,1.5,0 ),COLOR8000FF;STICKLINE(AA1,OPEN,CLOSE,0.9,0 ),COLOR8F20FF;STICKLINE(AA1,OPEN,CLOSE,0.3,0 ),COLOR9B37FF;STICKLINE(AA2,C,O,3,0 ),COLOR00AAFF;STICKLINE(AA2,C,O,2.1,0 ),COLOR00BBFF;STICKLINE(AA2,C,O,1.5,0 ),COLOR00CCFF;STICKLINE(AA2,C,O,1,0 ),COLOR00ddfF;STICKLINE(AA2,C,O,0.6,0 ),COLOR00EEFF;STICKLINE(AA2,C,O,0.2,0 ),COLOR00FFFF;DRAWICON( AA2,L*0.98,1);}MA(CLOSE,5),COLORWHITE;MA(CLOSE,10),COLORYELLOW;MA(CLOSE,20),COLORRED;MA(CLOSE,60),COLORBLUE;MA54:=MA(CLOSE,54);MA120:MA(CLOSE,120);STICKLINE(C/REF(C,1)>=1.096 AND H=C,O,C,2,0),COLORYELLOW;HJ_8:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;HJ_9:=FILTER(HJ_8,10);HJ_10:=BArslAST(HJ_9);HJ_11:=REF(HIGH,HJ_10+2);HJ_12:=REF(HIGH,HJ_10+1);HJ_13:=REF(HIGH,HJ_10);HJ_14:=MAX(HJ_11,HJ_12);HJ_15:=MAX(HJ_14,HJ_13);HJ_16:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;HJ_17:=HJ_10<150;HJ_18:=(OPEN-HJ_15)/HJ_15*100<30;HJ_19:=(CLOSE-LLV(LOW,HJ_10))/LLV(LOW,HJ_10)*100<50;HJ_20:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;HJ_21:=vol/MA(VOL,5)<3.5;HJ_22:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;HJ_25:=HJ_16 AND HJ_17 AND HJ_18 AND HJ_19 AND HJ_20 AND HJ_21 AND HJ_22;暴利:=FILTER(HJ_25,15);PL1:=(((CLOSE-MA54)/MA54)<0.1);PL2:=(((CLOSE-MA10)/MA10)<0.3);偏离率:=(((PL1=1) AND (PL2=1))*0.2);平台突破:=((((偏离率=0) AND (REF(偏离率,1)=0.2)) AND(REF((COUNT((偏离率=0.2),10)=10),1)=1))*-0.1);妖股突破:=平台突破=-0.1;XDF:=(暴利 OR 妖股突破);VARA:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);VARAA:=DYNAINFO(7)/(REF(CLOSE,1))>1.05 AND (DYNAINFO(7)/O>1.05);FLIGA:=(VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1)) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);妖股:=XDF AND C/REF(C,1)>1.095 AND FLIGA AND VARAA,NODRAW;DRAWICON(妖股,LOW*0.995,7);DRAWTEXT(妖股,LOW*0.975,' 妖股'),COLORYELLOW;{龙头主图}AA:=((CLOSE/REF(CLOSE,1))>=1.099);CB:=(VOL/REF(VOL,1));关注:IF((((CLOSE/REF(CLOSE,1))>=1.07) AND (CB<1)),1,0),LINETHICK0,NODRAW;龙头第一买点:=IF((AA AND (CB<1)),1,0);龙头第二买点:=IF((((CLOSE/REF(CLOSE,1))>=1.07)AND (CB<1)),1,0);DRAWTEXT((龙头第二买点=1),(REF(LOW,1)*1.1),'↖龙头'),COLOR00FFFF;均价线:=AMOUNT/V/100,POINTDOT;C2:=REF(C,1);涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);MA13:=MA(C,13),COLORGRAY;MA21:=MA(C,21),COLORWHITE;支撑线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORMAGENTA;LC:=REF(CLOSE,1);操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100,COLORWHITE,LINETHICK2;趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100,COLORGRAY;震仓线:=45,COLORMAGENTA;震仓线2:=50,COLORGRAY;逃命线:=80,COLORRED;抄底线:=20,COLORGREEN;绝底线:=5,COLORBLUE;PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;PP:=操作线<震仓线 AND REF(操作线,1)>震仓线 ;PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线;HH:=COUNT(涨停,13)>=1;STICKLINE(PP2 AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;STICKLINE(PP AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;STICKLINE(PP3 AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;A:=SMA(L,4,3) ;STICKLINE(A AND REF(PP,1) AND HH ,A*0.9999,A*0.9979,5,0)COLORGREEN;IF(A AND REF(PP,1) AND HH ,L*0.99,DRAWNULL),COLORRED,CIRCLEDOT;DRAWICON(A AND REF(PP,1) AND HH,L*0.98,1);STICKLINE(A AND REF(PP3,1) AND HH ,A*0.9999,A*0.9979,5,0)COLORGREEN;IF(A AND REF(PP3,1) AND HH ,L*0.99,DRAWNULL),COLORRED,CIRCLEDOT;DRAWICON(A AND REF(PP3,1) AND HH,L*0.98,1);HD:=COUNT(涨停,21)>=1;A1:=SMA(H,4,3);。
通达信指标公式源码 跟庄走主图指标
通达信副图源码VAR111:=(C-DMA(C,V/MA(V,4)/4))/DMA(C,V/MA(V,4)/4)*100<-8 AND (DMA(C,V/MA(V,4)/4)-DMA(C,V/MA(V,32)/32))/DMA(C,V/MA(V,32)/32)*100<-21 AND (O-REF(C,1))/REF(C,1)>-0.05 AND COUNT(C=O,3)=0;VAR112:=SMA(SMA((INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(IND EXL,275))*100,50,1),40,1);{好}VAR113:=(C-MA(C,60))/MA(C,60)*100<-23 AND VAR112<23 ANDCOUNT((C-MA(C,60))/MA(C,60)*100<-20,2)=1 AND (O>C OR O<C) ANDO/REF(C,1)>0.96;VAR114:=(VAR111 OR VAR113);次新买点:IF(VAR114=1 ,1,0),COLORBLUE,LINETHICK3;DRAWTEXT(次新买点,0.7,'←次新买点'),COLORRED;A1:=((MA(C,60)-L)/MA(C,20))*200;B1:=((MA(C,60)-L)/MA(C,60))*200;C1:=((MA(C,30)-L)/MA(C,60))*200;M1:=REF(CLOSE,1);M2:=SMA(MAX(CLOSE-M1,0),7,1)/SMA(ABS(CLOSE-M1),7,1)*100;G1:=FILTER(REF(M2,1)<20 AND M2>REF(M2,1),5);TU:=C/MA(C,40)<0.74;PER1:=5;MMA:=EMA(C,PER1);SMMA:=EMA(MMA,PER1);IMPETMMA:=MMA - REF(MMA,1);IMPETSMMA:=SMMA - REF(SMMA,1);DIVMA:= ABS(MMA - SMMA);TDJ:=(H-L)/REF(C,1)>0.05;AVERIMPET:= (IMPETMMA+IMPETSMMA)/2;TDF:= POW(DIVMA,1)*POW(AVERIMPET,3);NTDF:=TDF/HHV(ABS(TDF),PER1*3);YUL:=COUNT(TDJ,5)>1;启动:=TU AND TDJ AND YUL;确定:=CROSS(NTDF,-0.9);波段:=FILTER((G1 AND C1>20 OR C>REF(C,1)) AND REF(启动,1),10);选股:=FILTER(REF(启动,1) AND (确定OR C>REF(C,1)) AND"MACD.MACD">-1.5,10);妖底:COUNT(选股,13)>=1 AND 波段,LINETHICK2,COLORGRAY; DRAWTEXT(妖底,0.1,'←妖底'),COLORRED;VAR1G:=(((CLOSE/MA(CLOSE,40))*100)<78);VAR2G:=(((CLOSE/MA(CLOSE,60))*100)<74);VAR3G:=(HIGH>(LOW*1.051));VAR4G:=(VAR3G AND (COUNT(VAR3G,5) > 1));VARAA:=IF((VAR4G AND (VAR1G OR VAR2G)),2,0);VARBB:=C/REF(C,25)<=1.1;VARCC:=(SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100)<15; 操盘线:=SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1); VARV5:=SMA(操盘线,2,1);{ M}操盘线抄底:=操盘线>REF(操盘线,1) AND REF(操盘线,1)<REF(操盘线,2) AND 操盘线<23;极品底:VARAA AND VARBB AND VARCC AND 操盘线抄底;DRAWTEXT(极品底,0.4,' ←极品底'),COLORYELLOW;。
庄家趋势通达信指标公式源码
庄家趋势通达信指标公式源码《趋势通达信指标公式源码》一、趋势线1、MA:MA(C,N);//N日简单移动平均线2、EMA:EMA(C,N);//N日指数移动平均线3、DMA:DMA(C,A,N);//C,A,N分别为收盘价、角度系数(衰减系数)、移动平均线的期数4、HMA:HMA(C,N);//N日Hull指数移动平均线5、TMA:TMA(C,N);//N日triangular平滑移动平均线6、KMA:KMA(C,N,M);//N,M为KAMA特有参数二、动量指标1、MOM:MOM(C,N);//N日动量线2、MTM:MTM(C,N);//N日动量指标3、ROC:ROC(C,N);//N日变动率指标4、RVI:RVI(C,N);//N日相对动量索引三、平均方差指标1、AVEDEV:AVEDEV(C,N);//N日平均方差2、STD:STD(C,N);//N日标准差3、VAR:VAR(C,N);//N日方差四、波动率指标1、ATR:ATR(C,N);//N日真实波幅,ATR的英文全称为Average True Range2、BOLL:BOLL(C,N,S);//N,S为BOLL特有参数五、变动率指标1、BBI:BBI(C,N);//N日变动率指标2、CCI:CCI(C,N);//N日顺势指标3、DPO:DPO(C,N);//N日DPO(Detrended Price Oscillator)4、MI:MI(C,N);//N日MI指标(Mass Index)5、TRIX:TRIX(C,N);//N日TRIX指标6、WAD:WAD(C,N);//N日WAD指标六、量价关系指标1、OBV:OBV(C,V);//OBV(On Balance Volume)2、MFI:MFI(C,V,N);//N日资金流量指标3、AR:AR(C,V,N);//N日能量潮4、BRAR:BRAR(C,V,N);//N日反转指标5、CR:CR(C,N);//N日顺势指标七、成交量指标1、VMA:VMA(C,V,N);//N日成交量移动平均线2、VOLUME:VOLUME;。
通达信指标公式源码操盘王控盘指标
{操盘王控盘}VAR1:=EMA(EMA(CLOSE,13),13);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;STICKLINE(控盘<0,控盘,0,1,1),COLOR00FF00;STICKLINE(控盘>REF(控盘,1) AND 控盘<0,控盘,0,1,1),COLORFF00FF;无庄控盘:=控盘<0;STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,1),COLOR0000FF;有庄控盘:=控盘>REF(控盘,1) AND 控盘>0;VAR2:=100*WINNER(CLOSE*0.95);STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,1,1),COLORFFFF00;主力出货:=控盘<REF(控盘,1) AND 控盘>0;STICKLINE(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,1,1),COLOR00FFFF; 高度控盘: VAR2>50 AND COST(85)<CLOSE AND 控盘>0,COLOR00FFFF,LINETHICK2; A10:=CROSS(控盘,0);控盘B:=FILTER(IF(A10,1,0),5);{分时价格原码}JJ:=DYNAINFO(11);{波段买卖原码}P:=55;S:=8;M1:=3;财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10,COLORRED,LINETHICK2;神:=EMA(财,M1),COLORGREEN,LINETHICK1;DRAWBAND(财,RGB(255,0,0),神,RGB(0,100,50));{股价与均线偏离买卖条件}BTJ1:=(C-JJ)/JJ<-0.005;BTJ11:=(C-JJ)/JJ<-0.03;BTJ12:=LAST(JJ>=REF(JJ,1),5,1) AND (C-JJ)/JJ<0.005; STJ1:=(C-JJ)/JJ>0.005;{控盘买卖条件}STJ01:=控盘<REF(控盘,1) AND 控盘>0.5;STJ02:=控盘>0;BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;BTJ22:=控盘>REF(控盘,1) AND 控盘<0 ;{波段买卖条件}BTJ3:=CROSS(财,神) AND 财<-0.3;BTJ32:=CROSS(财,神) AND 财<-0.1;STJ31:=CROSS(神,财);STJ32:=CROSS(神,财) AND 财>1.618;{以下为信号};BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13); BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,13); DRAWICON(BTJ82,神,23);{追买};DRAWICON(BTJ81 AND TIME>10,神,27);{}; DRAWICON(BTJ811 AND TIME>10,神,26);{有庄}; DRAWTEXT(BTJ81,神,''),COLORRED; DRAWTEXT(BTJ811,神*1.2,'有庄'),COLORWHITE; STJ81:=FILTER(STJ1 AND STJ01 AND STJ31,13); DRAWICON(STJ81,神,19);STJ82:=FILTER(STJ02 AND STJ32 ,13); DRAWICON(STJ82,神,15);STJ83:=STJ81 AND STJ82;DRAWTEXT(STJ83,神,'必卖'),COLOR00FF00;。
庄股控盘通达信指标公式源码
看主力的控盘度VAR1:=EMA(EMA(CLOSE,9),9);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;STICKLINE(控盘<0,控盘,0,1,0),COLORWHITE;A10:=CROSS(控盘,0);无庄控盘:IF(控盘<0,控盘,0),COLORWHITE,NODRAW;开始控盘:IF(A10,5,0),LINETHICK1,COLORYELLOW;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;N3:=BARSLAST(CROSS(C,MA(C,20)));N4:=BARSLAST(CROSS(MA(C,20),C));黑马跟踪:IF(N3<N4,N3+1,0),COLOR00FF00,LINETHICK1;买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42);选股1:IF(开始控盘=5 AND 黑马跟踪<5 AND 黑马跟踪>0 AND 买线>卖线,28,0),COLOR0000FF,LINETHICK2;。
通达信指标公式源码监控庄家副图指标公式
换手:=V*100/CAPITAL;主力:=MA(换手,4);大户:=MA(换手,9);中户:=MA(换手,17);散户:=MA(换手,34);均量:=(主力+大户+中户+散户)/4;主力能量:=(主力-均量);大户能量:=(大户-均量);中户能量:=(中户-均量);散户能量:=(散户-均量);JZ:=V/(ABS(主力能量)+ABS(大户能量)+ABS(中户能量)+ABS(散户能量));ZLCJ:=JZ*ABS(主力能量);DHCJ:=JZ*ABS(大户能量);ZHCJ:=JZ*ABS(中户能量);SHCJ:=JZ*ABS(散户能量);STICKLINE(散户能量>0 AND SHCJ,0,SHCJ,-1,0),COLORGRAY; STICKLINE(散户能量<0 AND SHCJ,0,SHCJ,-1,1),COLORGRAY; STICKLINE(中户能量>0 ANDZHCJ,SHCJ,SHCJ+ZHCJ,-1,0),COLORMAGENTA;STICKLINE(中户能量<0 ANDZHCJ,SHCJ,SHCJ+ZHCJ,-1,1),COLORMAGENTA;STICKLINE(大户能量>0 ANDDHCJ,SHCJ+ZHCJ,SHCJ+ZHCJ+DHCJ,-1,0),COLORLIBLUE; STICKLINE(大户能量<0 ANDDHCJ,SHCJ+ZHCJ,SHCJ+ZHCJ+DHCJ,-1,1),COLORLIBLUE; STICKLINE(主力能量>0 ANDZLCJ,SHCJ+ZHCJ+DHCJ,SHCJ+ZHCJ+DHCJ+ZLCJ,-1,0),COLORY ELLOW;STICKLINE(主力能量<0 ANDZLCJ,SHCJ+ZHCJ+DHCJ,SHCJ+ZHCJ+DHCJ+ZLCJ,-1,1),COLORY ELLOW;成交量:V,NODRAW;机构量:ZLCJ,COLORYELLOW,NODRAW;大户量:DHCJ,COLORLIBLUE,NODRAW;中户量:ZHCJ,COLORMAGENTA,NODRAW;散户量:SHCJ,COLORGRAY,NODRAW;DRAWTEXT(V>0 AND ISLASTBAR AND ABS(主力能量),V*0.98,IF(主力能量>0,' 机构+',' 机构-')),COLORYELLOW; DRAWTEXT(V>0 AND ISLASTBAR AND ABS(大户能量),V/4*3,IF(大户能量>0,' 大户+',' 大户-')),COLORLIBLUE;DRAWTEXT(V>0 AND ISLASTBAR AND ABS(中户能量),V/2,IF(中户能量>0,' 中户+',' 中户-')),COLORMAGENTA;DRAWTEXT(V>0 AND ISLASTBAR AND ABS(散户能量),V/4,IF(散户能量>0,' 散户+',' 散户-')),COLORGRAY;换手率:VOL/CAPITAL*100,LINETHICK0;。
通达信公式指标源码软件主力控盘度指标公式
通达信主力控盘度指标公式“主力控盘度”公式能发现底V1:=LLV(H,20);飞鱼:100*(C-V1)/V1,COLORRED,LINETHICK1;V2:=HHV(H,20);海洋:100*(V2-C)/C,COLORWHITE,LINETHICK1;V3:=SUM(VOL,5)/CAPITAL;CYF5:=100-(100/(1+V3));DRAWICON(CROSS(飞鱼,海洋),海洋+0,1);DRAWICON(CROSS(海洋,飞鱼),海洋+0,2);{空转强}买点准备:IF((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 ))<=10,50,0);VAR18:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR28:=SMA(ABS(LOW-VAR18),13,1)/SMA(MAX(LOW-VAR18,0),10,1);VAR38:=EMA(VAR28,10);VAR48:=LLV(LOW,33);VAR58:=EMA(IF(LOW<=VAR48,VAR38,0),3);主力进场8:STICKLINE(VAR58>REF(VAR58,1),0,VAR58,7,1 ),COLORRED;洗盘8:STICKLINE(VAR58<REF(VAR58,1),0,VAR58,7,1),COLORGREEN;VAR1:=EMA(EMA(CLOSE,9),9);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;STICKLINE(控盘<0,控盘,0,1,0),COLORWHITE;A10:=CROSS(控盘,0);无庄控盘:IF(控盘<0,控盘,0),COLORWHITE,NODRAW;开始控盘:IF(A10,50,0),LINETHICK1,COLORYELLOW,LINETHICK1; 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; VAR3:=AMOUNT/VOL/7;VAR4:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;VAR7:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR8:=SMA(ABS(LOW-VAR7),13,1)/SMA(MAX(LOW-VAR7,0),20,1);VAR9:=EMA(VAR8,10);VAR10:=LLV(LOW,33);VAR11:=EMA(IF(LOW<=VAR10,VAR9,0),3);进场:IF(VAR11>REF(VAR11,1),VAR11,0),COLORBLUE,NODRAW; STICKLINE(VAR11>REF(VAR11,1),0,VAR11,1,0 ),COLORBLUE;洗盘:IF(VAR11<REF(VAR11,1),VAR11,0),COLORFFFF00,NODRAW; STICKLINE(VAR11<REF(VAR11,1),0,VAR11,1,0),COLORFFFF00;。
通达信指标公式源码 跟庄共舞 抄底副图
VAR11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);黑码线:=EMA(VAR11,5);VAR12:=(黑码线-REF(黑码线,1))/REF(黑码线,1)*100;黑码线2:=100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60)); 黑码:=CROSS(黑码线,黑码线2);Z_X0:=SMA(AMOUNT,10,1)/10000000;资金:=Z_X0;K22:=BACKSET(资金>REF(资金,1),2);K33:=BACKSET(资金<REF(资金,1),2);AA:=REF(K33,1)>0 AND K22>K33;N:=9;N1:=6;M:=14;TYP := (HIGH + LOW + CLOSE)/3;CC1:=(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M)),COLORFF00FF;C1:=SMA(CC1,3,1);C2:=SMA(C1,3,1);C3:=3*C1-2*C2;CB1:=EMA(C3,5);CB2:=REF(CB1,1);LC := REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100; RSI:=(RSI1-50)*5,LINETHICK2,COLORFFFFFF;R1:=SMA(RSI,3,1);D1:=SMA(R1,3,1);J1:=3*R1-2*D1;RR1:=EMA(J1,5);RR2:=REF(RR1,1);RR:=RR1>RR2;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,3,1);K1:=(K-50)*5,COLOR00FF00;K2:=SMA(K1,3,1);D2:=SMA(K2,3,1);J2:=3*K2-2*D2;BB1:=EMA(J2,5);BB2:=REF(BB1,1);BB:=RR AND NOT(REF(RR,1)) AND (RR1<-100 AND BB1<-100) AND CB1<-100;KK:=(C+H+L)/3;D:=MA(KK,4);CC:=FILTER((REF(C,1)<D AND C>D AND D<REF(D,1)),9);JJ:=(H+L+C)/3;QJ0:=VOL/IF(H=L,4,H-L);J:="KDJ.J","KDJ.J#DAY";QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(C,O)),QJ0*(MIN(O,C)-L));QJ2:=IF(CAPITAL=0,QJ0*(MIN(O,C)-L),QJ0*(JJ-MIN(C,O)));QJ3:=QJ0*(H-MAX(O,C));QJ4:=QJ0*(MAX(C,O)-JJ);QJ5:=QJ1+QJ2;QJ6:=QJ3+QJ4;DD:=(QJ5-QJ6)/(QJ5+QJ6)*100;DDX:=((QJ1+QJ2)-(QJ3+QJ4))/SUM(VOL,10)*100;DDZ:=DD*17;DDY:=((QJ2+QJ4)-(QJ1+QJ3))/SUM(VOL,10)*100;DDD:=CROSS(J,0) AND ((DDX>0 AND DDY>0) OR DDZ>400);LCD:=REF(CLOSE,1);RSI5:=((SMA(MAX((CLOSE - LCD),0),5,1) / SMA(ABS((CLOSE - LCD)),5,1)) * 100);TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);HD:=(HIGH - REF(HIGH,1));LD:=(REF(LOW,1) - LOW);DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);PDI:=((DMP * 100) / TR1);MDI:=((DMM * 100) / TR1);ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);AV:=(RSI5 + ADX);DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10))); NEWVOL:=(RSI5 - WR10);最佳买入:=(AV + NEWVOL);EE:=CROSS(最佳买入,0)AND CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0); FF:=AA AND (BB OR CC OR DDD OR EE);黑码综选:(黑码AND FF),STICK,COLORF000FF,LINETHICK3;DRAWTEXT(黑码综选,0.5,'黑码综选'),COLORRED;。
[转]通达信主力控盘分析指标公式
[转]通达信主力控盘分析指标公式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;。
通达信指标公式源码 吃净庄血副图指标
N:=8;趋势:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORBL ACK,LINETHICK1;取值:6,COLORBLACK,LINETHICK0;买入: IF(CROSS(趋势,取值),80,0);底盘: IF(趋势<=8,25,0),STICK,COLORWHITE,LINETHICK2;庄家:=EMA(EMA(CLOSE,10),10);现价:=(庄家-REF(庄家,1))/REF(庄家,1)*1000;STICKLINE(现价<REF(现价,1) AND 现价<0,现价,0,2,0),COLORBLUE;吸筹:IF(现价<REF(现价,1) AND 现价<0,现价,0)COLORBLUE,NODRAW;主力:=100*0.95;STICKLINE(主力>50 AND COST(85)<CLOSE AND 现价>0,现价,0,2,0),COLORRED;拉升:IF(主力>50 AND COST(85)<CLOSE AND 现价>0,现价,0),COLORRED,NODRAW; STICKLINE(现价<REF(现价,1) AND 现价>0,现价,0,2,0),COLOR00FF00;上升:=SMA(((HHV(CLOSE,13) - CLOSE) / (HHV(CLOSE,13) - LLV(CLOSE,13))),5,1);冲顶:((10/上升)-10)/5,COLORSTICK,COLORYELLOW;STICKLINE((冲顶>24),0,冲顶,1,1)COLORYELLOW,LINETHICK1;出货:IF(现价<REF(现价,1) AND 现价>0,现价,0),COLOR00FF00,NODRAW;上价:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;下价:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;中价:=MAX(EMA(上价,1)-EMA(下价,5),0)*200;吃庄价:=EMA(中价,5);净吃:吃庄价,STICK,COLORFF00FF;STICKLINE(吃庄价<REF(吃庄价,1),0,吃庄价,1,0),COLOR00FF00;价位:= (HIGH + LOW + CLOSE)/3;均价:=(HIGH+LOW+CLOSE*2)/4;讲价:=EMA(均价,8);讨价:=STD(均价,8);卖价:=(均价-讲价)/讨价*100;买价:=EMA(卖价,7);CCI:(价位-MA(价位,8))/(0.015*AVEDEV(价位,8)),LINETHICK1,COLORWHITE; 上穿买:-100,LINETHICK2,COLORBROWN;下穿卖:100,LINETHICK1,COLORFF9900;顶线!:150,COLORRED,LINETHICK2;底线:-150,COLORMAGENTA,LINETHICK2;。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
看主力的控盘度
VAR1:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
STICKLINE(控盘<0,控盘,0,1,0),COLORWHITE;
A10:=CROSS(控盘,0);
无庄控盘:IF(控盘<0,控盘,0),COLORWHITE,NODRAW;
开始控盘:IF(A10,5,0),LINETHICK1,COLORYELLOW;
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;
N3:=BARSLAST(CROSS(C,MA(C,20)));
N4:=BARSLAST(CROSS(MA(C,20),C));
黑马跟踪:IF(N3<N4,N3+1,0),COLOR00FF00,LINETHICK1;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
选股1:IF(开始控盘=5 AND 黑马跟踪<5 AND 黑马跟踪>0 AND 买线>卖线,28,0),COLOR0000FF,LINETHICK2;。