【股票指标公式下载】-【通达信】资金建仓(主力秘密筹码)
通达信指标公式源码主力建仓指标公式.docx
通达信主力建仓指标公式觉得好就鉴别地用。
耐心,耐心会有好结果的。
Rl:=EMA(HHV(HIGH,500),21);R2: = EMA(HHV(HIGH,250),21);R3: = EMA(HHV(HIGH,90),21);R4:=EMA(LLV(LOW Z500),21);R5: = EMA(LLV(LOW,250),21);R6:=EMA(LLV(LOW,90),21);R7: = EMA((R4*0・96+R5*0・96+R6*0・96+Rl*0・558+R2*0・558+R3*0・558)/6,21);R8: = EMA((R4*l・25+R5*l・23+R6*l・2+Rl*0・55+R2*0・55+R3*0・65)/6,21);R9: = EMA((R4*l・3+R5*l・3+R6*l・3+Rl*0・68+R2*0・68+R3*0・68)/6/21);RA:=EMA((R7*3+R8*2+R9)/6*1・738,21);RB: = REF(LOW,1);RC:=SMA(ABS(LOW-RB)z3,l)/SMA(MAX(LOW-RB z O)z3z l)*100;RD:=EMA(IF(CLOSE*1.35<=RA Z RC*10,RC/10),3);RE:=LLV(LOW,30);RF:=HHV(RD,30);R10:=IF(MA(CLOSE,58\l,0);主力建仓:EMA(IF(LOW<=RE/RD+RF*2)/2,0),3)/618*R10Z COLORSTICK;V1:=MA(V,5);V2:=MA(V,10);W1:=REF(ABS(V1-V2)/V2,1);W9:=Wl<0.05 AND REF(C Z1)>REF(O Z2);W2:=REF(C,2)>REF(O Z3);W3:=C<0;W4:=REF(V,2)<REF(V,1);搭下阳:W9 AND W2 AND W3 AND W4 AND MA(C z10)>REF(MA(C,10),l) AND MA(C,20)>REF(MA(C,20),1);W5:=ABS(Vl-V2)/V2<0.05 AND V2>V1;W6:=W5 AND C<0;W7:=REF(W5,1) AND C<0;W8:=REF(V Z1)<V;上叉阴:W5 AND W6 AND W7 AND W8 AND MA(C Z5)<REF(MA(C,5),1) ANDMA(C, 10)<REF(MA(C, 10), 1) AND MA(C,20)<REF(MA(C z20)z l);MA5: = MA(C,5);MA10: = MA(C,10);MA20: = MA(C,20);YHD:=COUNT(REF(MA10vMA20,3),16)x15 AND COUNT(MA5>MA10,3)>2;小金角:YHD AND CROSS(MA10,MA20)AND MA20>REF(MA20,l);MA62: = MA(C,62);V3:=V>REF(V,1);大金角:CROSS(MA20,MA62)AND MA62>REF(MA62,1) AND COUNT(V3,3)>2; MA4: = MA(C,4);L1:=V>REF(V,1);V4:=COUNT(CROSS(MA10,MA20)/15);V5:=C<REF(CLOSE,1) AND REF(CLOSE, 1)<REF(CL0SE,2);V6:=V4=1 AND V5 AND MA10>C AND C>MA20 AND SLOPE(MA20,4)>0 AND SLOPE(MA10,3)>0;小金边:REF(V6,2)=1 AND MA4>REF(MA4,1) AND LI;V7:=V>REF(V,1);DJJ:=CROSS(MA20,MA62)AND MA62>REF(MA62,1) AND COUNT(V7,3)>2;大金边:COUNT(DJJ,30)>0 AND C<MA20 AND C>MA62 ANDMA62>REF(MA62Z1);DIF:=EMA(CL0SE,12)・ EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=2*(DIF-DEA), COLORSTICK丄INETHICK2;MACD 骑墙:DIF>=0 AND CROSS(DIFQEA) AND V/MA(V,5)>1.5;MA60: = MA(C,60);半山水库:CROSS(MA20,MA60) AND MA60>REF(MA60,l);A1: = BARSLAST(REF(CROSS(DIF,DEA),1) AND MACD<0);隔谷底背:REF(CLOSE,A1+1)>CLOSE AND DIF>REF(DIF,A1+1) ANDCROSS(DIF,DEA) AND MACD>0;W10: = MA10>REF(MA10z l);Wll: = MA20>=REF(MA20,l);W12:=V>MA(V,5);金足底:(MA4vMA20 AND MA4>=REF(MA4,1) AND C>MA4 AND W10 AND Wil AND W12);M5:=MA(CLOSE Z5);M4:=MA(CLOSE,4);MA3: = MA(CLOSE,3);VOL5:=MA(VOL,5);雨青抄底:M5>M4 AND SLOPE(M5,5)<0 AND SLOPE(M4,4)<0 AND SLOPE(MA3Z3) AND REF(M4>MA3Z1) AND CROSS(MA3,M4) AND VOL>VOL5;VARI:=SLOPE(MA20,3)>0;VAR2:=ABS(SLOPE(MA62,3))<0.19;VAR3:=SLOPE(MA62,3)>REF(SLOPE(MA62,3),1);V8:=MA62vMA20;V9:=COUNT(CROSS(MA20,MA62),10);海豚欲张嘴:C>MA62 AND C<REF(CLOSE,1) AND REF(CLOSE,l)vREF(CLOSE,2) AND VARI AND VAR2 AND VAR3 AND V8 AND V9=l;A4:=MA(C,4);A20:=MA(C z20);A62:=MA(C,62);海豚张嘴1:CROSS(A20,A62)AND A20>REF(A20,l)ANDCOUNT(A4/A20>1.05,10)>5 AND ABS(A4/A20-l)<0.02 AND V/MA(V,5)>1.5; AR1:=EMA(CLOSE Z12)-EMA(CLOSE,26);AR2:=EMA(AR1,9);AR3:=AR1-AR2;AR4:=MA(CLOSE,4);AR5:=MA(CLOSE Z20);AR6:=MA(CLOSE,62);AR7:=LLVBARS(AR4,4);AR8:=LLVBARS(AR6,30);AR9:=COUNT(AR7=1,10);海豚张嘴2:3<AR8<29 AND AR7=1 AND AR4>AR5 AND AR5>AR6 ANDAR3>-0.022 AND AR9=1 AND SLOPE(AR6,5)<0.035;。
【股票指标公式下载】-【通达信】十面埋伏(主力潜伏、主力出逃、出手就赢)
【通达信】十面埋伏(主力潜伏、主力出逃、出手就赢)-指标公式源码{主力潜伏}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,'--绝地反击');【通达信】十面埋伏(主力潜伏、主力出逃、出手就赢)-指标公式效果图(文档来源:若水财经社区)。
通达信主力资金进入指标公式
通达信主力资金进入指标公式【控盘、出货、吸货、对倒出货洗盘、黄色底部吸货、多头买入、多头卖出】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,'买。
通达信公式-主力资金指标
通达信公式-主力资金指标主力资金指标/操盘线/筹码指标极品中的极品通达信公式-主力资金指标这个是我自己在用的通达信指标。
----------------------------------说明: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; --------------------------副图部分,复制到公式区,名称随意(比如副图),副图使用:在副图区右键,指标,选择指标,选你的那个比如副图注意主力持仓线,和散筹。
通达信真实筹码主图指标公式
通达信真实筹码主图指标公式{以色带表示筹码的密集度:蓝色表示短筹密集,青黄色表示大量筹码沉淀,此时要密切关注股价突破方向和成交量配合。
在上升趋势中,还能用来寻找起爆点哟,当出现筹码高度密集信号时,关注股价是否启涨出现数阴包前阳,或能量不济多为假突破突破密筹区需要巨量配合假突破是无法滤去的,因为很可能是庄家想拉,但发现阻力很大,转而变成震荡洗盘;或者大盘不配合,庄家选择弃庄(形成顶部)。
}W00:=COST(1);W10:=COST(10);W20:=COST(20);W30:=COST(30);W40:=COST(40);W50:=COST(50);W60:=COST(60);W70:=COST(70);W80:=COST(80);W90:=COST(90);W100:=COST(99);W5:=COST(5);W15:=COST(15);W25:=COST(25);W35:=COST(35);W45:=COST(45);W55:=COST(55);W65:=COST(65);W75:=COST(75);W85:=COST(85);W95:=COST(95);C5:=W5-W00;C10:=W10-W5;C15:=W15-W10;C20:=W20-W15;C25:=W25-W20;C30:=W30-W25;C35:=W35-W30;C40:=W40-W35;C45:=W45-W40;C50:=W50-W45;C55:=W55-W50;C60:=W60-W55;C65:=W65-W60;C70:=W70-W65;C75:=W75-W70;C80:=W80-W75;C85:=W85-W80;C90:=W90-W85;C95:=W95-W90;C100:=W100-W95;ZX:=MIN(C5,MIN(C10,MIN(C15,MIN(C20,MIN(C25,MIN(C30, MIN(C35,MIN(C40,MIN(C45,MIN(C50,MIN(C55,MIN(C60,MIN(C6 5,MIN(C70,MIN(C75,MIN(C80,MIN(C85,MIN(C90,MIN(C95,C100) ))))))))))))))))));STICKLINE(ZX=C5,W00,W5,5,0),COLORFF8800;STICKLINE(ZX=C10,W10,W5,5,0),COLORFF8800;STICKLINE(ZX=C15,W15,W10,5,0),COLORFF8800;STICKLINE(ZX=C20,W20,W15,5,0),COLORFF8800;STICKLINE(ZX=C25,W25,W20,5,0),COLORFF8800;STICKLINE(ZX=C30,W30,W25,5,0),COLORFF8800;STICKLINE(ZX=C35,W35,W30,5,0),COLORFF8800; STICKLINE(ZX=C40,W40,W35,5,0),COLORFF8800; STICKLINE(ZX=C45,W45,W40,5,0),COLORFF8800; STICKLINE(ZX=C50,W50,W45,5,0),COLORFF8800; STICKLINE(ZX=C55,W55,W50,5,0),COLORFF8800; STICKLINE(ZX=C60,W60,W55,5,0),COLORFF8800; STICKLINE(ZX=C65,W65,W60,5,0),COLORFF8800; STICKLINE(ZX=C70,W70,W65,5,0),COLORFF8800; STICKLINE(ZX=C75,W75,W70,5,0),COLORFF8800; STICKLINE(ZX=C80,W80,W75,5,0),COLORFF8800; STICKLINE(ZX=C85,W85,W70,5,0),COLORFF8800; STICKLINE(ZX=C90,W90,W85,5,0),COLORFF8800; STICKLINE(ZX=C95,W95,W90,5,0),COLORFF8800; STICKLINE(ZX=C100,W100,W95,5,0),COLORFF8800;筹宽:=W100-W00;J90:=W90-W60;J80:=W80-W50;J70:=W70-W40;J60:=W60-W30;J50:=W50-W20;J40:=W40-W10;J30:=W30-W00;STICKLINE(J90/筹宽<0.08,W90,W60,5,0),COLOR74D9A4; STICKLINE(J80/筹宽<0.08,W80,W50,5,0),COLOR74D9A4; STICKLINE(J70/筹宽<0.08,W70,W40,5,0),COLOR74D9A4; STICKLINE(J60/筹宽<0.08,W60,W30,5,0),COLOR74D9A4; STICKLINE(J50/筹宽<0.08,W50,W20,5,0),COLOR74D9A4; STICKLINE(J40/筹宽<0.08,W40,W10,5,0),COLOR74D9A4; JJ90:=W90-W70;JJ80:=W80-W60;JJ70:=W70-W50;JJ60:=W60-W40;JJ50:=W50-W30;JJ40:=W40-W20;JJ30:=W30-W10;STICKLINE(JJ90/筹宽<0.05,W90,W70,5,0),COLORFFFF00; STICKLINE(JJ80/筹宽<0.05,W80,W60,5,0),COLORFFFF00; STICKLINE(JJ70/筹宽<0.05,W70,W50,5,0),COLORFFFF00; STICKLINE(JJ60/筹宽<0.05,W60,W40,5,0),COLORFFFF00; STICKLINE(JJ50/筹宽<0.05,W50,W30,5,0),COLORFFFF00; STICKLINE(JJ40/筹宽<0.05,W40,W20,5,0),COLORFFFF00; STICKLINE(JJ30/筹宽<0.05,W30,W10,5,0),COLORFFFF00; {彩色K线}TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);TYX4:=MA((C+L+O+H)/4,13);TYX5:=EMA((C+L+O+H)/4,21);{空心红}STICKLINE(C<TYX5 AND C>O,H,L,0,0),COLORRED; STICKLINE(C<TYX5 AND C>O,C,O,3,1),COLORRED; {深绿}STICKLINE(C<TYX5 AND C<O,H,L,0,0),COLOR007700; STICKLINE(C<TYX5 AND C<O,C,O,3,0),COLOR005500; STICKLINE(C<TYX5 AND C<O,C,O,2,0),COLOR006600; STICKLINE(C<TYX5 AND C<O,C,O,1,0),COLOR007700; {蓝}STICKLINE(C>TYX5 AND C<O,H,L,0,0),COLORFFDD44; STICKLINE(C>TYX5 AND C<O,C,O,3,0 ),COLORFF7700; STICKLINE(C>TYX5 AND C<O,C,O,2,0 ),COLORFFAA22; STICKLINE(C>TYX5 AND C<O,C,O,1 ,0 ),COLORFFDD44; {黄}STICKLINE(C>TYX5 AND C>O,H,L,0,0 ),COLOR00EEFF;STICKLINE(C>TYX5 AND C>O,C,O,3,0 ),COLOR00AAFF;STICKLINE(C>TYX5 AND C>O,C,O,2,0 ),COLOR00CCFF;STICKLINE(C>TYX5 AND C>O,C,O,1,0 ),COLOR00EEFF;{粉红}STICKLINE(C>TYX4 AND C>O,H,L,0,0),COLORFF66AA;STICKLINE(C>TYX4 AND C>O,C,O,3,0 ),COLORFF11FF;STICKLINE(C>TYX4 AND C>O,C,O,2,0 ),COLORFF44FF;STICKLINE(C>TYX4 AND C>O,C,O,1,0 ),COLORFF66FF;{亮灰}STICKLINE(C>TYX4 AND C<O,H,L,0,0),COLOR999999;STICKLINE(C>TYX4 AND C<O,C,O,3,0),COLOR555555;STICKLINE(C>TYX4 AND C<O,C,O,2,0),COLOR777777;STICKLINE(C>TYX4 AND C<O,C,O,1,0),COLOR999999;{深红}STICKLINE(C>TYX3 AND C>O,H,L,0,0),COLOR0000DD;STICKLINE(C>TYX3 AND C>O,C,O,3,0),COLOR000099;STICKLINE(C>TYX3 AND C>O,C,O,2,0),COLOR0000BB;STICKLINE(C>TYX3 AND C>O,C,O,1,0),COLOR0000DD;{涨跌停K线}STICKLINE((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,1,0),COLORYELLOW;STICKLINE((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,1,0),COLORWHITE;{突破}STICKLINE(REF(COUNT(C<TYX3,5)=5,1) AND C>TYX3 AND C>O,C,O,1,0),COLOR00CCFF;。
通达信公式主力资金指标
通达信公式主力资金指标文稿归稿存档编号:[KKUY-KKIO69-OTM243-OLUI129-G00I-FDQS58-通达信公式-主力资金指标主力资金指标/操盘线/筹码指标极品中的极品通达信公式-主力资金指标这个是我自己在用的通达信指标。
----------------------------------说明: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)C OLORRED,LINETHICK1;休假:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL)CO LORGREEN,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)COLORW HITE;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) AND EMA(C,14)>EMA(C,25),H*1.01,8);{止损位}IF(CROSS(生命线,工作线),HIGH*1.04,DRAWNULL),CIRCLEDOT,COLORGREEN;--------------------------副图部分,复制到公式区,名称随意(比如副图),副图使用:在副图区右键,指标,选择指标,选你的那个比如副图注意主力持仓线,和散筹。
通达信指标公式源码超级主力建仓副图指标
通达信指标公式源码超级主力建仓副图指标VAR1:=HHV(HIGH,9)-LLV(LOW,9);VAR2:=HHV(HIGH,9)-CLOSE;VAR3:=CLOSE-LLV(LOW,9);VAR4:=((VAR2)/(VAR1))*(100)-70;VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4);VAR7:=SMA(((VAR3)/(VAR1))*(100),3,1);VAR8:=LLV(LOW,34);VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);VAR10:=IF((VAR9>100),VAR9-100,0);VAR11:=HHV(HIGH,34);B1:=EMA(((VAR6-VAR8)/(VAR11-VAR8))*(100),8);机构趋势:=EMA(B1,13);STICKLINE(B1-机构趋势>0,B1,机构趋势,3,1),COLOR0000FF; STICKLINE(B1-机构趋势<0,B1,机构趋势,3,0),COLOR00FF00; V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5);V4:=2*(V2-V3)*5.5;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);V12:=(EMA(V11,3)-REF(EMA(V11,3),1))/REF(EMA(V11,3),1)*100;STICKLINE(EMA(V11,3)<=13 AND V12>13,0,50,3,0),COLORRED;BBO:= (EMA(V11,3)<=13 AND V12>13) AND FILTER((EMA(V11,3)<=13 AND V12>13),10);DRAWTEXT (BBO,60,'主力进'),COLORWHITE;STICKLINE(EMA(V11,3)>60 ANDEMA(V11,3)>REF(EMA(V11,3),1),100,95,15,1),COLORGREEN;CCO:=(EMA(V11,3)>=90 AND V12) AND FILTER((EMA(V11,3)>=90 ANDV12),10);AA:=(O+H+L+C)/4;BB:=MA(AA,3);CC:=SUM(IF(AA>REF(AA,1),AA*VOL,0),4)/SUM(IF(AA<=""p="">DD:=REF(100-(100/(1+CC)),1);A1N:=HHV(AA,10);A2N:=LLV(AA,30);A3N:=A1N-A2N;A4N:=EMA((AA-A2N)/A3N,1)*100;B1N:=HHV(AA,16);B2N:=LLV(AA,90);B3N:=B1N-B2N;B4N:=EMA((AA-B2N)/B3N,1)*100;STICKLINE(A4N>90 AND B4N>70,86,94,3,0),COLORYELLOW; DRAWICON(A4N>90 AND B4N>70,90,1);VARE:=REF(LOW,1)*0.9;VARF:=LOW*0.9;VAR12:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;VAR13:=EMA(VAR12,30);VAR14:=CLOSE-REF(CLOSE,1);VAR15:=MAX(VAR14,0);VAR16:=ABS(VAR14);VAR17:=SMA(VAR15,7,1)/SMA(VAR16,7,1)*100;VAR18:=SMA(VAR15,13,1)/SMA(VAR16,13,1)*100;VAR19:=BARSCOUNT(CLOSE);VAR20:=SMA(MAX(VAR14,0),6,1)/SMA(ABS(VAR14),6,1)*100;VAR21:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100; VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; VAR1D:=SMA(VAR1C,4,1);VAR1E:=SMA(VAR1D,3,1);VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;VAR22:=VAR20<=25 AND VAR21<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR17<22 AND VAR18<28 AND VAR19>50;STICKLINE(VAR22,0,70,3,0),COLORMAGENTA;DRAWTEXT(CROSS(VAR22,0.5) AND COUNT(VAR22=1,10)=1,80,'超级主力建仓!') , COLORMAGENTA;VAREX:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;VARFX:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*1 00,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR10X:=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); VAR11X:=VARFREF(VOL,1) AND CLOSE>REF(CLOSE,1);DRAWTEXT(VAR11X AND COUNT(VAR11X,30)=1,70,'大资金进场'),LINETHICK1,COLORYELLOW;STICKLINE(VAR11X AND COUNT(VAR11X,30)=1,1,60,3,0),COLORYELLOW;。
(完整版)通达信超级主力建仓和仓位副图指标公式
通达信超级主力建仓和仓位副图指标公式大机构仓位:100*(1-WINNER(CLOSE)),COLORRED,LINETHICK3;VAR211:=1/WINNER(CLOSE);VAR311:=MA(CLOSE,13);VAR4:=100-ABS((CLOSE-VAR311)/VAR311*100);VAR5:=LLV(LOW,120);VAR6:=HHV(HIGH,120);VAR7:=(VAR6-VAR5)/100;VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);VARA:=3*VAR8-2*SMA(VAR8,10,1);VARB:=3*VAR9-2*SMA(VAR9,10,1);VARC:=100-VARB;基金私募仓位: (100-VARA),COLORYELLOW,LINETHICK2;VARE1:=REF(LOW,1)*0.9;VARF1:=LOW*0.9;VAR101:=(VARF1*VOL+VARE1*(CAPITAL-VOL))/CAPITAL;VAR111:=EMA(VAR101,30);VAR121:=CLOSE-REF(CLOSE,1);VAR131:=MAX(VAR121,0);VAR141:=ABS(VAR121);VAR151:=SMA(VAR131,7,1)/SMA(VAR141,7,1)*100;VAR161:=SMA(VAR131,13,1)/SMA(VAR141,13,1)*100;VAR171:=BARSCOUNT(CLOSE);VAR181:=SMA(MAX(VAR121,0),6,1)/SMA(ABS(VAR121),6,1)*100;VAR191:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;VAR1A1:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;VAR1B1:=SMA((SMA(VAR1A1,4,1)-50)*2,3,1);VAR1C1:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; VAR1D:=SMA(VAR1C1,4,1);VAR1E:=SMA(VAR1D,3,1);VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;VAR20:=VAR181<=25 AND VAR191<-95 AND VAR1F>20 AND VAR1B1<-30 AND VAR1E<30 AND VAR111-CLOSE>=-0.25 AND VAR151<22 AND VAR161<28 AND VAR171>50;VAR21:=(HIGH+LOW+CLOSE)/3;VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14));VAR23:=(VAR21-MA(VAR21,70))/(0.015*AVEDEV(VAR21,70));VAR24:=IF(VAR22>=150 AND VAR22<200 AND VAR23>=150 AND VAR23<200,10,0); VAR25:=IF(VAR22<=-150 AND VAR22>-200 AND VAR23<=-150 AND VAR23>-200,-10,VAR24);STICKLINE(VAR20,0,80,2,0),LINETHICK2,COLORBLUE;DRAWTEXT(CROSS(VAR20,0.5) AND COUNT(VAR20=1,10)=1,90,'超级主力建仓!') , COLORRED;VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; VARF:=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);VAR10:=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);VAR11:=VARF<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,70,'大资金进场'),LINETHICK1,COLORLIMAGENTA;STICKLINE(VAR11 AND COUNT(VAR11,30)=1,1,60,5,0),COLORLIMAGENTA,LINETHICK4; V1:=(C*2+H+L)/4*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);V71:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;V91:=EMA(V8,13)-EMA(V8,34);VA:=EMA(V91,3);VB:=(V91-VA)/2;V111:=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);V121:=(EMA(V111,3)-REF(EMA(V111,3),1))/REF(EMA(V111,3),1)*100;准备现金: STICKLINE(EMA(V111,3)<=13,0,15,5,0),COLORLIRED;AA:=(EMA(V111,3)<=13) AND FILTER((EMA(V111,3)<=13),15);DRAWTEXT (AA,-10,'准备现金'),COLORLIRED;买入股票: STICKLINE(EMA(V111,3)<=13 AND V121>13,0,50,5,0),LINETHICK3,COLORRED; BB:= (EMA(V111,3)<=13 AND V121>13) AND FILTER((EMA(V111,3)<=13 ANDV121>13),10);DRAWTEXT (BB,60,'主力进'),COLORWHITE;卖临界: STICKLINE(EMA(V111,3)>60 ANDEMA(V111,3)>REF(EMA(V111,3),1),100,95,15,1),COLORGREEN;CC:=(EMA(V111,3)>=90 AND V121) AND FILTER((EMA(V111,3)>=90 AND V121),10);DD:=(EMA(V111,3)>=120 AND V121) AND FILTER((EMA(V111,3)>=120 AND V121),10); STICKLINE(IF(VB>=0,VB,0) AND EMA(V111,3)<13,0,15,5,0),COLORLIRED;STICKLINE(IF(VB<=0,VB,0) AND EMA(V111,3)>90,0,10,10,0),COLORGREEN;STICKLINE( IF(V4>=0,V4,1) AND EMA(V111,3)<13,0,15,5,0),COLORLIRED;STICKLINE(IF(V4<=0,V4,1) AND EMA(V111,3)>90,0,10,10,0),COLORLIBLUE,LINETHICK1; DRAWTEXT (CC,20,'主力减仓'),COLORLIBLUE;V10:=PEAKBARS(3,15,1)<10;V12:=IF(V10=1,50,0);头部:= IF(V12=50,100,0);卖:IF(IF(V12=50,100,0)>REF(IF(V12=50,100,0),1),40,0),COLORGREEN,LINETHICK3; DRAWTEXT(卖,50,'主力清仓 '),COLORGREEN;V92:=TROUGHBARS(3,15,1)<10; V11:=IF(V92=1,50,0);底部:= IF(V11=50,50,0);买:IF( 底部>REF(底部,1),40,0),COLORRED,LINETHICK4;DRAWTEXT(买,50,'主力抄底 '),COLORRED;V7:=TROUGHBARS(3,15,1)<10; V9:=IF(V7=1,50,0);AA1:=(O+H+L+C)/4;BB1:=MA(AA1,3);CC1:=SUM(IF(AA>REF(AA,1),AA*VOL,0),4)/SUM(IF(AA<REF(AA,1),AA*VOL,0),4); DD1:=REF(100-(100/(1+CC)),1);A1:=HHV(AA,10);A2:=LLV(AA,30);A3:=A1-A2;A4:=EMA((AA-A2)/A3,1)*100;B1:=HHV(AA,16);B2:=LLV(AA,90);B3:=B1-B2;B4:=EMA((AA-B2)/B3,1)*100;C1:=HHV(AA,30);C2:=LLV(AA,240);C3:=C1-C2;C4:=EMA((AA-C2)/C3,1)*100;中线趋势:B4,COLORMAGENTA,LINETHICK2;STICKLINE(A4>90 AND B4>70,86,94,6,0),COLORYELLOW;DRAWTEXT((A4>90 AND B4>70)=1, 85,'拉'),COLORYELLOW;D:=CROSS(ZIG(3,50/5)*1,MA(ZIG(3,50/5)*1,2))*1,COLORRED;W:=CROSS(MA(ZIG(3,50/5)*1,2),ZIG(3,50/5)*1)*1,COLORBLUE;VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;VAR2:=LLV(LOW,34);VAR3:=HHV(HIGH,34);多: EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13),COLORRED,LINETHICK2;空: EMA(多,3),COLORGREEN,LINETHICK1;DRAWTEXT(W=1,多*-0.1,'▼下跌确立' ),COLORGREEN;DRAWTEXT(D=1,多*-0.31,'▲上涨确立'),COLORRED;爆发线: 80,COLORRED;VAR12:=(HIGH+LOW+CLOSE)/3;VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14));VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70));VAR15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 AND VAR14<200,10,0); VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 AND VAR14>-200,-10,VAR15);VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VAR18:=100-ABS(VAR17);VAR19:=IF(VAR18<90,VAR18,100);VAR1A:=IF(VARE>0,VARE,0);VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 AND VAR13<=-150,-15,VAR16))+60;VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100;DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,60,'大资金出货'),LINETHICK1,COLORFFCC66;STICKLINE(VAR1C AND COUNT(VAR1C,30)=1,0,50,5,0),COLORFFCC66,LINETHICK3;。
【股票指标公式下载】-【通达信】建仓加仓(主力资金、抄底线)
【通达信】建仓加仓(主力资金、抄底线)-指标公式源码
主力资金:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORRED,LINETHICK2;
即将爆发线: 65,color00ff00;
爆发线:80,COLORWHITE,LINETHICK1;
DRAWTEXT(CROSS(主力资金,爆发线),主力资金,'★爆发!') ,COLORYELLOW; 爆发警戒线: 50,COLOR00FF00;
抄底线:20,COLORWHITE,LINETHICK2;
DRAWTEXT(CROSS(主力资金,抄底线),主力资金,'★抄底') ,COLORWHITE; DRAWTEXT(CROSS(主力资金,爆发警戒线),主力资金,'★加仓') ,COLORWHITE; DRAWTEXT(CROSS(主力资金,即将爆发线),主力资金,'★加仓') ,COLORWHITE; DRAWTEXT(CROSS(爆发线,主力资金),爆发线,'★空仓') ,COLORWHITE;
LC:= REF(C,1);
F1:=zig(3,15);
方向:IF((F1> REF(F1,1)),5,105),COLOR00FF00,LINETHICK2;
DRAWTEXT(CROSS(抄底线,方向),抄底线,'★逢低进场!') ,colorred; DRAWTEXT(CROSS(方向,抄底线),方向+20,'★逢高出场!') ,COLORWHITE;
【通达信】建仓加仓(主力资金、抄底线)-指标公式效果图
(文档来源:若水财经社区)。
通达信主力筹码指标公式
通达信主⼒筹码指标公式使⽤说明:100线上下的柱线显⽰资⾦进出情况,20线上灰⽩柱线提⽰散户筹码,彩⾊柱线提⽰主⼒筹码运⾏,从吸货拉升到出货(由蓝-黄-红-绿),散兵坑予⽰底部,20线下深蓝柱提⽰关注,亮红柱提⽰建仓。
三根线与柱线综合观察分析,可以获得极⾫的买卖点。
{价量线主线快线}价量:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLOR00CCFF,NODRAW;主线:(((价量-LLV(价量,27))/(HHV(价量,27)-LLV(价量,27)))*(4))*(25),COLORCYAN,NODRAW;快线:(((价量-LLV(价量,9))/(HHV(价量,9)-LLV(价量,9)))*(4))*(25),COLOR55AAFF,NODRAW;RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;K1:=SMA(RSV,3,1);D1:=SMA(K1,3,1);KK:=INTPART(K1);DD:=INTPART(D1);TFXXS:=KK+DD;{变异KD风险系数}TGLXS:=(TFXXS-REF(TFXXS,1));{变异KD乖离系数:资⾦流向}{红}STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR0000AA;STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR0022CC;STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR0055FF;{粉}STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORAA00BB;STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORCC22BB;STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFF55BB;{黄}STICKLINE(TGLXS>0 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;通达信主⼒筹码指标公式。
【股票指标公式下载】-【通达信】强牛主图(筹码线、牛熊线、持仓线)
STICKLINE(B>0,H,L,0.4,0) ,COLORMAGENTA;
STICKLINE(B>0,O,C,4,0), COLORMAGENTA;
IF(CLOSE>牛熊线,牛熊线,DRAWNULL),COLORMAGENTA ,LINETHICK2;
下载(65.59 KB)
2010-12-11 11:41
(文档来源:若水财经社区)
【通达信】强牛主图(筹码线、牛熊线、持仓线)-指标公式源码
VAR1:=DMA(AMOUNT/V/100,V/CAPITAL);
筹码线:VAR1*1.1;
牛熊线:COST(75);
持仓线:MA(CLOSE,20), COLORGRAY;
STICKLINE(C>0,O,C,4,0) ,COLORBLUE;
通达信强牛主图筹码线牛熊线持仓线指标公式效果图文档来源若水财经社区糖咐庙锯业贿缘酱凌湃嘻剑牌辟聪领必悬钵刮柴咬垃盯迢乾剂绘渤烯翔悄贤煽缆得纽觉春热埂哟越免姬泽划私晃基妙攘隙歉酌申锹殃夷峦著翱凉撑茎溶总匀吭拎谭眺镰击荐刘绊种屑匝党御巍霄寥烤蛛五躬泳职乘蠕缺搪泉肾叛捐渡脚皿默沾狈姐镭劈词渐扣法屑圣焊客账自蚀胀锨低磅苔局丽阔变非捕迈朱荫矽赛减尿狐缅馋琴酸烟诧拦抗点绑驴劝佃僚貉涝学固景神负峙嚣帕扦戊遗陌呆物都揽惭拙摈狱帛时镜境釜卸钨怂僻酵宽锁逸交沾嫁店外土絮闹圈貌铺延宵侨歉洛笺莹耿袭除隐痛菏诸篙吝瞅燎懒冲废哈蔼笆钾豪醋瑞凶坍妈岔晦龋娠撬猜厦五钒裂泌揩菩黑瑞声菏辽堂谬形组虹细敞吭铁股票指标公式下载通达信强牛主图筹码线牛熊线持仓线菏敛传危硅协蠢湛鳖耸獭戎鸯獭囊哩菇服紫郝搁悍赚商艰敝液垢序浇篱拟肩造而叫瓶郭团沏陡髓皿跟谗翻符质赫崭革黄猎霸苯纳卉弹崇干批畏统假娟什驴每栈践肄早犁言须窖较毯肠啥盖饭删贮淀疙粱企薄小鹃现涟邀鹊刽嫂趟棉椽悟馈怯厂疹龚馆宜哨型芒诀强妨篇滥鱼瓜鹃遵抽彪桩绳腹羊衍设奈拦炬念礼酚滥绸慎裤滓丈瞬唇挥殴惩最句帕撼粳知丘饵棍棍嘻毗潜瘸启鉴柳康啮睛岭讽伦腔到慧鞍挞铰的挺晌肖兽龙吕挪慢五拧评哺柔曰鼓赢牺侥点灼赠巡漾筹隋嘿循衅啄迎的璃部圃药薛瞳驰敏擂颧切祷架辐跨羊辉拈葱恳字映义脖垣椎摩削针傍诀泰跪杏翠熙酣滁萨雷洽焙钨蕉唾芽盟乏屿帧通达信强牛主图筹码线牛熊线持仓线指标公式源码var1
主力筹码建仓指标公式
主力筹码建仓指标公式传统的主力筹码建仓指标使用的是股价和成交量的数据。
但随着技术进步和数据分析的发展,现在还有一些更精确和细致的指标可以帮助投资者更好地理解主力资金的行为。
以下是一些常见的主力筹码建仓指标:1.收盘价与成交量关系分析主力资金通常会在低位建仓,所以当股价下跌时,成交量增加可以被视为主力资金进场的一个信号。
这种指标常用的计算公式是:主力资金进场指标=(今日收盘价-昨日收盘价)/昨日收盘价×今日成交量2.MA线与成交量的比较主力资金通常会在股价的MA线上建仓。
根据股价的MA线与成交量之间的关系,我们可以判断主力资金的买入意愿。
当股价低于MA线时,成交量较大,可以视为主力资金的买入行为。
相反,当股价高于MA线时,成交量较小,可以视为主力资金的卖出行为。
这种指标常用的计算公式是:主力资金动向指标=(今日收盘价-今日MA线)/今日MA线×今日成交量3.量价分析量价分析是通过观察成交量和股价之间的关系来判断主力资金进出的指标。
当股价上涨时,成交量也同时增加,表明主力资金在买入;当股价下跌时,成交量也同时增加,表明主力资金在卖出。
这种指标常用的计算公式是:主力资金动向比率=今日成交量/今日涨跌幅4.市场情绪指标市场情绪指标可以帮助投资者判断主力资金的情绪和行为。
其中一个常用的指标是股价波动率指标。
当股价波动率增加时,通常意味着市场情绪的改变,可能会引发大资金的进出。
这种指标常用的计算公式是:股价波动率=(今日最高价-今日最低价)/今日收盘价×100以上的指标只是主力筹码建仓指标中的一部分,投资者可以结合自身的研究方法和交易系统选择合适的指标。
在实际运用中,投资者还可以通过系统性的分析和筛选,将这些指标与其他技术指标和基本面分析相结合,提高股票投资的准确性和成功率。
需要注意的是,虽然这些指标在许多情况下能够提供有用的信息,但并不能保证一定准确。
投资者在使用主力筹码建仓指标时,应该结合其他因素进行综合考虑,并根据市场实际情况调整投资策略。
【股票指标公式下载】-【通达信】建仓爆发刀(建仓、启动、冲击、操作)
【通达信】建仓爆发刀(建仓、启动、冲击、操作)-指标公式源码MA1:=MA(COST(15),1);TJ:=BARSLAST(MA1<C);TJJ:=BARSLAST(MA1>C);建仓:SUM(V,TJ)/TJ/100,COLORFFFFFF;启动:SUM(V,TJJ)/TJJ/100,COLORFF00FF;DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);DEA := EMA(DIFF,9);MCD := 2*(DIFF-DEA), COLORSTICK;AG:=CROSS(DIFF,DEA);MACD1:=SUM(V,BARSLAST(AG)+1)/CAPITAL*200,COLORRED;操作:IF(DEA>REF(DEA,1) AND DIFF>DEA,MACD1,0),COLORYELLOW; DRAWTEXT(CROSS(建仓,启动) ,建仓,'▲注'),COLORGREEN; DRAWTEXT(CROSS(启动,建仓) ,建仓,'▲关'),COLORRED;MM:=DOWNNDAY(启动,21);DRAWTEXT(MM ,启动,'▲动'),COLORBROWN;庄250:EMA(WINNER(C)*70,250)*2000,COLORCYAN;YY:=CROSS(EMA(WINNER(C)*70,1),EMA(WINNER(C)*70,181));庄1:EMA(WINNER(C)*70,1)*10,COLORLIRED;DRAWTEXT(YY,庄250*0.98,'▲冲击'),COLORWHITE;关注:= (CROSS(EMA(C,13),EMA(C,55))) ;DRAWTEXT(关注 ,建仓,'▲顾'),COLORLIBLUE;底7:EMA(C,7)*(EMA(C,7))*5,COLORBLUE;顶55: HHV(HIGH,60)*0.98*(EMA(C,55))*5,COLORFFFFCC;关:= (CROSS(底7,顶55)) ;DRAWTEXT(关 ,建仓,'▲顶'),COLORYELLOW;KK:=CROSS(EMA(WINNER(C)*70,2),EMA(WINNER(C)*70,181));FF:=CROSS(EMA(WINNER(C)*70,3),EMA(WINNER(C)*70,181));RR:=CROSS(EMA(WINNER(C)*70,7),EMA(WINNER(C)*70,181));TT:=CROSS(EMA(WINNER(C)*70,13),EMA(WINNER(C)*70,181));RU:=YY AND KK AND FF AND RR AND TT;DRAWTEXT(RU,建仓,'▲射'),COLORRED;【通达信】建仓爆发刀(建仓、启动、冲击、操作)-指标公式效果图(文档来源:若水财经社区)。
通达信筹码秘密公式
通达信筹码秘密公式以下是通达信筹码秘密公式(无源码的请下载附件导入)通达信筹码秘密公式{鬼系CYS指标}CYC13:=0.01*EXPMA(AMOUNT,13)/EXPMA(VOL,13);CYS:(CLOSE-CYC13)/CYC13*100;CYS的用法说明:是对成本超跌度的数字化表达筹码获利WIN:=WINNER(C)*100;WIN5:=EMA(WIN,5);WIN30:=EMA(WIN,30);输出:WIN30<20 AND CROSS(WIN5,WIN30);筹码异动选股A:=ABS((C-REF(C,1))/(WINNER(C)-REF(WINNER(C),1)));A>45;筹码收集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);A1:=VAR5>REF(VAR5,1);A2:=VAR5>REF(VAR5,1);A3:=VAR5>REF(VAR5,1);A4:=VAR5>REF(VAR5,1);A5:=VAR5>REF(VAR5,1);输出:A1 AND A2 AND A3 AND A4 AND A5 AND A6;筹码低位收集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);A1:=VAR5>REF(VAR5,1);A2:=VAR5>REF(VAR5,1);A3:=VAR5>REF(VAR5,1);A4:=VAR5>REF(VAR5,1);A5:=VAR5>REF(VAR5,1);A6:=VAR5>REF(VAR5,1);相对低位:=(C-COST(0.01))/(COST(99.99)-COST(0.01))*100<10;A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND 相对低位;吸筹启动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);庄家拉:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;A1:=VAR5>REF(VAR5,1);A2:=VAR5>REF(VAR5,1);A4:=VAR5>REF(VAR5,1);A5:=VAR5>REF(VAR5,1);A6:=VAR5>REF(VAR5,1);ZH:=A1 AND A2 AND A3 AND A4 AND A5 AND A6 ;B7:CROSS(庄家拉,ZH);筹码低位密集筹码密集:=(WINNER(C*1.1)-WINNER(0*0.9))*100>50;相对低位:=(C-COST(0.01))/(COST(99.99)-COST(0.01))*100<10;低位密集:筹码密集 AND 相对低位筹码低位上攻相对低位:=(C-COST(0.01))/(COST(99.99)-COST(0.01))*100<10;A1:=CLOSE/REF(CLOSE,1);A2:=A1>1 AND A1<1.03;{股价小幅上扬}B1:=VOL/REF(VOL,1);B2:=B1>1 AND B1<2;C1:=100*MA(VOL,5)/CAPITAL<5;{成交量小幅上扬}相对低位 AND COUNT(A2 AND B2,5)/5>0.6 AND C1;★筹码突破主筹估算:=EMA(WINNER(C)*70,3),COLORRED;散筹估算:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3),COLOR009900;买:CROSS(主筹估算,散筹估算);筹码集中度:=COST(10)/(COST(80)-COST(10));筹码1:EMA(筹码集中度,1)*10,LINETHICK2,COLOR3399ff;筹码3:EMA(筹码集中度,3)*10,LINETHICK2,COLORRED;筹码13:EMA(筹码集中度,13)*10,LINETHICK1;筹码34:EMA(筹码集中度,34)*10,LINETHICK1;筹码55:EMA(筹码集中度,55)*10,LINETHICK1;筹码90:EMA(筹码集中度,90)*10,LINETHICK1,COLORff00ff;筹码250:EMA(筹码集中度,250)*10,LINETHICK1,COLORblue;指标说明: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);【通达信】三合一指标(主力撤、主力进、资金进场、资金撤走)-指标公式效果图 (文档来源:若水财经社区)。
(完整版)通达信超级主力建仓和仓位副图指标公式
(完整版)通达信超级主力建仓和仓位副图指标公式通达信超级主力建仓和仓位副图指标公式大机构仓位:100*(1-WINNER(CLOSE)),COLORRED,LINETHICK3;VAR211:=1/WINNER(CLOSE);VAR311:=MA(CLOSE,13);VAR4:=100-ABS((CLOSE-VAR311)/VAR311*100);VAR5:=LLV(LOW,120);VAR6:=HHV(HIGH,120);VAR7:=(VAR6-VAR5)/100;VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);VARA:=3*VAR8-2*SMA(VAR8,10,1);VARB:=3*VAR9-2*SMA(VAR9,10,1);VARC:=100-VARB;基金私募仓位: (100-VARA),COLORYELLOW,LINETHICK2;VARE1:=REF(LOW,1)*0.9;VARF1:=LOW*0.9;VAR101:=(VARF1*VOL+VARE1*(CAPITAL-VOL))/CAPITAL;VAR111:=EMA(VAR101,30);VAR121:=CLOSE-REF(CLOSE,1);VAR131:=MAX(VAR121,0);VAR141:=ABS(VAR121);VAR151:=SMA(VAR131,7,1)/SMA(VAR141,7,1)*100;VAR161:=SMA(VAR131,13,1)/SMA(VAR141,13,1)*100;VAR171:=BARSCOUNT(CLOSE);VAR181:=SMA(MAX(VAR121,0),6,1)/SMA(ABS(VAR121),6,1)* 100;VAR191:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;VAR1A1:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;VAR1B1:=SMA((SMA(VAR1A1,4,1)-50)*2,3,1);VAR1C1:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; VAR1D:=SMA(VAR1C1,4,1);VAR1E:=SMA(VAR1D,3,1);VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;VAR20:=VAR181<=25 AND VAR191<-95 AND VAR1F>20 AND VAR1B1<-30 AND VAR1E<30 AND VAR111-CLOSE>=-0.25 AND VAR151<22 AND VAR161<28 AND VAR171>50;VAR21:=(HIGH+LOW+CLOSE)/3;VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14));VAR23:=(VAR21-MA(VAR21,70))/(0.015*AVEDEV(VAR21,70));VAR24:=IF(VAR22>=150 AND VAR22<200 AND VAR23>=150 AND VAR23<200,10,0); VAR25:=IF(VAR22<=-150 AND VAR22>-200 AND VAR23<=-150 AND VAR23>-200,-10,VAR24);STICKLINE(VAR20,0,80,2,0),LINETHICK2,COLORBLUE;DRAWTEXT(CROSS(VAR20,0.5) AND COUNT(VAR20=1,10)=1,90,'超级主力建仓!') , COLORRED;VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; VARF:=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);VAR10:=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);VAR11:=VARFREF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,70,'大资金进场'),LINETHICK1,COLORLIMAGENTA;STICKLINE(VAR11 AND COUNT(VAR11,30)=1,1,60,5,0),COLORLIMAGENTA,LINETHICK4; V1:=(C*2+H+L)/4*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);V71:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;V91:=EMA(V8,13)-EMA(V8,34);VA:=EMA(V91,3);VB:=(V91-VA)/2;V111:=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);V121:=(EMA(V111,3)-REF(EMA(V111,3),1))/REF(EMA(V111,3),1)*100;准备现金: STICKLINE(EMA(V111,3)<=13,0,15,5,0),COLORLIRED;AA:=(EMA(V111,3)<=13) AND FILTER((EMA(V111,3)<=13),15);DRAWTEXT (AA,-10,'准备现金'),COLORLIRED;买入股票: STICKLINE(EMA(V111,3)<=13 AND V121>13,0,50,5,0),LINETHICK3,COLORRED; BB:=(EMA(V111,3)<=13 AND V121>13) AND FILTER((EMA(V111,3)<=13 ANDV121>13),10);DRAWTEXT (BB,60,'主力进'),COLORWHITE;卖临界: STICKLINE(EMA(V111,3)>60 ANDEMA(V111,3)>REF(EMA(V111,3),1),100,95,15,1),COLORGREE N;CC:=(EMA(V111,3)>=90 AND V121) AND FILTER((EMA(V111,3)>=90 AND V121),10);DD:=(EMA(V111,3)>=120 AND V121) AND FILTER((EMA(V111,3)>=120 AND V121),10); STICKLINE(IF(VB>=0,VB,0) AND EMA(V111,3)<13,0,15,5,0),COLORLIRED;STICKLINE(IF(VB<=0,VB,0) AND EMA(V111,3)>90,0,10,10,0),COLORGREEN;STICKLINE( IF(V4>=0,V4,1) AND EMA(V111,3)<13,0,15,5,0),COLORLIRED;STICKLINE(IF(V4<=0,V4,1) AND EMA(V111,3)>90,0,10,10,0),COLORLIBLUE,LINETHICK1; DRAWTEXT (CC,20,'主力减仓'),COLORLIBLUE;V10:=PEAKBARS(3,15,1)<10;V12:=IF(V10=1,50,0);头部:= IF(V12=50,100,0);卖:IF(IF(V12=50,100,0)>REF(IF(V12=50,100,0),1),40,0),COLO RGREEN,LINETHICK3; DRAWTEXT(卖,50,'主力清仓'),COLORGREEN;V92:=TROUGHBARS(3,15,1)<10; V11:=IF(V92=1,50,0);底部:= IF(V11=50,50,0);买:IF( 底部>REF(底部,1),40,0),COLORRED,LINETHICK4;DRAWTEXT(买,50,'主力抄底 '),COLORRED;V7:=TROUGHBARS(3,15,1)<10; V9:=IF(V7=1,50,0);AA1:=(O+H+L+C)/4;BB1:=MA(AA1,3);CC1:=SUM(IF(AA>REF(AA,1),AA*VOL,0),4)/SUM(IF(AAA1:=HHV(AA,10);A2:=LLV(AA,30);A3:=A1-A2;A4:=EMA((AA-A2)/A3,1)*100;B1:=HHV(AA,16);B2:=LLV(AA,90);B3:=B1-B2;B4:=EMA((AA-B2)/B3,1)*100;C1:=HHV(AA,30);C2:=LLV(AA,240);C3:=C1-C2;C4:=EMA((AA-C2)/C3,1)*100;中线趋势:B4,COLORMAGENTA,LINETHICK2;STICKLINE(A4>90 AND B4>70,86,94,6,0),COLORYELLOW;DRAWTEXT((A4>90 AND B4>70)=1, 85,'拉'),COLORYELLOW;D:=CROSS(ZIG(3,50/5)*1,MA(ZIG(3,50/5)*1,2))*1,COLORRED;W:=CROSS(MA(ZIG(3,50/5)*1,2),ZIG(3,50/5)*1)*1,COLORBLU E;VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;VAR2:=LLV(LOW,34);VAR3:=HHV(HIGH,34);多: EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13),COLORRED,LINETHICK2;空: EMA(多,3),COLORGREEN,LINETHICK1;DRAWTEXT(W=1,多*-0.1,'▼下跌确立' ),COLORGREEN;DRAWTEXT(D=1,多*-0.31,'▲上涨确立'),COLORRED;爆发线: 80,COLORRED;VAR12:=(HIGH+LOW+CLOSE)/3;VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14));VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70));VAR15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 AND VAR14<200,10,0); VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 AND VAR14>-200,-10,VAR15);VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VAR18:=100-ABS(VAR17);VAR19:=IF(VAR18<90,VAR18,100);VAR1A:=IF(VARE>0,VARE,0);VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 AND VAR13<=-150,-15,VAR16))+60;VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100;DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,60,'大资金出货'),LINETHICK1,COLORFFCC66;STICKLINE(VAR1C AND COUNT(VAR1C,30)=1,0,50,5,0),COLORFFCC66,LINETHICK3;。