《通达信公式:牛熊分道+主散筹码+庄家控盘+行情主升浪主图指标公式.docx》由会员分享,可在线阅读,更多相关《通达信公式:牛熊分道+主散筹码+庄家控盘+行情主升浪主图指标公式.docx(7页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、通达信公式:牛熊分道+主散筹码+庄家控盘+行情主升浪主图指标公式价量:=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);主力活跃力度:=(价量-LLV(价量,27)/(HHV(价量,27)-LLV(价量,27)*(4)*(25);快线:=(价量-LLV(价量,9)/(HHV(价量,9)-LLV(价量,9)*(4)*(25);RSV:=(CLOSE-LLV(LOW,13)/(HHV(HIGH,
2、13)-LLV(LOW,13)*100;K1:=SMA(RSV,3,1);D1:=SMA(K1,3,1);KK:=INTPART(K1);DD:=INTPART(D1);TFXXS:=KK+DD;TGLXS:=(TFXXS-REF(TFXXS,1);主力筹码:=EMA(WINNER(CLOSE)*70,3);散户筹码:=EMA(WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9)*80,3);金叉疯牛:=EMA(EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24)/4,2);界:=MA(CLOSE,27);持股时段:=IF
3、(金叉疯牛界)AND(散户筹码50)OR(主力活跃力度REF(主力活跃力度,1),-40,0),COLORRED,NODRAW;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:
4、=EMA(ZSHTL,89);/小股民警戒ZZLJJ:=EMA(ZZLKP,89);/主力警戒ZJLRQD:=INTPART(ZZLKP-ZZLJJ);/资金流入强度BB:=MA(C,1);持币阶段:=SMA(SMA(SMA(BB,2,1),2,1),2,1);主升持股波段:=HHV(MA(持币阶段,1),13);SH8:=EMA(ZSHTL,8);DKB:=IF(ZZLKP-REF(ZZLKP,1)ZSHTL-REF(ZSHTL,1),1,0);牛股出现预警:=WINNER(C/1.10)*100,COLOR00FFFF,NODRAW;主力赢利25持仓:=WINNER(C/1.25)*100
5、,COLORFF00FF,NODRAW;散户套牢筹码:=散户筹码/(主力筹码+散户筹码)*100;主升浪波段:=主力筹码/(主力筹码+散户筹码)*100,COLORFF6100,NODRAW;主力主导行情:=EMA(主升浪波段,55),NODRAW,COLORFF00FF;M:=60;N:=30;SHX:=100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60) COLORGRAY;庄家主力线:=50-SMA(SMA(SMA(SHX,2,1),2,1),2,1)/2,COLOR00FFFF,LINETHICK2;散户持股线:=50-HHV(MA(庄家
6、主力线,1),13)/2,COLORFF00FF,LINETHICK4;跌幅:=(REF(C,1)-C)/REF(C,1)*100;涨幅:=(CLOSE-REF(CLOSE,1)/REF(CLOSE,1)*100,POINTDOT,COLOR009900,LINETHICK0;ER:=V/FINANCE(7)*100;A0:=TMA(ER,(1-ER),1);MAXCYC:=DMA(C+O)/2,ER/TMA(ER,(1-ER),1);T1:=BARSLAST(CMAXCYC*POW(1.1,0.9);T2:=BARSLAST(C=0,V4,0);VARAA:=REF(LOW+OPEN+CLO
7、SE+HIGH)/4,1);VAR21:=SMA(ABS(HIGH-VARAA),13,1)/SMA(MIN(HIGH-VAR1,0),10,1);VAR31:=EMA(VAR21,10);VAR41:=HHV(HIGH,33);VAR51:=EMA(IF(HIGH=VAR41,VAR31,0),3);主力抬轿:=IF(VAR510)AND(筹码进150)AND(持股时段-18)AND(跌幅3),筹码进,0),COLORRED,NODRAW;上轨:=EMA(VAR8,15)*1.02,COLORRED,LINETHICK1;黄线:=(EMA(VAR9,3)+EMA(VAR9,6)+EMA(VA
8、R9,12)+EMA(VAR9,24)/4,COLORYELLOW,LINETHICK1;HH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+REF(H,20)/210,COLORBLUE,LINE
9、THICK1;LL:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6)+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+REF(L,20)/210,COLORBLUE,LINETHICK1;VAR80:=3*SMA(C-LLV(L,180)/(HHV(
10、H,180)-LLV(L,180)*100,5,1)-2*SMA(SMA(C-LLV(L,180)/(HHV(H,180)-LLV(L,180)*100,180,1),15,1);疯牛潜力股:=EMA(VAR80,5), NODRAW,COLOR6600FF;牛熊分道:EMA(HH,90),COLORYELLOW,LINETHICK2;下:=牛熊分道-(C-牛熊分道)*C-牛熊分道)/牛熊分道*1.68,LINETHICK3,COLORRED;下轨:=MA(下,14)*0.9,COLORGREEN,LINETHICK2;IF(持股时段=下轨 AND 牛熊分道=下轨 AND 疯牛潜力股REF(疯
11、牛潜力股,1),下轨,DRAWNULL),COLORFF0080,LINETHICK6;IF(持股时段50 AND BARSCOUNT(C)250 AND 上轨=下轨 AND 牛熊分道=下轨 AND 疯牛潜力股=REF(疯牛潜力股,1),下轨,DRAWNULL),COLORFF0080,LINETHICK6;IF(疯牛潜力股50 AND BARSCOUNT(C)250 AND 上轨=下轨 AND 牛熊分道=下轨 AND 疯牛潜力股=下轨 AND 下轨REF(下轨,1),下轨,DRAWNULL),COLORGREEN,LINETHICK6;IF(持股时段-28 AND BARSCOUNT(C)=
12、下轨 AND 牛熊分道=下轨 AND 疯牛潜力股=REF(疯牛潜力股,1),下轨,DRAWNULL),COLORFF0080,LINETHICK6;IF(持股时段=0 AND BARSCOUNT(C)=下轨 AND 牛熊分道=下轨 AND 疯牛潜力股=REF(疯牛潜力股,1),下轨,DRAWNULL),COLORFF00FF,LINETHICK6;IF(疯牛潜力股50 AND 上轨=下轨 AND 疯牛潜力股REF(疯牛潜力股,1) AND 牛熊分道=下轨,上轨,DRAWNULL),COLORFF00FF,LINETHICK4;IF(疯牛潜力股50 AND 上轨=下轨 AND 疯牛潜力股REF(
13、疯牛潜力股,1),上轨,DRAWNULL),COLORFF00FF,LINETHICK4;IF(COUNT(C上轨,5)=2 AND 上轨=牛熊分道 AND 疯牛潜力股REF(疯牛潜力股,1) AND 涨幅0.5,上轨,DRAWNULL),COLOR0000FF,LINETHICK4;不参与阶段:IF(上轨=下轨 AND 牛熊分道下轨 AND 下轨=下轨 AND 牛熊分道下轨 AND 下轨REF(下轨,1),下轨,DRAWNULL),COLORFF00FF,LINETHICK2;行情主升浪:IF(持股时段50 AND 上轨=下轨 AND 牛熊分道=下轨 AND 疯牛潜力股REF(疯牛潜力股,1
14、),下轨,DRAWNULL),COLORFF0080,LINETHICK2;IF(持股时段=下轨 AND 牛熊分道=下轨 AND 疯牛潜力股REF(疯牛潜力股,1),下轨,DRAWNULL),COLORFF0080,LINETHICK2;IF(持股时段50 AND BARSCOUNT(C)250 AND 上轨=下轨 AND 牛熊分道=下轨 AND 疯牛潜力股=REF(疯牛潜力股,1),下轨,DRAWNULL),COLORFF0080,LINETHICK2;IF(疯牛潜力股50 AND BARSCOUNT(C)250 AND 上轨=下轨 AND 牛熊分道=下轨 AND 疯牛潜力股=下轨 AND
15、下轨REF(下轨,1),下轨,DRAWNULL),COLORGREEN,LINETHICK2;IF(持股时段-28 AND BARSCOUNT(C)=下轨 AND 牛熊分道=下轨 AND 疯牛潜力股=REF(疯牛潜力股,1),下轨,DRAWNULL),COLORFF0080,LINETHICK2;IF(疯牛潜力股50 AND 上轨=下轨 AND 疯牛潜力股REF(疯牛潜力股,1) AND 牛熊分道=下轨,上轨,DRAWNULL),COLORFF00FF,LINETHICK2;IF(疯牛潜力股50 AND 上轨=下轨 AND 疯牛潜力股REF(疯牛潜力股,1),上轨,DRAWNULL),COLO
16、RFF00FF,LINETHICK2;超级疯牛分界:IF(持股时段50 AND 上轨=下轨 AND 疯牛潜力股REF(疯牛潜力股,1),上轨,DRAWNULL),COLORRED,LINETHICK2;IF(COUNT(C上轨,5)=2 AND 上轨=牛熊分道 AND 疯牛潜力股REF(疯牛潜力股,1) AND 涨幅0.5,上轨,DRAWNULL),COLORRED,LINETHICK2;开口选股:=BARSLASTCOUNT(上轨下轨)=1,NODRAW;DRAWICON(开口选股,MIN(下轨,上轨)*1.08,26);DRAWTEXT(开口选股,LOW,71),COLORYELLOW;D
17、RAWTEXT(开口选股,上轨*1.13,开始关注),COLORRED;变盘加速上扬:=CROSS(牛熊分道,下轨);DRAWICON(变盘加速上扬,LOW*0.9,25);重仓介入重仓目标:=FILTER(COUNT(变盘加速上扬,5)=1),15),COLORFFFF00,LINETHICK2;STICKLINE(重仓目标0.8,牛熊分道*0.8,牛熊分道*0.88,0.5,0),COLORFFFF00,LINETHICK2;STICKLINE(重仓目标0.8,牛熊分道*0.8,牛熊分道*0.86,2,0),COLORFF0080,LINETHICK2;STICKLINE(重仓目标0.8,
18、牛熊分道*0.8,牛熊分道*0.84,4,0),COLORFF00FF,LINETHICK2;DRAWTEXT(重仓目标0.8,牛熊分道*0.76,重点目标),COLORRED;超强自选:=(CROSS(CLOSE,下轨) AND CROSS(CLOSE,超级疯牛分界) AND COUNT(上轨下轨,2)=1 AND REF(下轨,2)REF(上轨,2);STICKLINE(重仓目标0.8 OR 超强自选,牛熊分道*0.8,牛熊分道*0.88,0.5,0),COLORFFFF00,LINETHICK2;STICKLINE(重仓目标0.8 OR 超强自选,牛熊分道*0.8,牛熊分道*0.86,2
19、,0),COLORFF0080,LINETHICK2;STICKLINE(重仓目标0.8 OR 超强自选,牛熊分道*0.8,牛熊分道*0.84,4,0),COLORFF00FF,LINETHICK2;DRAWTEXT(重仓目标0.8 OR 超强自选,牛熊分道*1.05,重点目标),COLORRED;VARA:=SMA(AMOUNT,10,1)/1000000;VARB:=REF(VARA,1);VARC:=MA(REF(CLOSE,1),5);最高:=VARA*HIGH/VARC*1/10,POINTDOT,COLOR009900,COLORGRAY;最低:=VARA*LOW/VARC*1/1
20、0,POINTDOT,COLOR009900,COLORYELLOW;开盘:=VARA*OPEN/VARC*1/10,POINTDOT,COLOR009900,COLORMAGENTA;收盘:=VARA*CLOSE/VARC*1/10,COLOR009900,COLORGREEN,POINTDOT;涨跌:=(收盘-REF(收盘,1)/REF(收盘,1)*100,POINTDOT,COLOR009900,LINETHICK0;STICKLINE(CLOSE下轨 AND 涨跌15 AND CLOSE上轨 AND OPEN上轨 AND 下轨牛熊分道),CLOSE,OPEN,3,0),COLORYEL
21、LOW;超强突破自选:=IF(CROSS(CLOSE,上轨) AND 下轨8),20),COLORRED,LINETHICK2;STICKLINE(重点自选,CLOSE*1.1,CLOSE*1.15,0.5,0),COLORRED;DRAWICON(重点自选,CLOSE*1.06,12),COLORRED;DRAWTEXT(重点自选,CLOSE*1.2,快马加鞭),COLORRED;STICKLINE(涨跌20 AND CLOSE上轨),OPEN+(CLOSE-OPEN),OPEN,3,0),COLORRED;STICKLINE(涨幅5 AND 涨跌0 AND 涨跌上轨 AND OPEN5 AND 涨跌0 AND 涨跌上轨 AND OPEN40 AND CLOSE上轨 AND OPEN20 AND CLOSE上轨 AND OPEN10 AND CLOSE上轨 AND OPEN上轨),OPEN+(CLOSE-OPEN)/3,OPEN+(CLOSE-OPEN)*2/3,3,0),COLORYELLOW;DRAWICON(变盘加速上扬,LOW*0.9,25);