【股票指标公式下载】-【通达信】主力游资大户(主力、游资、大户、散户、关注线)

合集下载

通达信主力大户资金进出指标指标公式源码

通达信主力大户资金进出指标指标公式源码

通达信主力大户资金进出指标N:=34;预测量:IF(CURRBARSCOUNT=1 ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL),COLORCCCCFF,NODRAW; STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,预测量,0,8,-1),COLORYELLOW; 【成交量】:VOL,VOLSTICK,COLORRED;成交额亿:=AMOUNT/100000000,NODRAW;流通:=CAPITAL/1000000,NODRAW;成交流通比:=AMOUNT/CAPITAL/100,NODRAW;大盘成交【手】:INDEXV,COLORFF55FF,NODRAW;涨家数:INDEXADV,COLOR0000EE,NODRAW;跌家数:INDEXDEC,COLOR00EE00,NODRAW;STICKLINE(CLOSE=REF(CLOSE,1),0,VOL,3.2,0),COLORFF77FF;STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,2.7,0),COLORFF33FF;STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,2.1,0),COLORFF55FF;STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,1,6),COLORFF77FF;STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,0.8,0),COLORFF99FF;STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,0.5,0),COLORFFBBFF;STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,0.1,0),COLORFFDDFF;STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,3,2),COLORFF1100;STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,2.7,0),COLORFF3300;STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,2.1,0),COLORFF5500;STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,1.6,0),COLORFF7700;STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,0,8),COLORFF9900;STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,0.5,0),COLORFFBB00;STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,0.1,0),COLORFFDD00;HL10:=WINNER(C/1.1)*V,COLORBLUE;{STICKLINE(((C/1.1)*V),HL10,0,3,0),COLORMAGENTA;}STICKLINE(HL10>0,0,HL10,3,2),COLORFF0033;{紫罗兰色--攻击量} STICKLINE(HL10>0,0,HL10,2.7,0),COLORFF0066;STICKLINE(HL10>0,0,HL10,2,1),COLORFF0099;STICKLINE(HL10>0,0,HL10,1.6,0),COLORFF00CC;STICKLINE(HL10>0,0,HL10,0.5,0),COLORFF00FF;HL20:=WINNER(C/1.2)*V;{STICKLINE(((C/1.2)*V),HL20,0,2.1,0)COLORYELLOW;}STICKLINE(HL20>0,0,HL20,3,2),COLOR0035FF; {黄色--潜入量}STICKLINE(HL20>0,0,HL20,2.7,0),COLOR0064FF;STICKLINE(HL20>0,0,HL20,2,1),COLOR0093FF;STICKLINE(HL20>0,0,HL20,1.6,0),COLOR00C2FF;STICKLINE(HL20>0,0,HL20,0.5,0),COLOR00FFFF;HL30:=WINNER(C/1.3)*V;STICKLINE(((C/1.3)*V),HL30,0,2.5,0),COLORRED;STICKLINE(HL30>0,0,HL30,3.2,0),COLOR000066;{红色--拉升量}STICKLINE(HL30>0,0,HL30,2,7),COLOR000077;STICKLINE(HL30>0,0,HL30,2.1,0),COLOR000099;STICKLINE(HL30>0,0,HL30,1.6,0),COLOR0000CC;STICKLINE(HL30>0,0,HL30,0.2,0),COLORCC66FF;MA5:MA(V,5),COLORLIMAGENTA;MA13:MA(V,13),COLORCYAN;DRAWTEXT(CROSS(MA5,MA13),(V *1.05),'★'),COLORYELLOW;{VOL动能均分量}换手:=V*100/CAPITAL;主力:=MA(换手,4);大户:=MA(换手,9);中户:=MA(换手,17);散户:=MA(换手,34);均量:=(主力+大户+中户+散户)/4;主力能量:=(主力-均量);大户能量:=(大户-均量);中户能量:=(中户-均量);散户能量:=(散户-均量);DRAWTEXT(V>0 AND ISLASTBAR AND ABS(主力能量),V*0.98,IF(主力能量>0 AND 主力能量>REF(主力能量,1),' 机构+',' 机构-')),COLORYELLOW;DRAWTEXT(V>0 AND ISLASTBAR AND ABS(大户能量),V/4*3,IF(大户能量>0 AND 大户能量>REF(大户能量,1),' 大户+',' 大户-')),COLOR0000CC;DRAWTEXT(V>0 AND ISLASTBAR AND ABS(中户能量),V/2,IF(中户能量>0 AND 中户能量>REF(中户能量,1),' 中户+',' 中户-')),COLORMAGENTA;DRAWTEXT(V>0 AND ISLASTBAR AND ABS(散户能量),V/4,IF(散户能量>0 AND 散户能量>REF(散户能量,1),' 散户+',' 散户-')),COLORCYAN;{--------VOL.量能饱和--------}N1:=N;N2:=N1*1.05;N3:=N1+3;SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));量能饱和:IF(SAT>1,1,SAT)*100,COLORYELLOW,NODRAW;中点:=REFDATE(HHV(V,100)/2,DATE);{量能饱和的变色切换}{中点:=REFDATE(HHV(V,240)/2,DATE);}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;。

【股票指标公式下载】-【通达信】十面埋伏(主力潜伏、主力出逃、出手就赢)

【股票指标公式下载】-【通达信】十面埋伏(主力潜伏、主力出逃、出手就赢)

