通达信资金流入强度指标公式: N:=5; N1:=3; N2:=3; ZLCM:=EMA(WINNER(CLOSE)*70,3);{//主力筹码估算} SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{//小筹码估算} ZSHTL:=SHCM/(ZLCM+SHCM)*100;{//小股民套牢筹码比率} ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{//主力控盘筹码比率} ZCMZL:=MA(ZLCM+SHCM,13);{//市场筹码总量} ZZNTS:=BARSLAST(ZSHTL<90 AND REF(ZSHTL,1)>90);{//走牛天数} ZSHJJ:=EMA(ZSHTL,89);{//小股民警戒} ZZLJJ:=EMA(ZZLKP,89);{//主力警戒} ZJLRQD:=INTPART(ZZLKP-ZZLJJ); SH8:=EMA(ZSHTL,8); DKB:=IF(ZZLKP-REF(ZZLKP,1)>ZSHTL-REF(ZSHTL,1),1,0); {神秘黑洞} STICKLINE(REF(ZSHTL,1)>90 AND ZSHTL<90,ZSHTL,0,4,0),COLOR9966FF; {小股民套牢筹码} STICKLINE(C>0,ZSHTL,ZZLKP,0,0),COLOREEEEEE; {小股民筹码警戒} STICKLINE(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,1,0),COLORAAAAAA; {主力控盘筹码} STICKLINE(C>0,ZZLKP,0,3,0),COLORBLUE; {铸顶风险区} STICKLINE(ZZLKP>75,ZZLKP,0,3,0),COLORFFFFFF; STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,3,0),COLORRED; STICKLINE(ZSHTL>=90,ZZLKP,0,3,0),COLORYELLOW; 套牢系数:INTPART(ZSHTL),NODRAW; 控盘系数:INTPART(ZZLKP),COLORCYAN,NODRAW; 资金流入强度:ZJLRQD,NODRAW; RSV:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100; K1:=SMA(RSV,10,1); D1:=SMA(K1,5,1); KK:=INTPART(K1); DD:=INTPART(D1); TFXXS:=KK+DD;{//变异KD风险系数} TGLD:=MOD(TFXXS,10);{//踏浪涨停概率点} TGLXS:=(TFXXS-REF(TFXXS,1))*10;{//变异KD乖离系数} TYCFX:=TFXXS+TGLXS;{//变异KD预测风险} 乖离系数:TGLXS,LINETHICK0,COLORGREEN; STICKLINE(TGLXS>0,100,100+TGLXS,3,0),COLOR000088; STICKLINE(TGLXS>0,100,100+TGLXS,2.5,0),COLOR000099; STICKLINE(TGLXS>0,100,100+TGLXS,2,0),COLOR0000AA; STICKLINE(TGLXS>0,100,100+TGLXS,1.5,0),COLOR0000BB; STICKLINE(TGLXS>0,100,100+TGLXS,1.0,0),COLOR0000DD; STICKLINE(TGLXS>0,100,100+TGLXS,0.5,0),COLOR0000FF;{//红柱} STICKLINE(TGLXS<0,100,100+TGLXS,3,0),COLOR008800; STICKLINE(TGLXS<0,100,100+TGLXS,2.5,0),COLOR00AA00; STICKLINE(TGLXS<0,100,100+TGLXS,2,0),COLOR00BB00; STICKLINE(TGLXS<0,100,100+TGLXS,1.5,0),COLOR00DD00; STICKLINE(TGLXS<0,100,100+TGLXS,1,0),COLOR00FF00;{//绿柱} STICKLINE(TGLXS=0 AND REF(TGLXS,1)>=0,100,100+TGLXS,8,0),COLORRED; STICKLINE(TGLXS=0 AND REF(TGLXS,1)<0,100,100+TGLXS,8,0),COLORGREEN; 风险系数:TFXXS,LINETHICK2,COLORFFCC00; T1:=CONST( ZCMZL>REF(ZCMZL,1) AND DKB=1); T2:=CONST( ZCMZL>REF(ZCMZL,1) AND DKB=0); T3:=CONST( ZCMZL=REF(ZCMZL,1)); T4:=CONST( ZCMZL<REF(ZCMZL,1) AND DKB=1); T5:=CONST( ZCMZL<REF(ZCMZL,1) AND DKB=0); T6:=CONST(TFXXS<=50 ); T7:=CONST(TFXXS>=160 ); T8:=CONST(TFXXS>50 AND TFXXS<160 AND TFXXS>=REF(TFXXS,1) AND TFXXS<=100 ); T9:=CONST( TFXXS>50 AND TFXXS<160 AND TFXXS>=REF(TFXXS,1) AND TFXXS>100); T10:=CONST(TFXXS>50 AND TFXXS<160 AND TFXXS<REF(TFXXS,1) AND TFXXS>100 ); T11:=CONST(TFXXS>50 AND TFXXS<160 AND TFXXS<REF(TFXXS,1) AND TFXXS<=100 ); T12:=CONST( ZSHTL>90 ); T13:=CONST( ZZLKP>75 ); T14:=CONST(CROSS(ZCMZL,ZZLJJ) AND ZZLKP>ZZLJJ AND ZZLKP>10 AND ZZLJJ>REF(ZZLJJ,1) AND ZCMZL>REF(ZCMZL,1) ); T15:=CONST(CROSS(ZCMZL,ZZLKP) AND ZZLKP>ZZLJJ AND ZZLKP<ZSHTL AND ZZLKP>10 AND ZZLJJ>REF(ZZLJJ,1) AND ZCMZL>REF(ZCMZL,1) ); T16:=CONST( CROSS(ZCMZL,ZSHTL) AND ZSHTL>ZZLKP AND ZCMZL>REF(ZCMZL,1)); T17:=CONST( CROSS(ZCMZL,100) AND ZCMZL>REF(ZCMZL,1)); T18:=CONST(REF(ZSHTL,1)>90 AND ZSHTL<90 ); TS1:=IF(T1=1,0+0.03,0); TS2:=IF(T2=1,TS1+0.03,TS1); TS3:=IF(T3=1,TS2+0.03,TS2); TS4:=IF(T4=1,TS3+0.03,TS3); TS5:=IF(T5=1,TS4+0.03,TS4); TS6:=IF(T6=1,0+0.73,0); TS7:=IF(T7=1,TS6+0.03,TS6); TS8:=IF(T8=1,TS7+0.03,TS7); TS9:=IF(T9=1,TS8+0.03,TS8); TS10:=IF(T10=1,TS9+0.03,TS9); TS11:=IF(T11=1,TS10+0.03,TS10); TS12:=IF(T12,0+0.03,0); TS13:=IF(T13=1,TS12+0.03,TS12); TS14:=IF(T14=1,TS13+0.03,TS13); TS15:=IF(T15=1,TS14+0.03,TS14); TS16:=IF(T16=1,TS15+0.03,TS15); TS17:=IF(T17=1,TS16+0.03,TS16); TS18:=IF(T8=1,TS17+0.03,TS17); MACT:EMA(风险系数,N),COLOR55EEEE,LINETHICK1; MACP:EMA(乖离系数,N1),COLORGREEN,LINETHICK1; MACK:EMA(乖离系数,N2),COLORFF00FF,LINETHICK1; DRAWTEXT_FIX(T1,0.56,TS1,0,'★主力动向:主力增仓'),COLORRED; DRAWTEXT_FIX(T2,0.56,TS2,0,'★主力动向:主力减仓'),COLORMAGENTA; DRAWTEXT_FIX(T3,0.56,TS3,0,'★主力动向:多空平衡'),COLORGRAY; DRAWTEXT_FIX(T4,0.56,TS4,0,'★主力动向:主力回补'),COLORFF9933; DRAWTEXT_FIX(T5,0.56,TS5,0,'★主力动向:主力出逃'),COLORGREEN; DRAWTEXT_FIX(T6,0.76,TS6,0,'★风险示:买入风险'),COLORYELLOW; DRAWTEXT_FIX(T7,0.76,TS7,0,'★风险提示:卖出风险'),COLORCYAN; DRAWTEXT_FIX(T8,0.76,TS8,0,'★风险提示:追涨博弈'),COLORRED; DRAWTEXT_FIX(T9,0.76,TS9,0,'★风险提示:稳健持股'),COLORMAGENTA; DRAWTEXT_FIX(T10,0.76,TS10,0,'★风险提示:盘跌减仓'),COLORWHITE; DRAWTEXT_FIX(T11,0.76,TS11,0,'★风险提示:杀跌空仓'),COLORGREEN; DRAWTEXT_FIX(T12,0.26,TS12,0,'☆特别信号提示:筑底散兵坑' ),COLOR66FFCC; DRAWTEXT_FIX(T13,0.26,TS13,0,'☆特别信号提示:铸顶风险区'),COLORCYAN; DRAWTEXT_FIX(T14,0.26,TS14,0,'☆特别信号提示:穿越主力' ),COLORRED; DRAWTEXT_FIX(T15,0.26,TS15,0,'☆特别信号提示:穿越主力' ),COLORYELLOW; DRAWTEXT_FIX(T16,0.26,TS16,0,'☆特别信号提示:穿越散户' ),COLORGREEN; DRAWTEXT_FIX(T17,0.26,TS17,0,'☆特别信号提示:全盘穿越' ),COLOR3399FF; DRAWTEXT_FIX(T18,0.26,TS18,0,'☆特别信号提示:神秘黑洞' ),COLOR9966FF; 通达信傻蛋操盘主图指标公式: MA13:MA(C,13),COLOR0066FF,LINETHICK2; STICKLINE(C>MA13,L,H,0,0),COLORRED; STICKLINE(C>MA13,O,C,3,0),COLOR000088; STICKLINE(C>MA13,O,C,2,0),COLOR0000AA; STICKLINE(C>MA13,O,C,0.1,0),COLOR0000CC; STICKLINE(C>MA13,O,C,0,0),COLOR0000FF; BIAS1:=MA((C-MA(C,13))/MA(C,13),3)*100,COLORWHITE,LINETHICK0; BIAS3:=MA((C-MA(C,34))/MA(C,34),3)*100,COLORFF00FF,LINETHICK0; 关注区:=COUNT(BIAS3<0,8)>=8 AND COUNT(BIAS3>0,34)>13 AND COUNT(BIAS3<0,55)>30 OR BIAS3<-15,LINETHICK0; STICKLINE(关注区,C,O,3,0),COLOR8977FF; STICKLINE(关注区,L,H,0,0),COLOR8977FF; 开炮1:=CROSS(BIAS1,0) AND SUM(IF(BIAS3<-15,10,0),8)>10,LINETHICK0; STICKLINE(开炮1,C,O,3,0),COLOR0066BB; STICKLINE(开炮1,C,O,2,0),COLOR0099CC; STICKLINE(开炮1,C,O,1,0),COLOR00CCEE; STICKLINE(开炮1,C,O,0.1,0),COLOR00FFFF; STICKLINE(开炮1,L,H,0,0),COLOR00FFFF; DRAWTEXT(开炮1,C*0.97,'开炮1'),COLOR0000FF; LC:=REF(C,1),LINETHICK0; RSI:=((SMA(MAX((C-LC),0),13,1)/SMA(ABS((C-LC)),13,1))*100); STICKLINE((RSI<20),L,H,0.1,0),COLORFF6600; STICKLINE((RSI<20),O,C,8,0),COLORCC5000; DRAWTEXT(CROSS(RSI,20-0.0005),L*0.97,'短线'),COLORAA99AA; STICKLINE(CROSS(RSI,20-0.0005),C,O,3,0),COLOR888888; STICKLINE(CROSS(RSI,20-0.0005),C,O,2,0),COLORAAAAAA; STICKLINE(CROSS(RSI,20-0.0005),C,O,1,0),COLORCCCCCC; STICKLINE(CROSS(RSI,20-0.0005),C,O,0.1,0),COLORFFFFFF; STICKLINE(CROSS(RSI,20-0.0005),L,H,0,0),COLORFFFFFF; RSV:=(((C-LLV(L,9))/(HHV(H,9)-LLV(L,9)))*100); K:=SMA(RSV,3,1); D:=SMA(K,3,1); NB:=((C>LC) AND C>O); KK:=HHV(K,5); DD:=HHV(D,5); D1:=REF(D,1); K1:=REF(K,1); STICKLINE(((DD>75) AND CROSS(D,K)),C,O,3,0),COLOR008800; STICKLINE(((DD>75) AND CROSS(D,K)),C,O,2,0),COLOR00AA00; STICKLINE(((DD>75) AND CROSS(D,K)),C,O,1,0),COLOR00CC00; STICKLINE(((DD>75) AND CROSS(D,K)),C,O,0.1,0),COLOR00FF00; STICKLINE(((DD>75) AND CROSS(D,K)),L,H,0,0),COLOR00FF00; STICKLINE((((D1<30) AND CROSS(K,D)) AND NB),C,O,3,0),COLOR0011FF; STICKLINE((((D1<30) AND CROSS(K,D)) AND NB),C,O,2,0),COLOR0044FF; STICKLINE((((D1<30) AND CROSS(K,D)) AND NB),C,O,1,0),COLOR0077FF; STICKLINE((((D1<30) AND CROSS(K,D)) AND NB),C,O,0.1,0),COLOR0099FF; STICKLINE((((D1<30) AND CROSS(K,D)) AND NB),L,H,0,0),COLOR0099FF; DRAWTEXT((((D1<30) AND CROSS(K,D)) AND NB),L,'开炮2'),COLOR0066FF; DRAWTEXT((((D1<30) AND CROSS(K,D)) AND NB),L*0.95,'↑买'),COLORFFAAFF; DRAWTEXT(((DD>75) AND CROSS(D,K)),H*1.05,'↓卖'),COLOR00CC00; QN1:=MA(C,13); QN:=ATAN((QN1-REF(QN1,1)))*180/2; STICKLINE(QN>1 AND QN1>REF(QN1,1),QN1,REF(QN1,1),5,0),COLOR00FFFF; STICKLINE(QN<1 AND QN1<REF(QN1,1),QN1,REF(QN1,1),5,1),COLORGREEN; QN2:=MA(C,21); QN3:=ATAN((QN2-REF(QN2,1)))*180/2; STICKLINE(QN3>1,QN2,REF(QN2,1),5,0),COLORFF00FF; STICKLINE(QN3<1,QN2,REF(QN2,1),5,1),COLORFF0000; 通达信高精提示指标公式(顶尖财经:股票学院 http://www.58188.com): 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); RE:=CROSS(J,REF(J+0.01,1)) AND X AND J<19; STICKLINE(RE,0,1,3,0),COLORYELLOW; CSS:=((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100); HH:=CROSS(20,EMA(CSS,3)); CE:=REF(HH,1); AA:=REF(CLOSE,1); BBB:=SMA(MAX(CLOSE-AA,0),5,1)/SMA(ABS(CLOSE-AA),5,1)*1000; HHH:=BBB-LLV(BBB,10); SS:=(MA(HHH,2)*3+HHH*13)/16; 短线买点:=IF(SS>13,MA(SS,2),SS)/6; 短线出击:=IF(CROSS(短线买点,1) AND (短线买点<30),30,1); II:=短线出击=30; 合成:CE AND II; |