【通达信】主力控盘 主力状态指标公式
通达信主力资金进入指标公式【控盘、出货、吸货、对倒出货洗盘、黄色底部吸货、多头买入、多头卖出】
通达信主力资金进入指标公式【控盘、出货、吸货、对倒出货洗盘、黄色底部吸货、多头买入、多头卖出】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,'买。
通达信最牛主力进出利器主力监控指标公式
通达信最牛主力进出利器主力监控指标公式{主力监控}N1:=9;N2:=5;MTM:=C-REF(C,1);主力轨迹:100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),C OLORWHITE;MAZL:MA(主力轨迹,N2),COLORYELLOW;VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);VAR3:=EMA(VAR2,10);VAR4:=LLV(LOW,33);VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLOR000055;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.6,0 ),COLOR000077;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.1,0 ),COLOR000099;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.5,0 ),COLOR0000BB;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.9,0 ),COLOR0000DD;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.3,0 ),COLOR0000FF;洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),COLOR000079,NODRAW;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLOR000079;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.6,0),COLOR000093;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.1,0),COLOR0000C6;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1.5,0),COLOR4A4AFF;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.9,0),COLOR7D7DFF;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.3,0),COLORAAAAFF;VAR21:=SMA(ABS(HIGH-VAR1),13,1)/SMA(MIN(HIGH-VAR1,0),10,1);VAR31:=EMA(VAR21,10);VAR41:=HHV(HIGH,33);VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3);主力拉高:IF(VAR51<REF(VAR51,1),VAR51,0),COLORYELLOW,NODRAW;STICKLINE(VAR51<REF(VAR51,1),0,VAR51,3,0),COLOR00555 5;STICKLINE(VAR51<REF(VAR51,1),0,VAR51,2.6,0),COLOR0077 77;STICKLINE(VAR51<REF(VAR51,1),0,VAR51,2.1,0),COLOR0099 99;STICKLINE(VAR51<REF(VAR51,1),0,VAR51,1.5,0),COLOR11BB BB;STICKLINE(VAR51<REF(VAR51,1),0,VAR51,0.9,0),COLOR33D DDD;STICKLINE(VAR51<REF(VAR51,1),0,VAR51,0.3,0),COLOR55FF FF;出货:IF(VAR51>REF(VAR51,1),VAR51,0),COLORCYAN,NODRAW;STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0 ),COLORCYAN;STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0),COLOR55555 5;STICKLINE(VAR51>REF(VAR51,1),0,VAR51,2.6,0),COLOR7777 77;STICKLINE(VAR51>REF(VAR51,1),0,VAR51,2.1,0),COLOR9999 99;STICKLINE(VAR51>REF(VAR51,1),0,VAR51,1.5,0),COLORBBBB BB;STICKLINE(VAR51>REF(VAR51,1),0,VAR51,0.9,0),COLORDDD DDD;STICKLINE(VAR51>REF(VAR51,1),0,VAR51,0.3,0),COLORFFFF FF;。
通达信指标公式源码主力状态 价量线主线快线副图指标
{价量线主线快线}价量: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 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR00AAFF; STICKLINE(TGLXS>0 AND TGLXS<=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;。
通达信主力资金进入指标公式
通达信主力资金进入指标公式【控盘、出货、吸货、对倒出货洗盘、黄色底部吸货、多头买入、多头卖出】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,'买。
通达信指标公式源码 主力控盘率 主图指标 源码
{主力控盘率}MA05:MA(C,5),LINETHICK3,COLOR00CCFF;MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);五日乖离率:=(C-MA05)/MA05*100;BB05:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416;速度5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1);加速度5:=EMA((速度5-REF(速度5,1)),3),NODRAW;BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;三拾日乖离率:=(C-MA30)/MA30*100,NODRAW;VAR1:=(MA20-MA30)>REF((MA20-MA30),1) AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);VAR2:=(MA30-MA20)<REF((MA30-MA20),1) AND MA20<REF(MA20,1) AND MA30<REF(MA30,1);BB30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416;强势狙击:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);加仓:=FILTER(COUNT(CROSS(BB05,15),5)>=1 AND MA05>REF(MA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA10>REF(MA10,1)AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>MA30 OR O>MA30) AND MA05<REF(MA05,1) AND 三拾日乖离率<REF(三拾日乖离率,1) ANDMA10<REF(MA10,1),10);DRAWTEXT(加仓,LOW*0.98,'加仓'),COLORRED;JC:=CROSS(0,五日乖离率) AND 三拾日乖离率<REF(三拾日乖离率,1) AND MA10>REF(MA10,1) ;减仓:=FILTER(JC,10);MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA05>REF(MA05,1) AND (C/REF(C,1)-1)*100>5 ANDREF(C,1)<MA30;买入:=FILTER(MR,10);DRAWTEXT(减仓,HIGH*1.02,'风险'),COLORCYAN;DRAWTEXT(买入,LOW*0.98,'买入'),COLORYELLOW;DRAWTEXT(强势狙击,LOW*0.98,'狙击'),COLORYELLOW;VAR21:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW)); VAR3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);MV:=(VAR21+VAR3)/AMOUNT*VOL*100*50;。
通达信庄家控盘指标公式
通达信庄家控盘指标公式最近有一个友友给我一个”阶段指标“,他说看庄家控盘,但是不知道怎么看,希望我给它优化下,我看指标后,发现有WINNER,去WINNER 后,对比后这友友好看出感觉了!指标好不好用,还是看个人研究和了解是否到位!ZLCM:=EMA(WINNER(CLOSE)*70,3);{//主力筹码估算}SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{//散户筹码估算}ZSHTL:=SHCM/(ZLCM+SHCM)*200;{//散户套牢筹码比率}ZZLKP:=ZLCM/(ZLCM+SHCM)*200;{//主力控盘筹码比率}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);散户套牢线1:=INTPART(ZSHTL),COLORFFEEBB,LINETHICK2;主力控盘线1:=INTPART(ZZLKP),COLOR4D4DFF,LINETHICK2;DRAWBAND(主力控盘线1,RGB(0,255,255),散户套牢线1,RGB(50,50,50));{柱状线}STICKLINE(((主力控盘线1>REF(主力控盘线1,1)) AND (主力控盘线1>100)),主力控盘线1,散户套牢线1,2,0),COLOR8000FF;散:INTPART(ZSHTL),COLORFFEEBB,LINETHICK2;主力:INTPART(ZZLKP),COLOR4D4DFF,LINETHICK2;{资金流入线:ZJLRQD,,COLOR7F00FF,LINETHICK2;资金强弱线:15,COLORFF80FF,LINETHICK2,CROSSDOT;控盘临界线:55,COLORFF937F,LINETHICK2,CROSSDOT;强势控盘线:75,COLORFF3399,LINETHICK2,CROSSDOT;};{主力监控}B1:=(HHV(H,35)-C)/(HHV(H,35)-LLV(LOW,35))*100-35;B2:=SMA(B1,35,1)+100;B3:=(C-LLV(L,35))/(HHV(H,35)-LLV(L,35))*100;B4:=SMA(B3,3,1);B5:=SMA(B4,3,1)+100;B6:=B5-B2;控盘程度:(IF(B6>1,B6-1,0))*2.5,COLORRED,LINETHICK2;控盘度:100,COLORWHITE;{柱状线}控盘上:IF(控盘程度>REF(控盘程度,1), 控盘程度,DRAWNULL), STICK,COLORYELLOW,LINETHICK1;控盘下:IF(控盘程度<REF(控盘程度,1), 控盘程度,DRAWNULL), STICK,COLORFF9900,LINETHICK1;进:IF(控盘程度>REF(控盘程度,1),5,DRAWNULL),CIRCLEDOT,COLORYELLOW;出:IF(控盘程度<REF(控盘程度,1),5,DRAWNULL),CIRCLEDOT,COLORFF9900;{SAR}持币:IF(SAR(10,2,20)>=H,100,DRAWNULL),CIRCLEDOT,COLORBLUE ;持股:IF(SAR(10,2,20)<=L,100,DRAWNULL),CIRCLEDOT,COLORRED;。
【通达信】主力控盘 主力状态指标公式
【通达信】主力控盘主力状态指标公式主力控盘主力状态指标公式主力控盘N:=35;M:=35;N1:=3;B1:=(HHV(H,N)-C)/(HHV(H,N)-LLV(LOW,N))*100- M;B2:=SMA(B1,N,1)+100;B3:=(C-LLV(L,N))/(HHV(H,N)- LLV(L,N))*100;B4:=SMA(B3,3,1);B5:=SMA(B4,3,1)+100;B6:=B5-B2;控盘程度:(IF(B6>N1,B6-N1+2,0))*2.5,COLORYELLOW;控盘度:100,COLORRED;STICKLINE( 控盘程度,0,控盘程度,1.7,0 ),COLOR00FFFF; STICKLINE( 控盘程度AND 控盘程度>100,100,控盘程度,1.7,0 ),COLORRED;主力状态ZLCM:=EMA(WINNER(CLOSE)*70,3);{//主力筹码估算} SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*8 0,3);{//散户筹码估算}ZSHTL:=SHCM/(ZLCM+SHCM)*100;{//散户套牢筹码比率} ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{//主力控盘筹码比率}ZCMZL:=MA(ZLCM+SHCM,13);{//市场筹码总量} ZZNTS:=BARSLAST(ZSHTL90);{//走牛天数}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(C>0,ZSHTL,ZZLKP,1,0),COLORFFFFFF;{散户筹码警戒}STICKLINE(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,2,0),COLOR00F F00;{主力控盘筹码}STICKLINE(C>0,ZZLKP,0,1,0),COLORA4A4A4;{筑顶风险区}STICKLINE(ZZLKP>75,ZZLKP,0,1,0),COLORFFFFFF;{顶部:(ZZLKP>75),COLORFFFFFF;}{主力筹码警戒}STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,2,0),COLORRED; {筑底散兵坑}STICKLINE(ZSHTL>=90,ZZLKP,0,2,0),COLOR66FFCC;{底部:(ZSHTL>=90),COLOR66FFCC;}{筹码总量上升}IF(ZCMZL,ZCMZL>REF(ZCMZL,1),0),COLOR0066FF,LINETHIC K1;{增量资金};{//------【数值显示】}散户套牢系数:INTPART(ZSHTL),COLORCYAN,LINETHICK2; 主力控盘系数:INTPART(ZZLKP),COLORYELLOW,LINETHICK2; 资金流入强度:ZJLRQD,LINETHICK2,COLORRED;资金流入强度2:IF(ZJLRQD<10,ZJLRQD,0),LINETHICK2,COLORWHITE;市场筹码总量:INTPART(ZCMZL),COLORWHITE,LINETHICK0; DRAWICON(CROSS(主力控盘系数,散户套牢系数),散户套牢系数-5,11);DRAWICON(CROSS(资金流入强度,散户套牢系数),散户套牢系数-5,17);。
通达信主力控盘指标公式
V AR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);V AR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);V AR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);V AR5:=(((V AR2 + (2 * V AR3)) + (3 * V AR4)) / 6);V AR6:=MA(V AR5,3);开始控盘:=STICKLINE((V AR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR00AAFF; STICKLINE((V AR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR0044FF; STICKLINE((V AR6 <= (0 - 10)),0,(0 - 20),2.5,0),COLOR0088FF; STICKLINE((V AR6 <= (0 - 10)),0,(0 - 20),3,0),COLOR00AAFF;V AR1:=EMA(EMA(CLOSE,3),1);控盘:=(V AR1-REF(V AR1,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,'买。
通达信主力监控公式
通达信主力监控公式1,主力监控指标主要作用是观察每一个具体个股的筹码分布状况和散户的整体盈利比例。
2,红色曲线表示的是散户的盈利比例,白色曲线代表的是散户的仓位比例,下方紫色横线是抄底区警戒线,上方绿色横线是出货警戒线。
3,红色曲线数值越小表示持股的散户整体赚钱比例越低,曲线数值越小卖出的压力就越小;4,白色曲线数值越小表示持股的散户越少,相应的主力仓位就越多;5,当红色曲线和白色曲线同时快速下降到下方的抄底区下方时,即表示散户在卖出,而且持有股票的大部分都没有赚钱,这时就是理想的抄底时机,当然是否抄底,和建仓的仓位还是根据个股的基本面和整个市场大环境综合决定。
6,当红色曲线处于上方的出货区,且散户仓位超过50%时,表示散户不断进场接盘且赚钱比例超过90%,绝大部分个股短期内都会出现下跌甚至是反转,极个别有重大利好刺激且人气非常旺的股票则可能继续震荡上涨一段时间后才会反转。
参数设置:指标源码:YXSJ:=19923099;YX:=IF(1<1000000+YXSJ,1,0);{指标有效期};N:=20;DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);{}LC := REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;{}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;{}CDN:=14;MM:=6;MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),CDN);HD :=HIGH-REF(HIGH,1);LD :=REF(LOW,1)-LOW;DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),CDN);DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),CDN);PDI:=DMP*100/MTR;MDI:=DMM*100/MTR;ADX:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,MM);ADXR:=EXPMEMA(ADX,MM);SF:(WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0))*100,NODRAW;{散户人数} ZL:=100-SF;YL:=WINNER(C)*100;{散户盈利比例}STICKLINE(显示柱形图=1,0,SF,10,0),COLOR333333;短线反弹空间:(EMA(C,12)/C-1)*100,NODRAW,COLORWHITE;中线反弹空间:(EMA(C,40)/C-1)*100,NODRAW,COLORYELLOW;主力仓位%:100-(WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0))*100,NODRAW,COLORYELL OW;{主力曲线}散户仓位:IF(散户持股比例=1,(WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0))*100,DRAWNULL),COLORW HITE;散户赚钱比例线:IF(散户赚钱比例=1,WINNER(C)*100,DRAWNULL),COLORRED,LINETHICK3;游资赚钱比例线:=WINNER(MA(C,N))*100;RSI低位区:=((YL<=10 AND SF<=15 AND PSY<=30) OR PSY<20 OR RSI1<15)AND RSI1<20 AND RSI2<25 AND D<20AND (RSI1<15 OR (RSI1<20 AND EMA(C,30)>EMA(C,60) AND EMA(C,50)>EMA(C,120) AND EMA(C,120)>EMA(C,250)) OR ADX>60 OR MDI>45 OR PSY<20);YL低位区:=YL<=10 AND SF<=15 AND RSI1<20 AND D<20 AND PSY<=25AND (RSI1<15 OR (RSI1<20 AND EMA(C,30)>EMA(C,60) AND EMA(C,50)>EMA(C,120) AND EMA(C,120)>EMA(C,250)) OR ADX>60 OR MDI>45 OR PSY<20);PSY低位区:=(PSY<=20 AND (YL<=10 OR ADX>55) AND (RSI1<20 OR D<20) AND EMA(C,50)>EMA(C,250) AND EMA(C,30)>EMA(C,60))OR (PSY<20 AND (YL<=10 OR ADX>55) AND (RSI1<15 OR D<15));三合一低点:=PSY<20 AND RSI1<=15 AND K<=15 AND RSI2<20 AND RSI3<30;PSY高位区:=CROSS(80,PSY) AND MA(C,20)>MA(C,60)AND O>MA(C,5) AND O>MA(C,10) AND O>MA(C,20) AND C<REF(C,1) AND C<REF(C,2);YL高位区:=COUNT((YL>90 AND SF<=10 AND RSI3>70 ANDRSI2>75 AND (RSI1>80 OR ADX>60 OR PSY>80))OR (PSY>80 AND ADX>60 AND RSI1>85 AND RSI2>75 AND RSI3>70),5)>=1 AND CROSS(80,RSI1);IF(YL低位区,YL,DRAWNULL),COLORYELLOW,LINETHICK5;IF(YL低位区,SF,DRAWNULL),COLORYELLOW,LINETHICK5;IF(YL高位区OR PSY高位区,YL,DRAWNULL),COLORGREEN,LINETHICK8;阻击抄底:=WINNER(C)*100<=10 AND (WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0))*100<=10AND COUNT(RSI.RSI2<20 OR RSI.RSI3<30,5)>0 AND (KDJ.D<20 OR RSI.RSI1<20 OR PSY.PSY<25);STICKLINE(阻击抄底,0,10,6,0),COLORMAGENTA;STICKLINE((YL低位区 OR PSY低位区 OR RSI低位区 OR 三合一低点) AND COUNT(RSI.RSI2<20 OR RSI.RSI3<30,5)>0 AND (KDJ.D<20 OR RSI.RSI1<20 OR PSY.PSY<25),0,10,4,0),COLORYELLOW;DRAWTEXT_FIX(ZL>0,0.9,0.5,1,'当前主力仓位%:'),COLORYELLOW;DRAWNUMBER_FIX(ISLASTBAR AND ZL>0,0.91,0.5,0,ZL),COLORYELLOW;DRAWTEXT_FIX(ZL>0,0.95,0.5,0,'%'),COLORYELLOW;抄底区:10,COLORLIMAGENTA,LINETHICK2;出货区:90,COLORGREEN,LINETHICK2;STICKLINE(YX=0,0,100,8,0),COLORBLUE;。
通达信控盘监测指标公式
通达信控盘监测指标公式VAR1:=Ema(EMA(CLOSE,5),5);控盘:(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000,NODRAW;stICKLINE(控盘<0,控盘,0,1,0),COLORYELLOW;A10:=crOSS(控盘,0);散户:IF(控盘<0,控盘,0),COLORYELLOW,NODRAW;DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);macd:=(DIF-DEA)*2,COLORSTICK;力度:=MacD/REF(MACD,1);大盘热点正:= MACD>0 AND MACD/REF(MACD,1)>1.15 AND C/REF(C,1)>1.005;大盘热点负:= MACD<0 AND REF(MACD,1)/MACD>1.15 AND C/REF(C,1)>1.005;负到正0:=MACD>0 AND REF(MACD<0,1) AND C/REF(C,1)>1.003 ;大盘热点:=IF(大盘热点正 OR 大盘热点负 OR 负到正0 ,1,0);开始控盘:=A10 AND 大盘热点,NODRAW;STICKLINE(开始控盘,0,6,0,0),COLORFF00FF,COLORRED;DRAWICON(开始控盘,6,18)NODRAW;{画3个小圈}DRAWICON(开始控盘,7,15),COLORMAGENTA;{画小人图}STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLORRED;有庄:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED,NODRAW;VAR2:=100*WINNER(CLOSE*0.95);STICKLINE(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,1,0),COLORFF00FF;控盘高:IF(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0),COLORFF00FF,NODRAW;STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLOR00FF00;出货:IF(控盘<REF(控盘,1) AND 控盘>0,控盘,0),COLOR00FF00,NODRAW;控盘监测:MA(控盘,3),COLORWHITE;{净流资金引用}拉伸波:(C-L)/L*100,NODRAW;调头波:(C-H)/H*100,NODRAW;总量:=vol,NODRAW;ZZ:=IF(REF(C,1)>REF(O,1) AND O>REF(C,1)*1.014 AND C<O*1.02,1,3);V5:=MA(V,5);V12:=MA(V,12);V34:=MA(V,34);C6:=MA(C,6);吸货量:=CROSS(C,C6) AND V>V5*1.2 AND V>V12*1.2 AND ZZ>2 AND C>H*0.975,NODRAW;出货量:=CROSS(C6,C) AND V>V5*1.2 AND V>V12*1.2,NODRAW;天量:=VOL>MA(VOL,5)*2 AND V>V34*3 AND C<REF(C,1)*1.05,NODRAW;地量:=VOL<MA(VOL,5)/2 AND V<V12/2 AND H>L,NODRAW;DRAWTEXT(吸货量,-2,'吸'),COLORRED;DRAWTEXT(出货量,控盘*1.01,'出'),COLORGREEN;DRAWTEXT(天量,控盘*0.995,'天'),COLORYELLOW;DRAWTEXT(地量,2,'地'),COLORWHITE;{换手}换手:=VOL*10000/FINANCE(7),NODRAW,COLORGREEN;{个股强弱}MA3:=MA(C,3);MA5:=MA(C,5);MA13:=MA(C,13);MA21:=MA(C,21);MA34:=MA(C,34);MA55:=MA(C,55);MA89:=MA(C,89);MA144:=MA(C,144);MA233:=MA(C,233);TMP1:=IF(C>MA5,1,0);TMP2:=IF(C>MA13,1,0);TMP3:=IF(C>MA21,1,0);TMP4:=IF(C>MA34,1,0);TMP5:=IF(C>MA55,1,0);TMP6:=IF(C>MA89,1,0);TMP7:=IF(C>MA144,1,0);TMP8:=IF(C>MA233,1,0);个股强弱:=TMP1+TMP2+TMP3+TMP4+TMP5+TMP6+TMP7+TMP8+1, LINETHICK0;前1天:=REF(个股强弱,1);前2天:=REF(个股强弱,2);前3天:=REF(个股强弱,3);{超涨超跌}底线价:=MA((H+L+O+C)/4,5)*0.93,DOTLINE,COLORLIGREEN;顶线价:=MA((H+L+O+C)/4,5)*1.07,DOTLINE,COLORLIGREEN;市场获利:=WINNER(C)*100,NODRAW;{抛物线}抛物线:=SAR(5,34,110),NODRAW; {短波}空:=IF(抛物线>C,抛物线,DRAWNULL),COLORWHITE,DOTLINE;多:=IF(抛物线<C,抛物线,DRAWNULL),COLORMAGENTA,DOTLINE;正离:=(H/多-1)*100,NODRAW;负离:=(空/L-1)*100,NODRAW;正离底:=(L/多-1)*100,NODRAW;抛物线2:=sar(5,3,15),NODRAW; {长波}空2:=IF(抛物线2>C,抛物线2,DRAWNULL),COLORWHITE;多2:=IF(抛物线2<C,抛物线2,DRAWNULL),COLORLIMAGENTA;长波正离:=(H/多2-1)*100,NODRAW;长波负离:=(空2/L-1)*100,NODRAW;长波正离底:=(L/多2-1)*100,NODRAW;顶5:=L<REF(L,1) AND REF(L,1)>REF(L,2) AND H<REF(H,1) AND REF(H,1)>REF(H,2) AND REF(H,1)>H AND C<MA5 AND REF(C>多,1) AND REF(HHV(H,7),2)<REF(H,1) AND C<REF(C,1) ;顶3:=L<REF(L,1) AND REF(L,1)>REF(L,2) AND H<REF(H,1) AND REF(H,1)>REF(H,2) AND REF(H,1)>H AND C<MA3 AND REF(C>多,1) AND REF(HHV(H,7),2)<REF(H,1) AND C<REF(C,1) ;顶:=L<REF(L,1) AND REF(L,1)>REF(L,2) AND H<=REF(H,1) AND REF(H,1)>REF(H,2) AND REF(H,1)>H AND REF(C>多,1) AND REF(HHV(H,7),2)<=REF(H,1) AND C<REF(C,1);大顶:=IF(顶5=1 AND 顶3=1 AND 顶=1,顶5,DRAWNULL);DRAWTEXT(大顶,控盘+1,'大顶'), COLORGREEN;次顶:=IF(顶5=0 AND 顶3=1 AND 顶=1,顶3,DRAWNULL);DRAWTEXT(次顶,控盘+1,'顶3'), COLORGREEN;小顶:=IF(顶5=0 AND 顶3=0 AND 顶=1,顶,DRAWNULL);DRAWTEXT(小顶,控盘+1,'顶'), COLORGREEN;特殊顶:=L<REF(L,1) AND REF(L,1)>REF(L,2) AND REF(L,2)>REF(L,3) AND H<REF(H,2) AND REF(H,1)<REF(H,2) AND REF(HHV(H,7),3)<REF(H,2) AND C<REF(C,1);DRAWTEXT(特殊顶,控盘+1,'特殊顶'),COLORRED; {顶分型右包含关系};特殊顶2:=L<REF(L,2) AND REF(L,2)>REF(L,3) AND REF(L,1)<REF(L,2) AND REF(H,1)>H AND REF(H,1)>REF(H,2) AND REF(H,2)>REF(H,3) AND REF(HHV(H,7),2)<REF(H,1) AND C<REF(C,1);DRAWTEXT(特殊顶2,控盘+1,'特殊顶2'),COLORRED; {顶分型左包含关系};特殊顶3:=L<REF(L,1) AND REF(L,1)>REF(L,2) AND REF(L,2)>REF(L,3) AND REF(L,3)>REF(L,4) AND L<REF(L,2) AND H<REF(H,3) AND REF(H,1)<REF(H,3) AND REF(H,2)<REF(H,3) AND REF(H,3)>REF(H,4) AND REF(HHV(H,7),4)<REF(H,3) AND C<REF(C,1);DRAWTEXT(特殊顶3,控盘+1,'特殊顶3'),COLORRED; {顶分型包含4根关系};{底}底5:=L>REF(L,1) AND REF(L,1)<REF(L,2) AND H>REF(H,1) AND REF(H,1)<REF(H,2) AND REF(H,1)<H AND C>MA5 AND REF(C<空,1) AND REF(LLV(L,7),2)>REF(L,1) AND C>REF(C,1) AND C>REF(O,1);底3:=L>REF(L,1) AND REF(L,1)<REF(L,2) AND H>REF(H,1) AND REF(H,1)<REF(H,2) AND REF(H,1)<H AND C>MA3 AND REF(C<空,1) AND REF(LLV(L,7),2)>REF(L,1) AND C>REF(C,1) AND C>REF(O,1);底:=L>REF(L,1) AND REF(L,1)<REF(L,2) AND H>REF(H,1) AND REF(H,1)<REF(H,2) AND REF(H,1)<H AND REF(C<空,1) AND REF(LLV(L,7),2)>REF(L,1) AND C>REF(C,1) AND C>REF(O,1);大底:=IF(底5=1 AND 底3=1 AND 底=1,底5,DRAWNULL);DRAWTEXT(大底,控盘-1,'大底'), COLORMAGENTA;次底:=IF(底5=0 AND 底3=1 AND 底=1,底3,DRAWNULL);DRAWTEXT(次底,控盘-1,'底3'), COLORMAGENTA;小底:=IF(底5=0 AND 底3=0 AND 底=1,底,DRAWNULL);DRAWTEXT(小底,控盘-1,'底'), COLORMAGENTA;特殊底:=L>REF(L,1) AND REF(L,1)>REF(L,2) AND REF(L,2)<REF(L,3) AND H>REF(H,1) AND REF(H,1)<REF(H,2) AND REF(LLV(L,7),3)>REF(L,2);DRAWTEXT(特殊底,控盘-1,'特殊底'),COLORYELLOW; {底分型包含关系};行业换手:CALCSTOCKINDEX(HYZSCODE,'换手引用',1),NODRAW;。
通达信主力控盘指标公式
通达信主力控盘指标公式主力控盘指标主要包含以下几个公式或计算方法:1.主力控盘指标(CAPL)=(成交量变异指标×价格波动指标×主力资金流向指标)^(1/3)其中:-成交量变异指标(VOL)=V1/V2,V1为当前交易日的成交量,V2为前一交易日的成交量。
该指标反映市场成交量的波动情况,即当成交量波动较大时,该值较大;成交量波动较小时,该值较小。
-价格波动指标(VAR)=(最高价-最低价)/昨日收盘价。
该指标衡量了价格波动的幅度,即当价格波动较大时,该值较大;价格波动较小时,该值较小。
-主力资金流向指标(MFI)=(大单净流入-小单净流出)/总成交额。
该指标反映了主力资金的流入流出情况,即当主力资金流入较多时,该值较大;主力资金流出较多时,该值较小。
2.主力资金流入流出指标(CMF)=(主力资金流入-主力资金流出)/(主力资金流入+主力资金流出)3.主力动态资金系数(DCM)=∑(每日主力净流入资金与前一交易日主力净流入资金的差异)以上是主力控盘指标的基础公式,通过这些公式的组合运算可以得到主力控盘指标的数值。
主力控盘指标的计算方法比较繁杂,但是通过通达信等交易软件,投资者可以方便地获取这些指标的数值。
主力控盘指标的使用方法:1.主力控盘指标数值的波动范围在0-1之间,数值越大表明市场中的主力力量越强。
投资者可以观察主力控盘指标的变化趋势,判断主力资金的流向情况和市场的走势。
2.当主力控盘指标出现正向的转折,表明主力资金开始加仓,投资者可以考虑逢低买入的机会。
反之,当主力控盘指标出现负向的转折,表明主力资金开始撤离或减仓,投资者应考虑逢高卖出的时机。
3.主力控盘指标通常与其他技术指标结合使用,以增加其准确性。
例如,主力控盘指标与均线指标结合使用,可以进一步确认市场的走势。
4.注意主力控盘指标具有一定的滞后性,因此,投资者应及时观察市场行情变化,并结合其他信息进行判断。
总之,主力控盘指标通过综合考虑市场成交量、价格走势和主力资金流动情况,揭示了市场主力的意图和行动。
主力控盘系数通达信指标公式源码
主力控盘系数通达信指标公式源码
下面是主力控盘系数通达信指标的公式源码:
/*
计算方法:主力控盘系数=主力买入成交额/主力资金流入
在通达信软件中没有直接提供主力控盘系数这个指标,但可以通过以下几个步骤计算得到。
1.首先需要计算主力买入成交额,可以使用以下公式:
主力买入成交额=主力资金流入*成交额/成交量
其中,主力资金流入可以通过计算正的资金流入减去负的资金流入得到:
主力资金流入=资金流入-资金流出
2.然后需要计算主力资金流入,可以使用以下公式:
主力资金流入=大单资金流入+中单资金流入
其中,大单资金流入可以通过计算大单买入金额减去大单卖出金额得到:
大单资金流入=大单买入金额-大单卖出金额
中单资金流入可以通过计算中单买入金额减去中单卖出金额得到:中单资金流入=中单买入金额-中单卖出金额
3.最后,需要计算主力买入成交额、成交额和成交量。
其中,主力买入成交额已经在第1步计算得到,成交额和成交量可以从股票交易数据中获取。
以上就是主力控盘系数的计算方法,通过这个指标可以反映出主力资金对于股票的操控程度。
一般来说,主力控盘系数越高,说明主力资金对于该股票的控制能力越强。
但是需要注意的是,主力控盘系数只是一个衡量指标,不能单独作为买入卖出的依据,还需要结合其他技术分析指标和基本面分析来进行综合判断。
通达信主力控盘指标公式
V AR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);V AR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);V AR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);V AR5:=(((V AR2 + (2 * V AR3)) + (3 * V AR4)) / 6);V AR6:=MA(V AR5,3);开始控盘:=STICKLINE((V AR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR00AAFF; STICKLINE((V AR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR0044FF; STICKLINE((V AR6 <= (0 - 10)),0,(0 - 20),2.5,0),COLOR0088FF; STICKLINE((V AR6 <= (0 - 10)),0,(0 - 20),3,0),COLOR00AAFF;V AR1:=EMA(EMA(CLOSE,3),1);控盘:=(V AR1-REF(V AR1,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,'买。
庄股控盘通达信指标公式源码
看主力的控盘度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;。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
【通达信】主力控盘主力状态指标公式主力控盘主力状态指标公式
主力控盘
N:=35;M:=35;N1:=3;
B1:=(HHV(H,N)-C)/(HHV(H,N)-LLV(LOW,N))*100- M;
B2:=SMA(B1,N,1)+100;
B3:=(C-LLV(L,N))/(HHV(H,N)- LLV(L,N))*100;
B4:=SMA(B3,3,1);
B5:=SMA(B4,3,1)+100;
B6:=B5-B2;
控盘程度:(IF(B6>N1,B6-N1+2,0))*2.5,COLORYELLOW;
控盘度:100,COLORRED;
STICKLINE( 控盘程度,0,控盘程度,1.7,0 ),COLOR00FFFF; STICKLINE( 控盘程度AND 控盘程度>100,100,控盘程度,1.7,0 ),COLORRED;主力状态
ZLCM:=EMA(WINNER(CLOSE)*70,3);{//主力筹码估算} SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*8 0,3);{//散户筹码估算}
ZSHTL:=SHCM/(ZLCM+SHCM)*100;{//散户套牢筹码比率} ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{//主力控盘筹码比率}
ZCMZL:=MA(ZLCM+SHCM,13);{//市场筹码总量} ZZNTS:=BARSLAST(ZSHTL90);{//走牛天数}
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(C>0,ZSHTL,ZZLKP,1,0),COLORFFFFFF;
{散户筹码警戒}
STICKLINE(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,2,0),COLOR00F F00;
{主力控盘筹码}
STICKLINE(C>0,ZZLKP,0,1,0),COLORA4A4A4;
{筑顶风险区}
STICKLINE(ZZLKP>75,ZZLKP,0,1,0),COLORFFFFFF;
{顶部:(ZZLKP>75),COLORFFFFFF;}
{主力筹码警戒}
STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,2,0),COLORRED; {筑底散兵坑}
STICKLINE(ZSHTL>=90,ZZLKP,0,2,0),COLOR66FFCC;
{底部:(ZSHTL>=90),COLOR66FFCC;}
{筹码总量上升}
IF(ZCMZL,ZCMZL>REF(ZCMZL,1),0),COLOR0066FF,LINETHIC K1;
{增量资金};
{//------【数值显示】}
散户套牢系数:INTPART(ZSHTL),COLORCYAN,LINETHICK2; 主力控盘系数:INTPART(ZZLKP),COLORYELLOW,LINETHICK2; 资金流入强度:ZJLRQD,LINETHICK2,COLORRED;
资金流入强度
2:IF(ZJLRQD<10,ZJLRQD,0),LINETHICK2,COLORWHITE;
市场筹码总量:INTPART(ZCMZL),COLORWHITE,LINETHICK0; DRAWICON(CROSS(主力控盘系数,散户套牢系数),散户套牢系数-5,11);
DRAWICON(CROSS(资金流入强度,散户套牢系数),散户套牢系数-5,17);。