【通达信】十面埋伏(主力潜伏、主力出逃、出手就赢)-指标公式源码{主力潜伏}N3:=14;M:=156;TYP:=(HIGH+LOW+CLOSE)/3;DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA1:=EMA(DIFF,9);MACD1:=2*(DIFF-DEA1);主力潜伏中:=COUNT(MACD1<0,10)=10;STICKLINE(主力潜伏中,0,4,3,0),COLOR00CCFF;DRAWTEXT(ISLASTBAR,6,'--主力潜伏'),COLOR00CCFF;获利盘:WINNER(CLOSE)*100,COLOR00CCFF,LINETHICK0.03;{主力出逃}资金:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3)/4; 外围游资:=(资金>23.16);STICKLINE((资金>23.16),0,4,4,0),COLORGREEN;{DRAWTEXT(外围游资,2.5,'*'),COLOR2828FF;}DRAWTEXT(ISLASTBAR,2,'--主力出逃'),COLOR00FF00;{出手就赢}VAR2H:=REF(LOW,1);VAR3H:=SMA(ABS(LOW-VAR2H),3,1)/SMA(MAX(LOW-VAR2H,0),3,1)*100;VAR4H:=EMA(IF(CLOSE*1.3,VAR3H*10,VAR3H/10),3);VAR5H:=LLV(LOW,30);VAR6H:=HHV(VAR4H,30);VAR7H:=IF(MA(CLOSE,58),1,0);VAR8H:=EMA(IF(LOW<=VAR5H,(VAR4H+VAR6H*2)/2,0),3)/618*VAR7H;VAR9H:=IF(VAR8H>100,100,VAR8H);STICKLINE(VAR9H>-150,0,VAR9H,4,0.3),COLOR888888;底部吸筹指标:= (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;DRAWICON(CROSS(底部吸筹指标,-24),30,26);先知:= (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)/10;DRAWICON(先知,30,1);{可能放量拉升:= IF(CROSS(底部吸筹指标,-24),1,0);短线获利:=STICKLINE(REF("KDJ.J",1)<0 AND "KDJ.J">0);}VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;VARK2:=REVERSE(VARK1);VARK3:=SMA(VARK1,3,1);{波段王:=SMA(VARK3,3,1);波段鬼:=SMA(波段王,2.5,1);}趋势线:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(S MA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1), ,COL ORFF6666,LINETHICK2;RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K1:=SMA(RSV9,3,1);DK1:=K1-REF(K1,1);出手就赢:=(DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9); DRAWICON(出手就赢>0,30,1);买点准备:=(趋势线<=10);DRAWICON(REF("KDJ.J",1)<0 AND "KDJ.J">0,30,25);DRAWTEXT(ISLASTBAR,30,'--出手就赢');{主力进场}VAR1A:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR2A:=SMA(ABS(LOW-VAR1A),13,1)/SMA(MAX(LOW-VAR1A,0),10,1);VAR3A:=EMA(VAR2A,10);VAR4A:=LLV(LOW,33);VAR5A:=EMA(IF(LOW<=VAR4A,VAR3A,0),3);主力进场:=(VAR5A>REF(VAR5A,1));DRAWICON(主力进场,40,1);DRAWTEXT(ISLASTBAR,40,'--主力进场');{抄底魔鬼}底7:=(CLOSE-MA(CLOSE,58))/MA(CLOSE,58)<-0.225;DRAWICON(底7,10,26);VAR2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;VAR3:=SMA(SMA(VAR2,3,1),3,1);VAR4:=SMA(VAR3,3,1);VAR5:=3*VAR3-2*VAR4;VAR6:=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); VAR7:=10;底3:=(CROSS(VAR6,VAR7));DRAWICON(底3,10,1);VAR8:=(CLOSE-LLV(LOW,60.135))/(HHV(HIGH,60.135)-LLV(LOW,60))*80; VAR9:=SMA(VAR8,7,1); VARA:=SMA(VAR9,5,1);底4:=(CROSS(VAR9,VARA AND VAR9<20));DRAWICON(CROSS(VAR9,VARA AND VAR9<20),10,1);VARB:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;VARC:=SMA(VARB,5,1); VARD:=SMA(VARC,5,1);底5:=(CROSS(VARC,VARD AND VARC<20));DRAWICON(底5,10,1);VARE:=1/WINNER(CLOSE); VARF:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; VAR10:=100-ABS(VARF); VAR11:=IF(VARE>5,IF(VARE<100,VARE,VAR10-10),0); VAR12:=HHV(HIGH,25); VAR13:=LLV(LOW,25);VAR14:=EMA((CLOSE-VAR13)/(VAR12-VAR13)*100,5);底6:=(CROSS(VAR14,VAR11));DRAWICON(底6,10,13);DRAWTEXT(ISLASTBAR,10,'--抄底魔鬼');{CCI合并}DRAWICON(CROSS(200,CCI),70,27);DRAWICON( CROSS(CCI,-200),70,26);DRAWICON( CROSS(CCI,-100),70,1);DRAWTEXT(ISLASTBAR,70,'--CCI合并');{机会来临}VAR2K:=REF(LOW,1);VAR3K:=SMA(ABS(LOW-VAR2K),13,1)/SMA(MAX(LOW-VAR2K,0),13,1)*100;VAR4K:=EMA(IF(CLOSE*1.2,VAR3K*13,VAR3K/13),13);VAR5K:=LLV(LOW,34);VAR6K:=HHV(VAR4K,34);VAR7K:=IF(LLV(LOW,55),1,0);VAR8K:=EMA(IF(LOW<=VAR5K,(VAR4K+VAR6K*2)/2,0),3)/618*VAR7K;VAR9K:=EMA(CLOSE,5);VAR10K:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);VAR11K:=EMA(IF(LOW<=VAR5K,(VAR4K+VAR6K*2)/2,0),3)/618*VAR7K*(-1);VAR12K:=EMA(CLOSE,5)*(-1);XL1:=MA(LOW,2)*0.96;XL2:=MA(LOW,26)*0.85;XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2); DRAWICON(XL3,20,1);VA:=(2*C+H+L)/4;VB:=LLV(L,5);VC:=HHV(H,5);红线上穿买:EMA((VA-VB)/(VC-VB)*27,5)*4,COLOR0000D2;红线下穿卖:EMA(红线上穿买,3),COLORFF9900;散户:=EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4) ;庄家:= EMA(0.667*REF(散户,1)+0.333*散户,2);DRAWICON(CROSS(散户,庄家) AND 散户<30,80,1);DRAWICON(CROSS(庄家,散户) AND 散户>70,80,2);极品底:=((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04); DRAWICON(极品底,80,25);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;X:=LLV(J,2)=LLV(J,8);DRAWICON(CROSS(J,REF(J+0.01,1)) AND X AND J<19,80,1);QVAR1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10; QVAR1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100); QVAR1C:=SMA(QVAR1B,13,8);QVAR1D:=SMA(QVAR1A,21,8);机会来临:=SMA(QVAR1C,13,8);AAS:=FILTER((COUNT((机会来临-QVAR1D<(-65)),3)=3),34);DRAWICON(AAS,80,1);DRAWTEXT(ISLASTBAR,80,'--机会来临');{最佳买入选股}LC:=REF(CLOSE,1);RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),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);最佳买入选股:=(CROSS(最佳买入,0));DRAWICON(最佳买入选股,50,1);RSVA:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 50); KA:=SMA(RSVA,3,1);DA:=SMA(KA,3,1);JA:=3*KA-2*DA;XB:=LLV(JA,2)=LLV(JA,8);最佳买入时机:= (CROSS(JA,3));DRAWICON(最佳买入时机,50,25);DRAWTEXT(ISLASTBAR,50,'--最佳买入');{短线套利}MA18:=MA(C,21);加码价:=((C-REF(MA18,1))/18+MA18)*1.004;短线套利:=(CROSS(C,加码价) AND 加码价>REF(加码价,1));DRAWICON(短线套利,20,1);{短炒公式}VARO:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CL OSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;DRAWICON(VARO<-9 AND VARO> REF (VARO,1),20,26);{DRAWICON(短底,20,26);}DRAWTEXT(ISLASTBAR,20,'--短线套利');{不求人}{VAR1L:=(EMA(C,12)-EMA(C,26))*100+50;VAR2L:=EMA(VAR1L,9);VAR3L:=((HHV(H,21)-C)/(HHV(H,21)-LLV(L,21)))*100-10;VAR4L:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;VAR5L:=SMA(VAR4L,13,8);VAR6L:=SMA(VAR3L,21,8);VAR7L:=MA(C,80)-MA(C,10)/7;VAR8L:=EMA(C,5);VAR9L:=MA((LLV(C,9))*1.1,14);VAR10L:=2*VAR9L-VAR8L-C*0.1;VAR11L:=IF(((VAR8L-VAR10L)*5>0),(POW((VAR8L-VAR10L)*5,2))/10,(-1*(POW ((VAR8L-VAR10L)*(5),2)))/(10));VAR12L:=IF((VAR11L>0),VAR11L-0,12);VAR13L:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100;趋势:=CEILING(SMA(VAR5,13,8)),LINETHICK0.02;看底:=(趋势-VAR6<-65);顶峰:=(趋势-VAR6>85);黄金区:=VAR13<8;}{DRAWICON(黄金区,90,1);}{STICKLINE(VAR13<8,88,93,5,0.2),COLOR51FFFF;操盘线:=MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA(( C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5),LINETHICK2,COLORB LUE;DRAWICON(FILTER(趋势<REF(趋势,1)AND 趋势>75 OR CROSS(趋势,操盘线) AND 趋势<REF(趋势,1)AND 操盘线>60,5),90,2);DRAWICON(FILTER(CROSS(趋势,VAR12)AND 趋势<REF(趋势,2)AND C>REF(C,1) OR 趋势>REF(趋势,1)AND 趋势<35 AND C>REF(C,1),5),90,1);DRAWTEXT(ISLASTBAR,90,'--不求人');}{赌涨停}MA5:=MA(C,5);MA10:=MA(C,10);MA30:=MA(C,30);ZX:=(MA5+MA10)/2;QSXS:=MA5>=MA30 AND MA30>REF(MA30,1);GD:=ZX>=REF(ZX,1) AND REF(ZX,1)<REF(ZX,2);YB:=C>REF((O-C)/2+C,2);买:=CROSS(C,ZX) AND (GD OR YB) AND QSXS;赌涨停:=买 AND MA5>REF(MA5,1);DRAWICON(赌涨停,100,13);{KDJ买点}RSVV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 50);K5:=SMA(RSVV,3,1);D5:=SMA(K5,3,1);J5:=3*K5-2*D5;J1:=REVERSE(J5);AA:=REF(MA(C,1),10)>REF(MA(C,60),10);KDJ买点:=CROSS(J5,J1) AND AA,;DRAWICON(KDJ买点,100,1);DRAWTEXT(ISLASTBAR,98,'--KDJ买,赌停');{收银台}QVAR2:=IF((HIGH+LOW<=REF(HIGH,1)+REF(LOW,1)),0,MAX(ABS(HIGH-REF(HIGH, 1)),ABS(LOW-REF(LOW,1))));QVAR3:=IF((HIGH+LOW>=REF(HIGH,1)+REF(LOW,1)),0,MAX(ABS(HIGH-REF(HIGH, 1)),ABS(LOW-REF(LOW,1))));QVAR4:=(SUM(QVAR2,13))/(SUM(QVAR2,13)+SUM(QVAR3,13));QVAR5:=(SUM(QVAR3,13))/(SUM(QVAR3,13)+SUM(QVAR2,13));QVAR9:=100-(3)*(SMA(((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75)))* (100),20,1))+(2)*(SMA(SMA(((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW, 75)))*(100),20,1),15,1));QVARA:=100-(3)*(SMA(((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75)))*( 100),20,1))+(2)*(SMA(SMA(((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75 )))*(100),20,1),15,1));QVARB:=(QVAR9<REF(QVARA,1)) AND (VOL>REF(VOL,1)) AND(CLOSE>REF(CLOSE,1));{QVAR1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10; QVAR1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100); QVAR1C:=SMA(QVAR1B,13,8);QVAR1D:=SMA(QVAR1A,21,8);}生意上门:=SMA(QVAR1C,13,8);收银台:=(生意上门-QVAR1D<-65);DRAWICON(收银台,60,1);AAS1:=FILTER((COUNT((生意上门-QVAR1D<(-65)),3)=3),34);收银:=AAS1;DRAWICON(收银,60,26);QVAR1E:=(CLOSE+OPEN+HIGH+LOW)/(4);AAA:=QVARB AND (COUNT(QVARB,1)=1) AND (生意上门<80);VAR1Z:=(((EMA(CLOSE,5))/(EMA(EMA(CLOSE,9),16))<=0.85000002)AND ((CLOSE)/(REF(CLOSE,1))>0.90499997) AND((CLOSE)/(REF(CLOSE,1))<1.05)AND (((VOL)/(CAPITAL))*(100)<5),50,0);买卖顺意:=MA((((-100))*(HHV(HIGH,34)-CLOSE))/(HHV(HIGH,34)-LLV(LOW,34))+100 ,5);VAR3Z:=(((-100))*(HHV(HIGH,50)-CLOSE))/(HHV(HIGH,50)-LLV(LOW,50))+100 ;VAR4Z:=(((-100))*(HHV(HIGH,70)-CLOSE))/(HHV(HIGH,70)-LLV(LOW,70))+100 ;VAR5Z:=(((CLOSE-MA(CLOSE,34))/(MA(CLOSE,34)))*(100)+10)*(5);VAR6Z:=(((CLOSE-MA(CLOSE,50))/(MA(CLOSE,50)))*(100)+10)*(5);VAR7Z:=(((CLOSE-MA(CLOSE,70))/(MA(CLOSE,70)))*(100)+10)*(5);VAR8Z:=(买卖顺意+VAR3Z+VAR4Z+VAR5Z+VAR6Z+VAR7Z)/(6);VAR21:=MA(CLOSE,80)-(MA(CLOSE,13))/(3);VAR22:=MA((CLOSE-VAR21)/(VAR21),1);VAR23:=(EMA(VAR22,12))*(0.69999998);VAR24:=EMA(VAR22,3);VAR25:=((LLV(VAR24-VAR23,12)>0));VAR26:=FILTER((COUNT((VAR25<(-20)),3)=3),34);顺意:=VAR26;DRAWICON(顺意,60,1);DRAWTEXT(ISLASTBAR,60,'--收银台');{绝地反击}VAR1P:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;VAR2P:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR3P:=(SMA(VAR2P,3,1)-18)*1.55;VAR4P:=SMA(VAR3P,3,1);VAR5P:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;VAR6P:=SMA(VAR5P,10,1);VAR7P:=(EMA(SMA(VAR6P,8,1),34)-25)*2.6;VAR8P:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);VAR9P:=POW(MA(LOW,5),2)+MA(LOW,5);VARAP:=POW(MA(HIGH,5),2)+MA(HIGH,5);VARBP:=((VAR8P-LLV(VAR9P,64))/(HHV(VARAP,64)-LLV(VAR9P,64))*150+65-10 )/2;VARCP:=SMA(VARBP,3,1)*1.5-46;VARDP:=SMA(VARCP,3,1);VAREP:=3*VARCP-2*VARDP;VARFP:=(VAR1P+VAR2P+VAR5P)/3;VAR10P:=((VAR3P+VAR3P+VAR6P+VARCP)/4-15)*1.67;VAR11P:=((VAR4P+VAR4P+VAR7P+VARDP)/4-15)*1.67;VAR12P:=((VAR1P+VAR5P*2+VARFP+VAR10P+VAR11P+VARBP+VARCP+VARDP+VAREP)/ 10-15)*1.67;VAR13P:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*(-1)+0.9;VAR14P:=(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*(-1)+0.92; VAR15P:=(HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15))*(-1)+0.93; VAR16P:=(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))*(-1)+0.94; VAR17P:=(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89))*(-1)+0.95; VAR18P:=(HHV(HIGH,120)-CLOSE)/(HHV(HIGH,120)-LLV(LOW,120))*(-1)+0.91; VAR19P:=(HHV(HIGH,180)-CLOSE)/(HHV(HIGH,180)-LLV(LOW,180))*(-1)+0.96; VAR1AP:=((VAR13P*8+VAR14P*8+VAR15P*8+VAR16P+VAR17P+VAR18P+VAR19P)/28-0.1)*185;VAR1B:=SMA(VAR1AP,3,1);VAR1C:=(SMA(VAR1B,8,1)-8)*1.18;VARA1:=(CLOSE-LLV(LOW,60.13547854))/(HHV(HIGH,60.13547854)-LLV(LOW,60 ))*80;VARB1:=SMA(VARA1,7,1);VARC1:=SMA(VARB1,5,1);英雄:=IF(CROSS(VARBP,VARCP) AND VARBP<20,100,0);VAR2N:=LLV(LOW,3)<=LLV(LOW,60);VAR3N:=C>O AND (C/O>1.03 OR C>1.03*REF(C,1));绝地反击:IF(VAR2N AND VAR3N,90,0)COLOR00FF00;准备反击:=VAR2N;反击:=VAR2N AND VAR3N;DRAWICON(准备反击,90,1);DRAWICON(反击,90,13);DRAWICON(英雄,90,25);DRAWTEXT(ISLASTBAR,90,'--绝地反击');【通达信】十面埋伏(主力潜伏、主力出逃、出手就赢)-指标公式效果图(文档来源:若水财经社区)。

通达信指标公式大全

通达信指标公式大全

通达信指标公式大全:1.主力大单指标公式ZZ:=(HHV(H,3)+LLV(L,3))/2;A:=IF(C>ZZ,VOL,0);B:=IF(C<ZZ,VOL,0);总0:=(A-B);BBD:EMA(总0,3)/SUM(VOL,5)*100,LINETHICK;STICKLINE(BBD>=0,0,BBD,3,0),COLOR000088;STICKLINE(BBD>=0,0,BBD,1.5,0),COLOR0000AA;STICKLINE(BBD>=0,0,BBD,1,0),COLOR0000CC;STICKLINE(BBD>=0,0,BBD,0.5,0),COLOR0000FF;STICKLINE(BBD<0,0,BBD,3,0),COLOR888800;STICKLINE(BBD<0,0,BBD,1.5,0),COLORAAAA00;STICKLINE(BBD<0,0,BBD,1,0),COLORCCCC00;STICKLINE(BBD<0,0,BBD,0.5,0),COLORFFFF00;XH1:=REF(BBD,1)<REF(BBD,2) AND REF(BBD,1)<-10 AND BBD>REF(BBD,1) AND BBD>0;XH2:=REF(BBD,1)>=REF(BBD,2) AND REF(BBD,1)>8 AND BBD<REF(BBD,1) AND BBD<0;DRAWICON(XH1,-20,1);DRAWICON(XH2,20,2);2.主力控盘指标公式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((VAR6 <= (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;3.通达信资金进出分时指标公式(C,1),C*V,0),FROMOPEN),STICK,COLORRED;资金流出:-SUM(IF(C<REF(C,1),C*V,0),FROMOPEN),STICK,COLOR00FF00;资金差:资金流入+资金流出,COLORYELLOW;4.通达信做T+0的分时公式MA30:=EMA(CLOSE,30);强弱:EMA(CLOSE,900);STICKLINE((MA30>强弱),MA30,强弱,1,0),COLOR0000FF;STICKLINE((MA30<强弱),MA30,强弱,1,0),COLOR00FF00;H1:=MAX(DYNAINFO(3),DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻力:L1+P1*7/8,COLOR00DD00;支撑:L1+P1*0.5/8,COLOR00DD00;现价:CLOSE,COLORWHITE,LINETHICK1;STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLORYELLOW;DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'★B'),COLORYELLOW;{吸} DRAWTEXT(LONGCROSS(现价,阻力,2),现价,'★'),COLORRED;{抛};5.通达信超准分时图指标公式BGTYU:=IF(DATE<=1150530,1,0);GHYJKU:=BETWEEN((DCLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BGTYU)))/SUM(VOL*1 00,BARSCOUNT((DCLOSE*BGTYU)))),1.05,0.95);VBNH:=IF(GHYJKU=0,MA((DCLOSE*BGTYU),BARSCOUNT((DCLOSE*BGTYU))),(SUM(AMOUNT,BARS COUNT((DCLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU)))));底线:1.003,COLORRED,LINETHICK2;高线:1.03,COLORRED,LINETHICK3;黄色起动线:EXPMA((DCLOSE/VBNH),20),COLORYELLOW,POINTDOT;绿色散户线:EXPMA((DCLOSE/VBNH),120),COLORGREEN,LINETHICK2;DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),60),EXPMA((DCLOSE/VBNH),120)),EXPMA((DCLOSE/ VBNH),60)*1,1);DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),120),EXPMA((DCLOSE/VBNH),60)),EXPMA((DCLOSE/ VBNH),120)*1,2);DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),20),1.02),1.02+0.005,18);STICKLINE(CROSS(EXPMA((DCLOSE/VBNH),20),1.02),1.02,1.025,4,0), , COLORMAGENTA; STICKLINE(EXPMA(C,10)>EXPMA(C,60) ,1.03,1.034,1.0,0),COLORRED;STICKLINE(EXPMA(C,10)<EXPMA(C,60) ,1.03,1.025,1.0,0),COLORGREEN;DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),20),1.04),1.04,'可能涨停'),COLORWHITE; STICKLINE(EXPMA((DCLOSE/VBNH),120)>1.003 ,1.03,1.039,1.0,0),COLORMAGENTA; DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),120),1.0029),1.028,'买进'),COLORWHITE; DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),120),1.0029),1.036,'观察分时量 '),COLORWHITE; DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),120),1.004),1.003*1,13);6.通达信观察分时指标公式BG:=IF(DATE<=1150530,1,0);GH:=BETWEEN((DCLOSE*BG)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BG)))/SUM(VOL*100,BARSCOU NT((DCLOSE*BG)))),1.05,0.95);VB:=IF(GH=0,MA((DCLOSE*BG),BARSCOUNT((DCLOSE*BG))),(SUM(AMOUNT,BARSCOUNT((DCLOSE*BG)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BG)))));中线:1,COLORBLUE,LINETHICK2;快趋势线:EXPMA((DCLOSE/VB),21),COLORYELLOW,,LINETHICK1;慢趋势线:EXPMA((DCLOSE/VB),54),COLORGREEN,LINETHICK1;DRAWICON(CROSS(快趋势线,中线),快趋势线,1);DRAWICON(CROSS(慢趋势线,中线) AND (快趋势线>中线),中线-0.002,15);DRAWTEXT(CROSS(EXPMA((DCLOSE/VB),20),1),快趋势线-0.0025,'涨'),COLORRED; DRAWTEXT(CROSS(快趋势线,中线),快趋势线-0.0055,'买进'),COLORYELLOW;DRAWICON(CROSS(快趋势线,慢趋势线),慢趋势线,13);STICKLINE(快趋势线>中线 AND 快趋势线>REF(快趋势线,1) AND 快趋势线>慢趋势线,快趋势线,快趋势线+0.0015,1,0),COLORMAGENTA;DRAWTEXT(CROSS(中线,快趋势线),中线,'注意'),COLORWHITE;DRAWICON(CROSS(慢趋势线,快趋势线),慢趋势线,2);V11:=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(V11,3);V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;BB:= (趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10);CCC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);见顶清仓:= STICKLINE(趋势线>=90 AND V12,中线,快趋势线,2,0),COLORCYAN; DRAWICON(CCC,快趋势线,12);DRAWICON(BB,快趋势线,23);DRAWTEXT (BB,快趋势线,'补仓'),COLORLIRED;7.通达信分时买卖力道指标公式A1:=(VOL/CLOSE)/3;A2:=SUM((IF(((A1>0.29) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);A3:=SUM((IF(((A1>0.29) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);A4:=SUM((IF(((A1<0.29) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);A5:=SUM((IF(((A1<0.29) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);A6:=((A2+A3)+A4)+A5;A7:=IF((ISLASTBAR=1),((100*A2)/A6),0);A8:=((IF((ISLASTBAR=1),((100*A3)/A6),0)));A9:=((IF((ISLASTBAR=1),((100*A4)/A6),0)));A10:=((IF((ISLASTBAR=1),((100*A5)/A6),0)));机构买盘:(A2),LINETHICK0;机构卖盘:(A3),LINETHICK0;散户买盘:(A4),LINETHICK0;散户卖盘:(A5),LINETHICK0;STICKLINE(机构买盘>0 AND 机构买盘>=机构卖盘 AND 机构买盘>=REF(机构买盘,1),20,20+100,1,0),COLORRED;STICKLINE(机构卖盘>0 AND 机构卖盘>=机构买盘 AND 机构卖盘>=REF(机构卖盘,1),20,20+100,1,0),COLORWHITE;STICKLINE(散户买盘>0 AND 散户买盘>=散户卖盘 AND 散户买盘>=REF(散户买盘,1),-20,-20-100,1,0),COLORLIMAGENTA;STICKLINE(散户卖盘>0 AND 散户卖盘>=散户买盘 AND 散户卖盘>=REF(散户卖盘,1),-20,-20-100,1,0),COLORCYAN;VAR2:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*2000;买卖力道: SMA(VAR2,3,1),COLORLIGRAY;VAR3:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));VAR4:=(IF(CLOSE>OPEN,VAR3*(HIGH-LOW),IF(CLOSE<OPEN,VAR3*(HIGH-OPEN+CLOSE-LOW),V OL/2))/(IF(CLOSE>OPEN,0-VAR3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-VAR3*(HIGH-L OW),0-VOL/2))*(-1))-IF(CLOSE>OPEN,0-VAR3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-VAR3*(HIGH-LOW),0-VOL/2))*(-1)/IF(CLOSE>OPEN,VAR3*(HIGH-LOW),IF(CLOSE<OPEN,VAR3 *(HIGH-OPEN+CLOSE-LOW),VOL/2)));VAR5:=AMOUNT/(100*VOL);VAR6:=MA(VAR5,40);VAR7:=100*(CLOSE-VAR6)/VAR6;底部追击:= IF(VAR4>0 AND VAR7<-12 AND CLOSE/OPEN>1.08,300,200),COLORGREEN; STICKLINE(VAR4>0 AND VAR7<-12 AND CLOSE/OPEN>1.08,1200,200,10,0) , COLORGREEN; VAR8:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;VAR9:=SMA(VAR8,3,1);VARA:=SMA(VAR9,3,1);D: SMA(VARA,5,1)*20, COLORCYAN;V11:=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(V11,3);V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;BB:(趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10);买入股票:= (趋势线<=13 AND V12>13),COLORRED;CCC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);清仓:=FILTER(趋势线>=90 AND V12 AND CROSS(D,买卖力道),5),COLORYELLOW;卖出区: 清仓+1800,COLORYELLOW;中:(0+卖出区)/2, COLORGREEN;{股旁网-股票公式网站 }STICKLINE(买卖力道>=中 AND 买卖力道>=REF(买卖力道,1),中,买卖力道+中/10,0,0),COLORMAGENTA;STICKLINE(买卖力道>=中 AND 买卖力道< REF(买卖力道,1),中,买卖力道+中/10,0,0),COLORBROWN;STICKLINE(买卖力道<中 AND 买卖力道>=REF(买卖力道,1),中,买卖力道-中/10,0,0),COLORGREEN;STICKLINE(买卖力道<中 AND 买卖力道< REF(买卖力道,1),中,买卖力道-中/10,0,0),COLORBLUE;DRAWICON(买入股票,中,15);DRAWTEXT (BB,0,'买股'),COLORYELLOW;DRAWTEXT(清仓,买卖力道,'顶'),COLORYELLOW;STICKLINE(清仓,买卖力道,买卖力道+0.01,2,0),COLORBLUE; DRAWICON(CROSS(D,中),中,13);DRAWICON(CROSS(中,买卖力道),买卖力道,2);DIF:=(EMA(CLOSE,13) - EMA(CLOSE,24));DEA:=(EMA(DIF,6));MACD:=(DIF-DEA)*3;红线:=IF(MACD>=0 AND MACD>REF(MACD,1),中,DRAWNULL);青线:=IF(MACD>=0 AND MACD< REF(MACD,1),中,DRAWNULL);粉线:=IF(MACD<0 AND MACD>=REF(MACD,1),中,DRAWNULL);蓝线:=IF(MACD<0 AND MACD< REF(MACD,1),中,DRAWNULL); STICKLINE(红线,200,250,1,0),COLORRED,LINETHICK1;STICKLINE(青线,200,250,1,0),COLORCYAN,LINETHICK1;STICKLINE(粉线,200,250,1,0),COLORMAGENTA,LINETHICK1; STICKLINE(蓝线,200,250,1,0),COLORBLUE,LINETHICK1;DRAWICON(CROSS((A2),(A3)),200,23);通达信如何使用分时指标的教程找到通达信软件的安装位置,打开“T0002”文件夹,找到“user.ini”文件,用记事本打开,把里面“Zstzb=MACD”这一句中的MACD修改为自己要用的指标名称就OK啦。

通达信看清主力资金指标公式

通达信看清主力资金指标公式

通达信看清主力资金指标公式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(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(REF(ZSHTL,1)>90 ANDZSHTL75,ZZLKP,0,3,0),COLORFFFFFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,3,0),COLO RRED;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,1 5))*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),COLOR00009 9;STICKLINE(TGLXS>0,150,150+TGLXS,2,0),COLOR0000A A;STICKLINE(TGLXS>0,150,150+TGLXS,1.5,0),COLOR0000 BB;STICKLINE(TGLXS>0,150,150+TGLXS,1.0,0),COLOR0000 DD;STICKLINE(TGLXS>0,150,150+TGLXS,0.5,0),COLOR0000F F;STICKLINE(TGLXS<0,150,150+TGLXS,3,0),COLOR008800;STICKLINE(TGLXS<0,150,150+TGLXS,2.5,0),COLOR00AA 00;STICKLINE(TGLXS=0,150,150+TGLXS,8,0),COLORRED;STICKLINE(TGLXS=0 ANDREF(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 AND100+TGLXS=REF(TYCFX,1),0,(100+ABS(TGLXS)),0,0),CO LORYELLOW;STICKLINE(TGLXS=TYCFX AND100+REF(TGLXS,1)REF(ZCMZL,1) AND DKB=0);T3:=CONST( ZCMZL=REF(ZCMZL,1));T4:=CONST( ZCMZL50 AND TFXXS=REF(TFXXS,1) AND TFXXS>100);T10:=CONST(TFXXS>50 AND TFXXS100 );T11:=CONST(TFXXS>50 AND TFXXSREF(ZCMZL,1) );T15:=CONST(CROSS(ZCMZL,ZZLKP) AND ZZLKP>ZZLJJ AND ZZLKP10 AND ZZLJJ>REF(ZZLJJ,1) AND ZCMZL>REF(ZCMZL,1) );T16:=CONST( CROSS(ZCMZL,ZSHTL) ANDZSHTL>ZZLKP AND ZCMZL>REF(ZCMZL,1));T17:=CONST( CROSS(ZCMZL,100) ANDZCMZL>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;。

通达信主力资金进入指标公式

通达信主力资金进入指标公式

通达信主力资金进入指标公式【控盘、出货、吸货、对倒出货洗盘、黄色底部吸货、多头买入、多头卖出】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,'买。

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

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

主力持仓: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 ANDTAI3> 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.04AND 观望期=0 AND C>REF(C,1),1),46,23);DRAWICON(REF("KDJ.J",1)<0 AND "KDJ.J">0 AND TAI1>=TAI2 ANDTAI3>TAI4,36,23),COLORYELLOW;。

通达信指标公式源码最新主力统计跟风统计散户统计指标

通达信指标公式源码最新主力统计跟风统计散户统计指标

通达信指标公式源码最新主力统计跟风统计散户统计指标通达信是一种常用的股票分析软件,提供了丰富的技术指标供投资者使用。

其中最新主力统计、跟风统计和散户统计指标是广泛使用的指标之一、这些指标可以帮助投资者分析资金的流向,判断市场趋势。

1.最新主力统计指标:最新主力统计指标是一种短期资金流向的指标,用于判断主力资金的进出情况。

通常包括主力买入量、主力卖出量、主力净买量和主力买入比率等指标。

这些指标可以反映出主力资金的动向,对于判断市场的短期走势具有重要意义。

最新主力统计指标的公式源码如下:量能=(主力买入量+主力卖出量)/2主力净买量=(主力买入量-主力卖出量)主力买入比率=100*主力买入量/量能2.跟风统计指标:跟风统计指标是一种中期资金流向的指标,用于判断跟风资金的进出情况。

常用的跟风统计指标包括散户买入量、散户卖出量、散户净买量和散户买入比率等。

这些指标可以帮助投资者了解散户资金的行为,对于判断市场的中期走势具有指导意义。

跟风统计指标的公式源码如下:跟风力度=(散户买入量-散户卖出量)散户买入比率=100*散户买入量/量能总资金流向=主力净买量+散户净买量3.散户统计指标:散户统计指标是一种长期资金流向的指标,用于判断散户资金的进出情况。

常用的散户统计指标有散户持股集中度、散户持股占比、散户买入周期等。

这些指标可以帮助投资者分析散户资金的投资心理,预测市场的长期走势。

散户统计指标的公式源码如下:散户持股集中度=100*散户持股数量/总市值散户持股占比=100*散户持股数量/总流通股本散户买入周期=散户持股数量/散户买入量以上是通达信最新主力统计、跟风统计和散户统计指标的公式源码。

这些指标在股票投资分析中非常有用,可以帮助投资者更好地把握市场的走势和资金动向,做出更准确的决策。

通达信公式-主力资金指标

通达信公式-主力资金指标

通达信公式-主力资金指标主力资金指标/操盘线/筹码指标极品中的极品通达信公式-主力资金指标这个是我自己在用的通达信指标。

----------------------------------说明:1.这个指标是给通达信软件用的。

2.这个指标包含3部分,主图,副图趋势,选股系统。

3.公式新建办法:功能,专家系统,公式管理器,用户,其他,新建。

----------------------------------主图部分:复制到公式区,名称随意(比如主图),主图叠加主图说明:1、当天进出价位均用白色线显示,(只显示当天和变盘的那一天),其余时间表示趋势未变。

向上突破白色线进入,向下破位白色线必出,必须严格执行;2、当天发生变盘分别用黄色K线和绿色K 线提示;3、进出价位分别用红线和绿线表示,第二天显示,未显示之前请参考短白色线,与红线和绿线价位一样;4、本指标请配合成交量使用,在向上与向下趋势中使用有较好的效果,能有效抓住主升段;5、本指标适于中小波段,不适用于上市不到20天的次新股和猴市(震荡市);6、本指标源码简单,与个人理念相符,实际上就是以均线斜率反映趋势;7、本指标与1-3号主图不同的特质就是标明了进出价位线,趋势也很明显,绿线下是空仓区,红线上是持股区。

工作线在生命线之上才适合操作(红色“工作区”);线上阴线买入,买错了也要买;线下阳线卖出,卖错了也要卖——指工作线(回抽买入,越接近均线越好);连续两日跌破止赢线短线卖出(绿箭头,中短线以上不管);跌破工作线止损,跌破生命线逃命。

使用:在主图区右键,主图指标,选择主图指标,选你的那个比如主图-----------主图代码----------A1:=EMA(C,14)COLORWHITE,LINETHICK1;A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;出击:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1 ),DRAWNULL)COLORRED,LINETHICK1;休假:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1), DRAWNULL)COLORGREEN,LINETHICK1; STICKLINE(CROSS(A1X,0),C,O,2,0)COLORYELLOW; STICKLINE(CROSS(0,A1X),C,O,2,0)COLORGREEN; STICKLINE(CROSS(A1X,0)ORCROSS(0,A1X),REF(EMA(C,14),1),REF(EMA(C,14),1)*0.998,2,0 )COLORWHITE;STICKLINE(ISLASTBAR,REF(EMA(C,14),1),REF(EMA(C,14), 1)*0.998,5,0)COLORWHITE;工作线:=EMA(C,14);止盈线:EMA(C,7),LINETHICK1,COLORGRAY;工作区:IF(C>=工作线AND EMA(C,14)>=EMA(C,25),工作线,DRAWNULL), COLORRED,LINETHICK2;{准备区:IF(C>=工作线AND EMA(C,14)}准备区:IF(C>=工作线AND EMA(C,14)休息区:IF(CEMA(C,14),L*0.99,1);{DRAWICON(COUNT(CEMA(C,14) AND COUNT(C>止盈线,6)>=3,H*1.03,2); }DRAWICON(COUNT(CEMA(C,14) AND COUNT(C>止盈线,6)>=3,H*1.03,2);DRAWICON(CROSS(工作线,C) ANDEMA(C,14)>EMA(C,25),H*1.01,8);{止损位}IF(CROSS(生命线,工作线),HIGH*1.04,DRAWNULL),CIRCLEDOT,COLORGREEN; --------------------------副图部分,复制到公式区,名称随意(比如副图),副图使用:在副图区右键,指标,选择指标,选你的那个比如副图注意主力持仓线,和散筹。

【股票指标公式下载】-【通达信】买卖副图1(主力、游资、警戒线)

【股票指标公式下载】-【通达信】买卖副图1(主力、游资、警戒线)

【通达信】买卖副图1(主力、游资、警戒线)-指标公式源码A:=IF((CLOSE > 126.32),(AMOUNT / 100000),VOL);主力:MA(A,4),NODRAW,COLOR00FFFF;游资:MA(A,8),NODRAW,COLOR00FF00;大户:MA(A,16),NODRAW,COLOR0000FF;散户:MA(A,32),NODRAW,COLORFFFF00;主动参与比例:ROUND(((主力 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLOR00FFFF;游资参与比例:ROUND(((游资 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLOR00FF00;大户参与比例:ROUND(((大户 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLOR0000FF;散户参与比例:ROUND(((散户 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLORFFFF00;警戒线:MA(A,180),COLORFF00FF;STICKLINE((主力 > 0),0,主力,3,0),COLOR0000FF;STICKLINE((主力 > 0),0,主力,2.7.5,0),COLOR001BFF;STICKLINE((主力 > 0),0,主力,2.4,0),COLOR0035FF;STICKLINE((主力 > 0),0,主力,2.1,0),COLOR0050FF;STICKLINE((主力 > 0),0,主力,1.8,0),COLOR0062FF;STICKLINE((主力 > 0),0,主力,1.5,0),COLOR007AFF;STICKLINE((主力 > 0),0,主力,1.2,0),COLOR0089FF;STICKLINE((主力 > 0),0,主力,0.9,0),COLOR009CFF;STICKLINE((主力 > 0),0,主力,0.6,0),COLOR00C0FF;STICKLINE((主力 > 0),0,主力,0.3,0),COLOR00EAFF;STICKLINE((游资 > 0),0,游资,3,0),COLOR007F00;STICKLINE((游资 > 0),0,游资,2.7,3),COLOR008B00;STICKLINE((游资 > 0),0,游资,2.4,0),COLOR009500;STICKLINE((游资 > 0),0,游资,2.1,0),COLOR00A300;STICKLINE((游资 > 0),0,游资,1.8,0),COLOR00AF00;STICKLINE((游资 > 0),0,游资,1.5,0),COLOR00C000;STICKLINE((游资 > 0),0,游资,1.2,0),COLOR00CA00;STICKLINE((游资 > 0),0,游资,0.9,0),COLOR00DB00;STICKLINE((游资 > 0),0,游资,0.6,0),COLOR00FF00;STICKLINE((大户 > 0),0,大户,3,0),COLOR102088;STICKLINE((大户 > 0),0,大户,2.7,0),COLOR102099;STICKLINE((大户 > 0),0,大户,2.4,0),COLOR1020AA;STICKLINE((大户 > 0),0,大户,2.1,0),COLOR1020BB;STICKLINE((大户 > 0),0,大户,1.8,0),COLOR1020CC;STICKLINE((大户 > 0),0,大户,1.5,0),COLOR1020DD;STICKLINE((大户 > 0),0,大户,1.2,0),COLOR1020EE;STICKLINE((大户 > 0),0,大户,0.9,0),COLOR1020FF;STICKLINE((散户 > 0),0,散户,3,0),COLORFF7700;STICKLINE((散户 > 0),0,散户,2.7,0),COLORFF8800;STICKLINE((散户 > 0),0,散户,2.4,0),COLORFF9900;STICKLINE((散户 > 0),0,散户,2.1,0),COLORFFAA00;STICKLINE((散户 > 0),0,散户,1.8,0),COLORFFBB00;STICKLINE((散户 > 0),0,散户,1.5,0),COLORFFCC00;STICKLINE((散户 > 0),0,散户,1.2,0),COLORFFDD00;STICKLINE((散户 > 0),0,散户,0.9,0),COLORFFEE00;【通达信】买卖副图1(主力、游资、警戒线)-指标公式效果图(文档来源:若水财经社区)。

通达信主力资金进入指标公式

通达信主力资金进入指标公式

通达信主力资金进入指标公式【控盘、出货、吸货、对倒出货洗盘、黄色底部吸货、多头买入、多头卖出】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,'买。

【股票指标公式下载】-【通达信】三合一指标(主力撤、主力进、资金进场、资金撤走)

【股票指标公式下载】-【通达信】三合一指标(主力撤、主力进、资金进场、资金撤走)

【通达信】三合一指标(主力撤、主力进、资金进场、资金撤走)-指标公式源码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),COLORBLUE;主力进: IF(V4>=0,V4,0),COLORFF00FF;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;资金撤走:IF(VB<=0,VB,0),COLORGREEN;V11:=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(V11,3);V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;准备现金: STICKLINE(趋势线<=13,0,20,5,0),COLORCC9900;AA:=(趋势线<=13) AND FILTER((趋势线<=13),15);DRAWTEXT (AA,30,'准备现金'),COLORCC9900;买入股票: STICKLINE(趋势线<=13 AND V12>13,0,50,5,0),COLOR0099FF; BB:= (趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10) ; DRAWTEXT (BB,60,'买入股票'),COLOR0099FF;卖临界: STICKLINE(趋势线>90 AND 趋势线>REF(趋势线,1),100,95,15,1),COLORFFFF00;见顶清仓:FILTER(趋势线>90 AND 趋势线<REF(趋势线,1) AND 主力进<REF(主力进,1),8);DRAWTEXT( 见顶清仓,90,'逃顶'),COLORYELLOW;CC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10); STICKLINE(资金进场 AND 趋势线<13,0,30,10,0),COLORRED;STICKLINE(资金撤走 AND 趋势线>90,0,30,10,0),COLORGREEN;STICKLINE(主力进 AND 趋势线<13,0,40,10,0),COLORFF00FF;STICKLINE(主力撤 AND 趋势线>90,0,40,10,0),COLORBLUE;{N:5,250,14;}K:=N/2;VP1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;VP2:=SMA(SMA(VP1,3,1),3,1);VP3:=EMA(VP2,5);无敌:=3*VP2-2*VP3;超级无敌:IF(CROSS(无敌,VP2) AND 无敌<21,10,0),COLORFF00FF,LINETHICK1;VARF1:=MA(HHV(HIGH,485),17);VARF2:=MA(HHV(HIGH,222),17);VARF3:=MA(HHV(HIGH,96),17);VARF4:=MA(LLV(LOW,485),17);VARF5:=MA(LLV(LOW,222),17);VARF6:=MA(LLV(LOW,96),17);VARF7:=MA((VARF4*0.96+VARF5*0.96+VARF6*0.96+VARF1*0.558+VARF2*0.558+V ARF3*0.558)/6,17);VARF8:=MA((VARF4*1.25+VARF5*1.23+VARF6*1.2+VARF1*0.55+VARF2*0.55+VARF 3*0.65)/6,17);VARF9:=MA((VARF4*1.3+VARF5*1.3+VARF6*1.3+VARF1*0.68+VARF2*0.68+VARF3* 0.68)/6,17);VARFA:=MA((VARF7*3+VARF8*2+VARF9)/6*1.738,17);VARFB:=IF(C=C,VARFA,VARFA*DAY);VARFC:=LOW;VARFD:=REF(LOW,1);VARFE:=SMA(ABS(VARFC-VARFD),3,1)/SMA(MAX(VARFC-VARFD,0),3,1)*100; VARFF:=MA(IF(CLOSE*1.35<=VARFB,VARFE*10,VARFE/10),3);VARF10:=LLV(LOW,30);VARF11:=HHV(VARFF,30);绝佳买点:IF(C=C,MA(IF(LOW<=VARF10,(VARFF+VARF11*2)/2,0),3),100000000)/(200) ,COLORRED,LINETHICK2;I:=IF(CLOSE<REF(CLOSE,1),0,VOL/CAPITAL);【通达信】三合一指标(主力撤、主力进、资金进场、资金撤走)-指标公式效果图 (文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】改良主力追踪(主力动向、机构动向)

【股票指标公式下载】-【通达信】改良主力追踪(主力动向、机构动向)

【通达信】改良主力追踪(主力动向、机构动向)-指标公式源码V1:=(C*3+H+L)/5*10;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5);V4:=2*(V2-V3)*5.5;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;0;主力动向:EMA(V4,2),COLORRED;机构动向:EMA(VB,2),COLORMAGENTA;(SLOPE(主力动向,2)>0 AND SLOPE(机构动向,2)>0,主力动向),COLORRED,LINETHICK4;(SLOPE(主力动向,2)<0,主力动向),COLORGREEN,LINETHICK3;(SLOPE(机构动向,2)>0 AND SLOPE(主力动向,2)>0,机构动向),COLORMAGENTA,LINETHICK4;(SLOPE(机构动向,2)<0,机构动向),COLORWHITE,LINETHICK2;ZLCM:=EMA(WINNER(CLOSE)*70,3);SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);ZZLKP:=ZLCM/(ZLCM+SHCM)*100;ZZLJJ:=EMA(ZZLKP,89);ZJLRQD:=ZZLKP-ZZLJJ;AA:=EMA(ZJLRQD,1);BB:=EMA(AA,5);CC:=AA-BB;STICKLINE(CC<REF(CC,2),CC,0,5,1), COLOR00FF00;STICKLINE(CC>REF(CC,2),CC,0,5,1), COLORRED;主力资金试盘:IF(CROSS(AA,BB),3,0),STICK,LINETHICK4,COLOR0080FF;主力对倒出货:IF(CROSS(BB,AA),-3,0),STICK,LINETHICK4,COLOR00FF00;DRAWICON(主力资金试盘>0,5,4);DRAWICON(主力对倒出货<0,-4,2);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),5);惨跌:STICKLINE(VAR5>REF(VAR5,1),0,VAR5,7,0 ),COLORMAGENTA;主力拉升:STICKLINE(VAR5<REF(VAR5,1),0,VAR5,7,0),COLORRED;{红}洗盘阴:STICKLINE(VAR5<REF(VAR5,1) AND C<O,0,VAR5,7,0),COLORBLUE; 【通达信】改良主力追踪(主力动向、机构动向)-指标公式效果图(文档来源:若水财经社区)。

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

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

首先申明有未来函数WINNER,担心的慎用。

主力筹码:=IF(C<0,0,EMA(WINNER(CLOSE)*70,3));散户筹码:=IF(C<0,0,EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3));散户持仓:IF(C<0,0,散户筹码/(主力筹码+散户筹码)*100),COLORGREEN,NODRAW;主力持仓:IF(C<0,0,主力筹码/(主力筹码+散户筹码)*100),COLORRED,NODRAW;散户资金:=IF(C<0,0,EMA(散户持仓,89));主力资金:=IF(C<0,0,EMA(主力持仓,89));资金流入强度:IF(C<0,0,INTPART(主力持仓-主力资金)),NODRAW,COLOR0000FF;SH8:=IF(C<0,0,EMA(散户持仓,8));STICKLINE(CLOSE>0,散户持仓,主力持仓,1,0),COLORGRAY;STICKLINE(散户资金>REF(散户资金,1),散户持仓,散户资金,1,0),COLORWHITE; STICKLINE(CLOSE>0,主力持仓,0,1,0),COLORBROWN;STICKLINE(主力持仓>75,主力持仓,0,1,0),COLORRED;STICKLINE(主力资金>REF(主力资金,1),主力持仓,主力资金,1,0),COLORLIMAGENTA;STICKLINE(散户持仓>=90,主力持仓,0,1,0),COLORGREEN; STICKLINE(REF(散户持仓,1)>90 AND 散户持仓<90,0,散户持仓,1,0),COLORYELLOW;主力介入:REF(散户持仓,1)>90 AND 散户持仓<90,NODRAW;筹码总量:IF(C<0,0,MA(主力筹码+散户筹码,13)),NODRAW;筹码绿:IF(CLOSE>0,筹码总量,DRAWNULL),COLORGREEN,LINETHICK2; 筹码红:IF(筹码总量>REF(筹码总量,1),筹码总量,DRAWNULL),COLORRED,LINETHICK2;资金流入:IF(主力资金>REF(主力资金,1),主力持仓,DRAWNULL),COLORMAGENTA,NODRAW;DRAWTEXT(筹码总量>REF(筹码总量,1) AND SH8<REF(SH8,1) AND ISLASTBAR,筹码总量,'←增量资金');选股:COUNT(主力介入=1,3) AND 筹码红AND 资金流入,NODRAW,COLORYELLOW;。

通达信主力控盘指标公式

通达信主力控盘指标公式

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,'买。

通达信指标公散户庄家指标

通达信指标公散户庄家指标

EMA13:=EMA(C,13),COLORWHITE;EMA21:=EMA(C,21),COLORYELLOW;EMA34:=EMA(C,34),COLORFF00FF;EMA60:=MA(C,60),COLORFFCC66;VAR2:=(2*CLOSE+HIGH+LOW)/4;VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4);散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3;庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3;DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.05,'←观望'),COLORLIRED; DRAWTEXT(CROSS(庄家,散户) AND 散户>70,H+0.05,'←离场'),COLORGREEN; DRAWICON(CROSS(散户,庄家) AND 散户<30,L-0.05,1);DRAWICON(CROSS(庄家,散户) AND 散户>70,H+0.05,2);VAR9:=CLOSE-REF(CLOSE,5);VARA:=EMA(EMA(VAR9,5),5)/EMA(EMA(ABS(VAR9),5),5);VARC:=EMA(EMA(VAR9,20),20)/EMA(EMA(ABS(VAR9),20),20);卖出:=IF(VARA>0 AND CROSS(VARC,VARA),90,100);DRAWICON(卖出<0,H+0.05,2); 买线:=EMA(CLOSE,2);卖线:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);B1:IF(CROSS(买线,卖线),L-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORMAGENTA;S1:IF(CROSS(80,RSI)*30,H+0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLO RYELLOW;VC:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA( CLOSE,24)*100+(CLOSE-MA (CLOSE,32))/MA(CLOSE,32)*100)/3;S2:=IF(VC>20 AND FILTER(VC<REF(VC,1),5),H+0.02,DRAWNULL),CIRCLEDOT,LINETHICK3,COLORGREEN; A0:=(L+H+C*2)/4;A1:EMA(A0,14)COLORBLUE,LINETHICK2;A2:=EMA(A0,25)COLORLIBLUE,LINETHICK2;A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;A2X:=(A2-REF(A2,1))/REF(A2,1)*100,NODRAW;STICKLINE(CROSS(A1X,0),H,L,0,0 ),COLOR9933FF;STICKLINE(CROSS(A1X,0),C,O,3,0 ),COLOR0000CC;STICKLINE(CROSS(A1X,0),C,O,1,0 ),COLOR0033FF;STICKLINE(CROSS(0,A1X),L,H,0,0 ),COLOR66CC33;STICKLINE((EMA(CLOSE,2) >=EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),LO W,HIGH,0.1,0),COLOR0000FF;STICKLINE((EMA(CLOSE,2)>=EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CL OSE,OPEN,3,0),COLOR0000AA;STICKLINE((EMA(CLOSE,2)>=EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CL OSE,OPEN,2,0),COLOR0000CC;STICKLINE((EMA(CLOSE,2)<EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLO SE,OPEN,2,0),COLORCCCC00;STICKLINE((EMA(CLOSE,2)<EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLO SE,OPEN,3,0),COLORAAAA00;STICKLINE((EMA(CLOSE,2)<EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),LOW ,HIGH,0.1,0),COLORFFFF00;STICKLINE((CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42 )) ORCROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2))),LOW,HIG H,0.1,0),COLOR00FFFF;STICKLINE((CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42 )) ORCROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2))),OPEN,CL OSE,3,0),COLOR00AAAA;STICKLINE((CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42 )) ORCROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2))),OPEN,CL OSE,2,0),COLOR00CCCC;MAA5:MA(C,5);MAA10:=MA(C,10);MAA30:MA(C,30);KS:IF(MAA10>MAA30,MAA10,MAA30),COLORBLUE;A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;A4:=SMA(A3,3,1);A5:=SMA(A4,3,1);A6:=3*A4-2*A5;A7:=C-REF(C,1);A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2)); DRAWTEXT(FILTER(买=1,5),LOW-0.05,' 买入'),COLORYELLOW;。

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