通达信买点精准副图指标
通达信指标——买卖盘比(副图)
{虚拟成交量}V AR1:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL); STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,V AR1,1 , 2 , 1 ) , COLORWHITE ; {彩色成交量柱线}VOLUME:VOL,VOLSTICK;{黄金地量}地量:=VOL< LLV(VOL,14)*1.001;STICKLINE(地量>0,0,V,2,0),COLORWHITE;{立桩成立}V2:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1); T12:=V2>= 1;T0:=BARSLAST(T12);L1:=REF(L,T0);H1:=REF(H,T0);L11:=MIN(REF(L,1),L);L10:=MIN(L11,REF(L,2));L21:=MAX(REF(L,1),L);L20:=MAX(L21,REF(L,2));T111:=(REF(V2>=1,3) OR REF(V2>=1,2) OR REF(V2>=1,1)) AND((L10>L1 AND L20>H1) OR (L11>L1 AND L21>H1) OR (L>H1));T11:=T111 AND REF(T111,1)=0;STICKLINE(V2>= 1,0,VOL,1.5,0),COLOR44FFFF;STICKLINE(T11,O,VOL,1.5,0),COLORLIRED;{牛年奔牛}V AR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;V AR3:=SMA(SMA(V AR2,3,1),3,1)/28.57;V AR4:=EMA(VAR3,5);V AR5:=3*VAR3-2*V AR4;牛:=CROSS(VAR5,V AR3) AND V AR3< 2.1 AND C> O;{逃顶提示}V ARA2:=LLV(LOW,10);V ARA3:=HHV(HIGH,25);动力线:= EMA((CLOSE-V ARA2)/(V ARA3-V ARA2)*4,4);{涨跌停}C3:=REF(C,1);涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);{顶背离与底背离}LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);顶背离:=CROSS(88,RSI);底背离:=CROSS(FF,MA15);STICKLINE(牛,0,VOL,1,0),COLORRED;STICKLINE(动力线>=3.2,0,VOL,0.5,0),COLOR238E23;STICKLINE(涨停,V*0.8,VOL,4,0),COLORRED;STICKLINE(跌停,VOL*0.8,VOL,4,0),COLORBLUE;STICKLINE(顶背离,VOL*0.8,VOL,0.5,0),COLOR7F017F;STICKLINE(底背离,0,VOL*0.2,0.5,0),COLOR7F017F;STICKLINE(地量,0,V/3,6,0),COLOR003333;STICKLINE(地量,0,V/3,5,0),COLOR116666;STICKLINE(地量,0,V/3,4,0),COLOR229999;STICKLINE(地量,0,V/3,3,0),COLOR33CCCC;STICKLINE(地量,0,V/3,2,0),COLOR44FFFF;{买卖盘比}V AR0:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主动买盘:=IF(CLOSE>OPEN,V AR0*(HIGH-LOW),IF(CLOSE< OPEN,V AR0*((HIGH-OPEN) +(CLOSE-LOW)),VOL/2)),LINETHICK0,COLORRED;主动卖盘:=IF(CLOSE>OPEN,0-V AR0*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE< OPEN,0-V AR0*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORGREEN;买卖盘比:-(主动买盘/主动卖盘),COLORYELLOW;换手率%: VOL/CAPITAL*100,COLORGREEN,NODRAW;{三线开花}【3】:MA(VOLUME,135),COLORBLUE,LINETHICK1;【2】:MA(VOLUME,35),COLORCY AN,LINETHICK1;【1】:MA(VOLUME,5),COLORWHITE,LINETHICK1;买入1:DRAWICON(CROSS(【1】,【2】),V*0.1,5);买入2:DRAWICON(CROSS(【1】,【3】),V*0.05,9);买入3:DRAWICON(CROSS(【2】,【3】),V*0.01,135);{抛物转向}抛物:MA((3*C+L+O+H)/6,3),,LINETHICK2,COLORBLUE;持币:IF((抛物< REF(抛物,1) OR C< REF(C,1)),抛物,DRAWNULL),LINETHICK2,COLORCYAN;持股:IF((抛物> REF(抛物,1) OR C> REF(C,1)),抛物,DRAWNULL),LINETHICK2,COLORRED;。
通达信主力筹码一目了然副图指标
通达信主力筹码一目了然副图指标这是一个用来监控主力动向很优秀的指标,有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乖离系数:资金流向}{红}XXX(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR0000A A;STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR0022C C;STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR0055FF ;{粉}XXX(XXX<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORAA00B B;STICKLINE(TGLXS<0 ANDTGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORCC22B B;STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFF55B B;{黄}XXX(TGLXS>0 ANDXXX<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR00A AFF;XXX(TGLXS>0 ANDXXX<=REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR00C CFF;XXX(TGLXS>0XXX<=REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR00FFFF; {蓝}XXX(XXX<0XXX<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORFF7700; XXX<0XXX<=REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORFFAA22 ;STICKLINE(TGLXS<0XXX<=REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFFFF55; STICKLINE(TGLXS=0 ANDREF(TGLXS,1)>=0,100,TGLXS+100,8,0),COLORBROWN;STI CKLINE(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,NODR AW;{散户套牢筹码}XXX(C>0,ZSHTL,ZZLKP,2,0),COLOR;{散户筹码警戒}XXX(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,2,0),COLORC0C0C0;{主力控盘筹码}{粉}STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,2.5,0 ),COLORAA00BB;STICKLINE(ZZ LKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,1.5,0 ),COLORCC22BB;STICKLINE(ZZ LKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,0.5,0 ),COLOREE44BB;{蓝}XXX(ZZLKP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,2.5,0 ),COLORFF7700;STICKLINE(ZZL KP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,1.5,0 ),COLORFFAA22;STICKLINE(ZZL KP<=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(ZZLK P>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,1.5,0 ),COLOR5050FF;STICKLINE(ZZLK P>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,0.5,0 ),COLOR7E7EFF;{深蓝}XXX(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(ZZLK P<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,0.5 ,0 ),COLORFF0000;{主力筹马警卫} {黄}STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,2.5,0 ),C OLOR00AAFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,1.5,0 ),C OLOR00CCFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,0.5,0 ),C OLOR00FFFF;{红}XXX(ZZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,2.5,0 ),COLOR0000AA;STICKLINE(Z ZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,1.5,0 ),COLOR0022CC;STICKLINE(Z ZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,0.5 ,0 ),COLOR0055FF;{红} XXX(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50ANDZZLJJ>REF(ZZLJJ,1),ZZLKP,50,2.5,0 ),COLOR0000AA;XXX(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50 ANDZZLJJ>REF(ZZLJJ,1),ZZLKP,50,1.5,0 ),COLOR0022CC;XXX(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50 ANDZZLJJ>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;{散兵坑}XXX(ZZLKP<=10,ZZLKP,0,5,0),COLORDD00DD;100,COLORGREEN;80,COLORGREEN;{0,COLORGREEN;}{主线快线}价量,COLOR0CC0FF,LINETHICK2;主线,COLOR00FFAA,LINETHICK2;快线,LINESTICK,COLORFF68DD;100线高低的柱线,表现资金收支情形。
通达信股价重心底买入副图指标公式
通达信股价重心底买入副图指标公式V8:=600*(EMA(C,3)-EMA(L,30))/EMA(L,30);V9:=EMA(V8,7);VA:=(WINNER(120*C/100)-WINNER(100*C/100))*100;VB:=(-100)*(WINNER(120*C/100)-WINNER(100*C/100))+5;底买入: IF(VA+VB< 7 AND CROSS(V8,V9) AND V9< -18 AND V9< VB,60,50),COLORLIGREEN,DOTLINE;VC:=(2*C+H+L)/4;VD:=LLV(L,34);VE:=HHV(H,34);VF:=LLV(L,21);V10:=HHV(H,21);V11:=EMA((VC-VF)/(V10-VD)*100,5);V12:=EMA((VC-VD)/(VE-VD)*100,8);股价重心:V11,COLORWHITE;顶区:V12;STICKLINE(V11-V12+20>=20 ,V11-V12+20 ,20 ,1 ,0 ),COLORF000FF;V13:=EMA(V12,5);STICKLINE(V12>0 AND (V12-V13)>=0 ,80 ,78 ,1 ,0 ),COLORRED;STICKLINE(V12>0 AND (V12-V13)<0 ,80 ,78 ,1 ,1 ),COLORBLUE;STICKLINE(V12>0 AND (V12-V13)>=0 ,20 ,18 ,1 ,0 ),COLORRED;STICKLINE(V12>0 AND (V12-V13)<0 ,20 ,18 ,1 ,1 ),COLORBLUE;STICKLINE(V12>V13 , V12,V13,1 ,1 ),COLORGREEN;白线为股价重心,绿方块(线)为涨升动能,粉红色柱状图为多方能量。
通达信指标公式源码绝对精品 波段买点副图
该指标使用时在MACD低位同时出现“最佳买入时机”与“建仓买点”买点比较准确,当然指标不是万能的,喜欢的就拿走用吧!!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);最佳买入选股:=IF(CROSS(最佳买入,0),1,0),STICK,COLORRED;VAR1:=SMA(最佳买入选股,3,1);VAR2:=SMA(VAR1,3,1),COLOR0000FF;VAR3:=SMA(VAR2,3,1),COLOR00FFFF;建仓买点:IF(CROSS(VAR2,VAR3) AND (VAR2<40),5,0*10000),COLOR0000FF,LINETHICK2;STICKLINE(建仓买点,0,2.5,8,0),COLORRED;STICKLINE(建仓买点,0.45,4.0,2,0),COLORRED;RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 50);K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;X:=LLV(J,2)=LLV(J,8);最佳买入时机: IF(CROSS(J,3),1,0),STICK,COLORFFFF00;STICKLINE(最佳买入时机,0,1,3,0),COLOR009999;STICKLINE(最佳买入时机,0,1,2,0),COLOR00DDDD;STICKLINE(最佳买入时机,0,1,1,0),COLOR00FFFF;机构建仓: IF(最佳买入<5,-0.2,0),STICK,COLOR00FF00,LINETHICK1;机构建仓日:STICKLINE(机构建仓,0,-0.2,3,0),COLOR00FF00,LINETHICK6;。
通达信指标公式源码 精准波段买卖副图指标
Z1:=STRCAT('【',STRCAT(CODE,STKNAME));Z2:=STRCAT(' 行业:',HYBLOCK);Z3:=STRCAT(' 地域:',DYBLOCK);Z4:=STRCAT(STRCAT(' 概念:',GNBLOCK),'】');Z5:=STRCAT(Z1,Z2);Z6:=STRCAT(Z3,Z4);Z7:=STRCAT(Z5,Z6);DRAWTEXT_FIX(1,0,0.0,0,Z7),COLOR00EEEE;DRAWTEXT_FIX(1,0,0.06,0,STRCAT('【风格:',STRCAT(FGBLOCK,'】'))),COLOREEEE00; 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,COLORYELLOW; 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;DRAWTEXT(CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),(LOW*0.99),'加点仓准备吃肉'),LINETHICK3,COLORF00FF0;DRAWTEXT(CROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2)),(HIGH* 1.01),'↓猪八戒背媳妇跑'),LINETHICK3,COLORFFFFFF;STICKLINE((EMA(CLOSE,2) >=EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),LOW,HIGH,0.1,0),COLOR0000FF; STICKLINE((EMA(CLOSE,2)>=EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,OPEN,3,0),COLOR0000AA; STICKLINE((EMA(CLOSE,2)>=EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,OPEN,2,0),COLOR0000CC; STICKLINE((EMA(CLOSE,2)<EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,OPEN,2,0),COLORCCCC00; STICKLINE((EMA(CLOSE,2)<EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,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,HIGH,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,CLOSE,3,0),CO LOR00AAAA;STICKLINE((CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42))ORCROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2))),OPEN,CLOSE,2,0),CO LOR00CCCC;MAA5:MA(C,5),COLORFF00FF,LINETHICK5;MAA10:=MA(C,10);MAA30:MA(C,30),COLORRED;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.主力线:主力线是判断主力目前在现阶段是在进行加仓还是进行减仓以及是否还在持有。
2.散户线:散户线是判断目前大多数散户是在进行加仓还是减仓以及是否还在持有。
3.零轴:0轴是市场的强弱分界线,主力线以及散户线全部处于0轴之上说明市场行情目前处于强势,反之在0轴之下目前市场行情处于弱势。
4.信号:在0轴上出现了‘顶’字说明当前的上涨趋势已经见顶,有回落的风险,当出现了‘底’字就是说明当前的下跌趋势已经走完,有触底反弹的趋势,出现‘升’字说明今天是一个拉升的行情。
指标源码:LC:=REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;卖点雷达:=CROSS(85,RSI1)*30,COLOR00FF00,LINETHICK2;DRAWTEXT(CROSS(85,RSI1),20,'顶'),COLOR00FF00;STICKLINE(卖点雷达,0,20,3,0),COLOR00FF00;VARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;VARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;VARD:=BARSCOUNT(CLOSE);买点雷达:(VARB< 20 AND VARC< 25 AND VARD> 50 AND AR<70)*30,LINETHICK2,COLOR0078FF;BT1:=CROSS(RSI1,25);DRAWTEXT(BT1,-80,'底'),COLOR0000FF;STICKLINE(BT1,-100,-80,3,0),COLOR0000FF;主力:EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5,LINETHICK1,COLOR0000FF;散户:EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5,LINETHICK2,COLORC87 800;BT2:=CROSS(主力,散户) AND 主力<-10;DRAWICON(CROSS(RSI1,25),主力,26);DRAWICON(CROSS(主力,散户) AND 主力<-10,主力,23);BT:=FILTER(COUNT(BT1 OR BT2,3)>=2,3);STICKLINE(BT,0,50,4,1),COLOR0000FF;DRAWTEXT(BT,50,'金底'),COLOR0000FF;STICKLINE(BT2,0,20,3,0),COLORFF00FF;DRAWTEXT(BT2,20,'升'),COLORFF00FF;在上方的K线图中出现了见顶信号,指标也给出了见顶信号,并同时发出卖出信号,也就是主力线下穿散户线,成功卖出,锁定盈利。
通达信主力筹码一目了然副图指标
这是一个用来监控主力动向很优秀的指标,有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 ANDTGLXS<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR00AAFF;STICKLINE(TGLXS>0 ANDTGLXS<=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;100线上下的柱线,显示资金进出情况。
通达信秘密买涨点副图指标(拉线买点低位起涨)
通达信秘密买涨点副图指标(拉线买点低位起涨)通达信秘密买涨点副图指标(拉线买点低位起涨)源码{N:5,250,14;}K:=N/2;DTPL:=MA(C,N)>MA(C,N*1.5) AND MA(C,N*1.5)>MA(C,N*3) AND MA(C,3)>MA(C,N*6);连续走强:=COUNT(C>MA(C,N),K)=K;ZQSJ:=BARSLAST(连续走强);STICKLINE(连续走强 ,0 ,K*0.3 ,5 ,1 ),COLORYELLOW;下穿:=CROSS(MA(C,N),C);GL:=MA(C,N/2)/MA(C,N*2)>=1.05;跌:(下穿AND ZQSJ<=3 AND DTPL AND GL)*N,COLOR00FF00,LINETHICK1;连续走弱:=COUNT(C<MA(C,N),K)=K;ZRSJ:=BARSLAST(连续走弱);STICKLINE(连续走弱 ,0 ,K*-0.3 ,5 ,1 ),COLOR00FF00;上穿:=CROSS(C,MA(C,N));秘密买点涨:(上穿AND ZRSJ<=3)*K,COLORFF00FF,LINETHICK1;强:连续走强*K*0.3,COLORYELLOW;秘密买点弱:连续走弱*K*-0.3,COLOR00FF00;VAR6:=4*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1),3,1);VAR7:=8;准备: IF(VAR6<=8,3,0),STICK,COLORWHITE,LINETHICK2;趋势:=(5)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))* (100),5,1))-(3)*(SMA(SMA(((CLOSE-LLV(LOW,27)) /(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1))-SMA(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1),2,1);趋势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));探底趋势:IF((趋势<=5),3,0),COLORFF00FF;MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);MA60:=MA(CLOSE,60);BB:=REF(INDEXC,1)<REF(INDEXC,2) AND REF(C,2)*0.95>=REF(C,1) AND REF(O,1)/REF(C,1)>=1.05 AND REF(C,1)<REF(O,1) AND C>O AND C/O>=1.05 AND C>REF(O,1)AND REF(VOL,1)<REF(VOL,2);VAR1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);VAR2:=8;CC:=CROSS(VAR1,VAR2);DRAWTEXT(CC,5,'波段买!'),COLOR0099FF;STICKLINE(CC,1.6,4,0,0),COLORRED;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;AA:=LLV(LOW,13);风险:=80,COLORFF00FF;狼狗:=87.5,COLOR00FF00;DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);股海神偷:=DD,COLORRED,LINETHICK2;股海:=(((DD-LLV(DD,21))/(HHV(DD,13)-LLV(DD,21)))*(4))*(25);目标出现:IF(CROSS(股海,90) AND (股海神偷<40),7,0),COLOR00FFFF;控盘:= (EMA(EMA(CLOSE,9),9)-REF(EMA(EMA(CLOSE,9),9),1))/REF(EMA(EMA(CLOSE,9),9),1)*400;A10:=CROSS(控盘,0);开始控盘:IF(A10,5,0),LINETHICK1,COLORYELLOW;{波段王抄底}{结合波段王指标}趋势线:=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);CROSS(趋势线,10) AND 趋势线>=REF(MA(趋势线,10),1);A1:=REF(CLOSE,2);A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100;波段介入:IF(A2<19,4.5,0),COLORWHITE;VAR8:=(CLOSE-LLV(LOW,60.135))/(HHV(HIGH,60.135)-LLV(LOW,60))*80;VAR9:=SMA(VAR8,7,1);VARA:=SMA(VAR9,5,1);底1: IF(CROSS(VAR9,VARA) AND VAR9<20,4,0);买入: IF(CROSS((4*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1)- 3*SMA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1),3,1)),(8)),7,0),STICK,COLOR0099FF,LINETHI CK2;DRAWTEXT(买入,7.98,'-我买'),COLOR66FFCC;VAR10:=LLV(LOW,10);VAR13:=HHV(HIGH,25);M:=EMA((CLOSE-VAR10)/(VAR13-VAR10)*4,4)*25,COLORYELLOW,;RSV10:= (HHV(HIGH,11)-CLOSE)/(HHV(HIGH,11)-LLV(LOW,11))*100;LWR1:=SMA(RSV10,3,1),COLORRED,LINETHICK2;LWR2:=SMA(LWR1,3,1),COLORWHITE;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;很准杀入:CROSS(RSI,11)*7,COLORRED;K2:=EMA(C,5),COLORFFFF00;K3:=EMA(C,10),COLORFFFF00;K5:=EMA(C,30),COLORFFFF00;KK5:=EMA(INDEXC,30),COLO RFFFF00;K6:=2*(K2-K5);K7:=2*(K2-K3);K8:=2*(K7+K6),COLORRED;STICKLINE(CROSS(K8,0),0,3,8,0) ,COLORRED;K1:=IF(K8>REF(K8,5) AND K3<REF(K3,5) ,1,0 ),COLORYELLOW;K21:=IF(K8>REF(K8,7) AND K3<REF(K3,7) ,1,0 ),COLORYELLOW;K31:=IF(K8>REF(K8,9) AND K3<REF(K3,9) ,1,0 ),COLORYELLOW;K4:=IF(K8>REF(K8,11) ANDK3<REF(K3,11) ,1,0 ),COLORYELLOW;底部:STICKLINE((K1 OR K21 OR K31 OR K4) AND K8<0 AND K8>REF(K8,1),1.5,0,8,0),COLORYELLOW;A:=(3*CLOSE+LOW+OPEN+HIGH)/6;D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF( A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*R EF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*RE F(A,17)+2*REF(A,18)+REF(A,20))/211;D2:=EMA(D1,2);D3:=EMA(D2,2);波段买入:IF(CROSS(D1,K1),5,0),COLOR0099FF,POINTDOT;STICKLINE(CROSS(D1,K1),5,0,4,0),COLOR0099FF;多方趋势:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),2,1);VAR1D:=EMA(CLOSE,2)-EMA(CLOSE,89);VAR1E:=EMA(VAR1D,30);VAR1F:=2*(VAR1D-VAR1E)*10;VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2);VAR25:=IF(VAR1F>0.015,VAR20,0)/45;拉线:=VAR25,COLORYELLOW ;拉线区:IF(拉线>0, 3,0), COLOR00FF00;拉线买点:IF(拉线>0 AND REF(拉线,1)=0,2,0),COLORFFFF00,STICK ;DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));DEA:=EMA(DIFF,9),COLORFF00FF,LINETHICK1;CD:=2*(DIFF-DEA),COLORSTICK,LINETHICK1;低位起涨:IF(DIFF<0,2,0),COLORFFFF00,LINETHICK1;。
通达信精准买卖点副图指标
通达信精准买卖点副图指标STICKLINE(CURRBARSCOUNT=1 ,105,0,5,0),COLOR0000FF;F1:=ZIG(3,12);价差12:=IF((F1> REF(F1,1)),-5,105);STICKLINE(价差12>-80 , 价差12,0 ,4,0),COLOR662290,LINETHICK1;F2:=ZIG(3,6);价差6:=IF((F2> REF(F2,1)),-5,105);STICKLINE(价差6>-80 , 价差6,0,4,0),COLOR993300,LINETHICK1;VAR11:=(HHV(INDEXH,27)-INDEXC)/(HHV(INDEXH,27)-LLV(INDEXL,27))*100;大盘线:SMA(VAR11,3,1)*(-1)+100,COLORRED,LINETHICK1;VAR1F:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);VAR21:=SMA(VAR1F,3,1);趋势:=SMA(VAR21,3,1);人气:=SMA(趋势,3,1);顶天立地:= CROSS(趋势,人气) AND (趋势<30);DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);A:=IF(CROSS(0,DEA),1,0);A1:=IF(DIFF<0 AND CROSS(DIFF,DEA),1,0);SS:=IF(A,SUM(A1,0),0);SSB:=HHV(SS,0);SSS:=SUM(A1,0);笑傲江湖:= SSS-SSB=2 AND SSS>REF(SSS,1),COLORWHITE;VAR51:=EMA(CLOSE,8);VAR52:=EMA(VAR51,20);VAR53:=CROSS(VAR51,VAR52);VAR54:=VAR51< EMA(CLOSE,120);黑马起步:= VAR53 AND VAR54;VAR41:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR42:=SMA(ABS(LOW-VAR41),13,1)/SMA(MAX(LOW-VAR41,0),10,1);VAR43:=EMA(VAR42,10);VAR44:=LLV(LOW,33);VAR45:=EMA(IF(LOW<=VAR44,VAR43,0),3);主力进场:= VAR45>REF(VAR45,1),NODRAW;MA5 := MA(CLOSE,5);MA10 := MA(CLOSE,10);MA13:=MA(C,13);MA20:=MA(CLOSE,20);MA40:=MA(CLOSE,40);MA60 := MA(CLOSE,60);NA1:=MIN(MA(C,5),MA(C,10))>MA(C,60) AND CROSS(MA(C,5),MA(C,10));NA2:=MIN(MA(C,5),MA(C,10))/MA(C,60)<1.05;NA3:=COUNT(V<MA(V,10),10)>6;青龙取水:= NA1 AND NA2 AND NA3;VAR32:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;VAR33:=SMA(SMA(VAR32,3,1),3,1)/28.57;VAR34:=EMA(VAR33,5);VAR35:=3*VAR33-2*VAR34;绝买:= CROSS(VAR35,VAR33) AND VAR33<2.1 AND C>O;SS1:=(LOW+HIGH+CLOSE*2)/4;SS2:= MA(SS1,4);SS3:=HHV(SS2,10);SS4:=MA(SS3,3);SS5:=1.25*SS4-0.25*SS3;XKKJ:=IF(SS5>SS3,SS3,SS5);FF1:=LLV(SS2,10);FF2:=MA(FF1,3);FF3:=1.25*FF2-0.25*FF1;DKKJ:=IF(FF3<FF1,FF1,FF3);ZDHM:=CROSS(C,DKKJ) AND CROSS(C,MA13) AND CROSS(C,XKKJ);ZHM:=CROSS(C,MA13) AND CROSS(C,XKKJ);的卢:= ZDHM OR ZHM;A11:=OPEN<MA20 OR OPEN<MA40 OR OPEN<MA60;A12:=C>MAX(MA20,MAX(MA40,MA60));A13:=V/MA(V,30)>1.2;A14:=C/REF(C,1)>1.049;芙蓉:= A11 AND A12 AND A13 AND A14;J:=(C*2+H+L)/4;K:=(EMA(J,13) - EMA(J,21))*180;D:=EMA(K,2);KK:=(K-D);DD:=-1*(K-D);SSA:=CROSS(KK,DD);VARBB:=EMA(EMA(CLOSE,5),5);LL:=(VARBB-REF(VARBB,1))/REF(VARBB,1)*1000;MM:=CROSS(LL,0);黄买蓝出:=SSA AND MM;VAR1G:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;KG:=SMA(VAR1G,3,1);DG:=SMA(KG,3,1);低位金叉:= DG<20 AND CROSS(KG,DG);起死回生:= BARSLAST(低位金叉)<=9 AND BARSLAST(低位金叉)>2 AND CROSS(DG,KG) AND DG<30;V1:=(HIGH+OPEN+LOW+(2)*(CLOSE))/(5);V2:=REF(V1,1);V3:=MAX(V1-V2,0);V4:=ABS(V1-V2);V5:=SMA(V3,10,1);V6:=SMA(V4,10,1);V8:=COUNT(((V5)/(V6)<0.2),5);V9:=COUNT((LLV(V1,10)=V1),10);底部构成:=IF((V8>=1) AND (V9>=1) AND (CLOSE>OPEN) AND (REF(CLOSE,1)>REF(OPEN,1)) AND (VOL>REF(VOL,1)),1,0),COLOR00FFFF;腰线:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24 ))/4;KKD:=EMA(CLOSE-LOW,5);顶线:=MA((CLOSE+REF(CLOSE,1)+REF(CLOSE,1))/3+KKD,5);底线:=MA(REF(CLOSE,1)-KKD,5);MA2:=MA(CLOSE,2);EE:=(CROSS(MA2,MA10) AND CROSS(MA2,MA20),1);超级战神:=腰线>OPEN AND OPEN>底线AND CLOSE>顶线AND CLOSE>MA20 AND CLOSE>腰线 AND EE;MA30:=MA(C,30);MA120:=SMA(C,120,1);ZH520:=ABS(MA5-MA20)/MA20*100<=10;ZH530:=ABS(MA5-MA30)/MA30*100<=10;QSXS1:=MA5>REF(MA5,1);QSXS2:=MA20>REF(MA20,1);QSXS3:=MA30>REF(MA30,1);DTPL:=MA20>MA30 AND MA30>MA120;LYT:=DTPL AND QSXS2 AND QSXS3 AND COUNT(QSXS1,4)<=1;GJHS:=C>MA5 AND ((QSXS1 AND NOT(REF(QSXS1,1))) OR C>REF(C,3));LYKK:=GJHS AND (ZH520 OR ZH530) AND LYT;买:=LYKK AND NOT(REF(LYKK,1));老鸭头优选:=买 AND COUNT((MA10>MA20),5)=5;AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;AA5:=SMA(AA4,13,8);趋势1:=(5)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(3)*(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1))-SMA(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1),2,1);底部:=5;AA3:=WINNER(CLOSE+CLOSE*15/100)*100;BB3:=WINNER(CLOSE+CLOSE*0/100)*100;CC3:=AA3-BB3;DD3:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;EE3:=CC3<3 AND DD3<0.5 AND OPEN<LOW;A21:=DYNAINFO(6);A22:=IF(LOW>A21,0,IF(HIGH<A21,1,(A21-LOW+0.01)/(HIGH-LOW+0.01)));A23:=VOL/WINNER(LOW);A24:=REF(HHV(CLOSE,120),1);A25:=REF(LLV(CLOSE,120),1);A26:=100*(CLOSE-A25)/(A24-A25);A27:=A22>0 OR A22=1;A28:=A27 AND A23/REF(A23,3)>=3 AND A26<80;A29:=REF(A28,1) OR REF(A28,2) OR REF(A28,3) OR REF(A28,4);A30:=A28 AND A29;A31:=IF(FILTER(A28,3),5,0);A32:=IF(FILTER(A30,3) OR EE3,10,0);N:=13;N1:=6;N2:=14;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;MA75:=MA(CLOSE,75);LC:=REF(C,1);K9:=SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1);D9:=SMA(K9,3,1);J9:=3*K9-2*D9;JJ:=J9*0.1;TYP := (HIGH + LOW + CLOSE)/3;CC1:=(TYP-MA(TYP,N2))/(0.015*AVEDEV(TYP,N2)),COLORFF00FF;C11:=SMA(CC1,3,1);C12:=SMA(C11,3,1);C13:=3*C11-2*C12;CB1:=EMA(C13,5);RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;RSI:=(RSI1-50)*5,LINETHICK2,COLORFFFFFF;R1:=SMA(RSI,3,1);D11:=SMA(R1,3,1);J1:=3*R1-2*D11;RR1:=EMA(J1,5);RR2:=REF(RR1,1);RR:=RR1>RR2;KR:=SMA(RSV,3,1);K1:=(KR-50)*5,COLOR00FF00;K2:=SMA(K1,3,1);D12:=SMA(K2,3,1);J2:=3*K2-2*D12;BB1:=EMA(J2,5);买入:=RR AND NOT(REF(RR,1)) AND (RR1<-100 AND BB1<-100) AND CB1<-100,LINETHICK0;VAR2:=INDEXADV;VAR3:=INDEXDEC;VAR4:=VAR2/(VAR2+VAR3);VAR5:=VAR3/(VAR2+VAR3);VAR6:=EMA(VAR4,3);VAR7:=EMA(VAR5,3);VAR8:=EMA(VAR6,5);VAR9:=EMA(VAR7,5);进场资金:= EMA(VAR8,10)/150 ,CIRCLEDOT,COLORRED;资金:= EMA(VAR9,10)/150, CIRCLEDOT,COLORGREEN;大盘神针:=(SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,3)),7,1)*100<20 AND SMA(MAX(CLOSE-REF(CLOSE,3),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,3)),13,1)*100<25 AND MA((LLV(LOW,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45))*100,5)>-19 AND (LOW>LLV(LOW,5) AND (CLOSE-HHV(CLOSE,8))/HHV(CLOSE,8)<-0.05 ANDMA(AMOUNT,125)/MA(VOL,125)/(MA(AMOUNT,5)/MA(VOL,5)) >1.12))*0.75;西买:=BARSLAST(大盘神针)<15 AND CROSS(MACD.DIF,MACD.DEA);底:=BARSLAST(LLV(L,4)=LLV(L,120))<5;均线买:=CROSS(MA(C,5),MA(C,20));介入:=(底 AND 均线买 AND (进场资金>资金) OR 西买);AC:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19)+100;BC:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))+100;DC:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4)+100;大底:=(AC<15 AND REF(AC,1)<15 AND DC<18 AND BC>REF(BC,1) AND CROSS(BC,AC) AND BC>DC AND (REF(BC,1)<5 OR REF(BC,2)<5 ) AND (DC>=AC OR REF( BC,1)<1 ));VAR17:=REF(CLOSE,1);VAR18:=SMA(MAX(CLOSE-VAR17,0),7,1)/SMA(ABS(CLOSE-VAR17),7,1)*100;VAR19:=SMA(MAX(CLOSE-VAR17,0),13,1)/SMA(ABS(CLOSE-VAR17),13,1)*100;VAR1A:=BARSLAST(VAR19<33)<=3 AND CROSS(VAR18,VAR19);VAR1B:=(CLOSE-MA(CLOSE,33))/MA(CLOSE,20)*100<-12.5;VAR1C:=LLV(LOW,5);VAR1D:=HHV(HIGH,10);VAR1E:=EMA((CLOSE-VAR1C)/(VAR1D-VAR1C)*100,4);VAR1FW:=EMA(0.667*REF(VAR1E,1)+0.333*VAR1E,2);难得一遇:= 0-(-1)*VAR1A AND VAR1B ANDCROSS(VAR1E,VAR1FW) AND VAR1E<=25;VAR22:=REF(CLOSE,1);VAR23:=SMA(MAX(CLOSE-VAR22,0),7,1)/SMA(ABS(CLOSE-VAR22),7,1)*100;VAR24:=SMA(MAX(CLOSE-VAR22,0),13,1)/SMA(ABS(CLOSE-VAR22),13,1)*100;VAR25:=BARSLAST(VAR24<23)<=3 AND CROSS(VAR23,VAR24);VAR26:=(CLOSE-MA(CLOSE,23))/MA(CLOSE,20)*100<-12.5;VAR27:=LLV(LOW,5);VAR28:=HHV(HIGH,10);VAR29:=EMA((CLOSE-VAR27)/(VAR28-VAR27)*100,4);VAR2A:=EMA(0.667*REF(VAR29,1)+0.333*VAR29,2);千载难逢:= 0-(-1)*VAR25 AND VAR26 AND CROSS(VAR29,VAR2A) AND VAR29<=25;大盘6日:=(INDEXC-MA(INDEXC,6))/MA(INDEXC,6)*100;大盘12日:=(INDEXC-MA(INDEXC,12))/MA(INDEXC,12)*100;大盘24日:=(INDEXC-MA(INDEXC,24))/MA(INDEXC,24)*100;大盘60日:=(INDEXC-MA(INDEXC,60))/MA(INDEXC,60)*100;大盘:=(大盘6日 + 大盘12日 + 大盘24日)/3;大盘2:=(大盘6日 + 大盘12日 + 大盘24日+ 大盘60日)/4;个股6日:=(C-MA(C,6))/MA(C,6)*100;个股12日:=(C-MA(C,12))/MA(C,12)*100;个股24日:=(C-MA(C,24))/MA(C,24)*100;个股60日:=(C-MA(C,60))/MA(C,60)*100;个股:=(个股6日 + 个股12日 + 个股24日)/3;个股2:=(个股6日 + 个股12日 + 个股24日+ 个股60日)/4;强势出击:=(大盘>REF(大盘,1) AND CROSS(个股,大盘))OR(大盘2>REF(大盘2,1) AND CROSS(个股2,大盘2));STICKLINE(A31,50,0,1,0),COLORFF7700;STICKLINE(A32,30,0,1,0),COLORFF00FF;STICKLINE(主力进场,0,-5,4,0),COLORRED;走势:CEILING(SMA(AA5,13,8));DRAWTEXT(老鸭头优选,100,'优'),COLORYELLOW;DRAWTEXT(顶天立地,100,'顶'),COLORYELLOW;DRAWTEXT(黄买蓝出,90,'黄买'),COLORYELLOW;DRAWTEXT(超级战神,80,'战神'),COLORYELLOW;DRAWTEXT(的卢,70,'的卢'),COLORYELLOW;DRAWTEXT(笑傲江湖,60,'笑'),COLORYELLOW;DRAWTEXT(绝买,50,'绝买'),COLORYELLOW;DRAWTEXT(芙蓉,40,'芙蓉'),COLORYELLOW;DRAWTEXT(青龙取水 ,30 , '龙'),COLORYELLOW;DRAWTEXT(黑马起步,30,'马'),COLORYELLOW;DRAWTEXT(难得一遇>0 AND 千载难逢>0,20,'难逢'),COLORYELLOW;DRAWTEXT(大盘神针,20,'神针'),COLORFFFF00;DRAWTEXT(买入 AND JJ<8 AND REF(CCI,1)<-120 AND C>O AND CONST(IF(C>=MA75,1,0)),20,'东买'),COLORWHITE;DRAWTEXT(大底,20,'大底')COLORYELLOW;DRAWTEXT(介入,10,'长买'),COLORWHITE;DRAWTEXT(买入,10,'短买'),COLORWHITE;DRAWTEXT(底部构成,3,'底'),COLORYELLOW;DRAWTEXT(低位金叉,3,'低'),COLORYELLOW;DRAWTEXT(起死回生,-3,'起'),COLORYELLOW;DRAWTEXT((CROSS(趋势1,底部)),-3,'▲'),COLORYELLOW;DRAWTEXT(强势出击,40,'强势'),COLORFFFFFF;DRAWTEXT(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),30,'地量'),COLOR33FFFF;STICKLINE(CURRBARSCOUNT=55,105,-5,62,0),COLOR333344;STICKLINE(CURRBARSCOUNT=55,105,95,62,0),COLORYELLO W;DRAWTEXT(CURRBARSCOUNT=59,100,'☆东家专用精选买点 36个☆'),COLORRED;DRAWTEXT(CURRBARSCOUNT=59,90,'东买=东家买绝买的卢神针 '),COLORGREEN;DRAWTEXT(CURRBARSCOUNT=59,80,'芙蓉=出水芙蓉马=黑马起步 '),COLORGREEN;DRAWTEXT(CURRBARSCOUNT=59,70,'战神=超级战神龙=青龙取水 '),COLORGREEN;DRAWTEXT(CURRBARSCOUNT=59,60,'优=老鸭头优选笑=笑傲江湖 '),COLORGREEN;DRAWTEXT(CURRBARSCOUNT=59,50,'黄买=黄买蓝出低=低位金叉 '),COLORGREEN;DRAWTEXT(CURRBARSCOUNT=59,40,'长买=长线稳买顶=顶天立地'),COLORGREEN;DRAWTEXT(CURRBARSCOUNT=59,30,'短买=金兰三宝起=起死回生 '),COLORGREEN;DRAWTEXT(CURRBARSCOUNT=59,20,'红底=主力吸筹底=底部构成'),COLORGREEN;DRAWTEXT(CURRBARSCOUNT=59,10,'蓝柱=主力进攻红柱=主力加仓'),COLORGREEN;DRAWTEXT(CURRBARSCOUNT=59,0,'▲底部大底枯木逢春千载难逢'),COLORGREEN;DRAWTEXT(ISLASTBAR AND A31,80,' 主力进攻'),COLORYELLOW;DRAWTEXT(ISLASTBAR AND A32,30,' 主力加仓'),COLORYELLOW;DRAWTEXT(ISLASTBAR AND (F1> REF(F1,1)),-3,' 上升趋势'),COLORYELLOW;DRAWTEXT(ISLASTBAR AND (F1<= REF(F1,1)),-3,' 下跌趋势'),COLORYELLOW;。
通达信精准抄底副图指标公式
M:=-15;P:=-20;VAR1:=((LLV(LOW,5) = LLV(LOW,45)) AND (CLOSE >= (OPEN * 1.04)));VAR2:=(CLOSE > ((REF(HIGH,1) + REF(LOW,1)) / 2));VAR3:=REF(CLOSE,1);VAR4:=((SMA(MAX((CLOSE - VAR3),0),6,1) / SMA(ABS((CLOSE - VAR3)),6,1)) * 100);红白出现可追涨:(VAR1 AND VAR2)*80,STICK,COLORFFFFFF;R1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;R2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;R3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;R4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;R5:=(R2+2*R3+3*R4)/6;R6:=MA(R5,3);VAR1A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR2A:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR3A:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR4A:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR5A:=(VAR2A+2*VAR3A+3*VAR4A)/6;VAR6A:=MA(VAR5A,3);绿白出现可以买: STICKLINE(VAR6A<=P,60,0,2,0),COLORGREEN;BIAS := (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100;ENTERLONG:=CROSS(-14,BIAS);青白出现可以买:STICKLINE(ENTERLONG,0,99,1,0),COLORCYAN;MID := MA(CLOSE,26);LOWER:= MID - 2*STD(CLOSE,26);EN:=CROSS(CLOSE,LOWER);紫白出现可追涨:STICKLINE(EN,0,40,4,0),COLORFF00FF;VAR2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));MW:= EMA(VAR2W,3);VAR3W:=EMA(VAR2W,7);M1:= EMA(VAR3W,5);MB1:=CROSS(MW,M1) AND M1<20;黄白出现可追涨:IF((MB1),90,0),STICK,COLORYELLOW;VAD1:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);VAD2:=INDEXC;VAD3:=INDEXC;VAD4:=CLOSE/MA(CLOSE,50)<0.74;VAD5:=(CLOSE/MA(CLOSE,40)<0.78 OR CLOSE/MA(CLOSE,60)<0.74) AND HIGH>LOW*1.049;VAD6:=EMA(WINNER(CLOSE)*70,3);VAD7:=CLOSE/MA(CLOSE,40);VAD8:=MA(VAD2,6);VAD9:=MA(VAD3,6);VAD10:=HIGH>LOW*1.048;VAD11:=MA(CLOSE,27)/CLOSE>1.169 AND MA(CLOSE,17)/CLOSE>1.158 ANDCLOSE/COST(5)<=0.8;VAD12:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);VAD13:=LOW*1.051<HIGH;VAD14:=MA(VAD2,24);VAD15:=MA(VAD3,24);VAD16:=VAD10 AND COUNT(VAD10,4)>2;VAD17:=EMA(CLOSE,30);VAD18:=CLOSE/MA(CLOSE,40)*100<76;VAD19:=VAD13 AND COUNT(VAD13,5)>1;VAD20:=MA(VAD2,32);VAD21:=MA(VAD3,32);VAD22:=VAD16 AND (VAD4 OR VAD4);VAD23:=VAD5 AND VAD11 AND VAD17;VAD24:=CLOSE/MA(CLOSE,60)*100<74;VAD25:=INDEXC;VAD26:=MA(VAD2,62);VAD27:=MA(VAD3,62);VAD28:=DMA(EMA(CLOSE,10),SUM(VOL,5)/3/CAPITAL);VAD29:=HIGH>LOW*1.051;VAD30:=MA(VAD25,5);VAD31:=MA(VAD2,105);VAD32:=MA(VAD3,105);VAD33:=REF(HIGH,10)/CLOSE>1.26;VAD34:=VAD29 AND COUNT(VAD29,5)>1;VAD35:=MA(VAD25,20);VAD36:=VAD26<REF(VAD26,1) AND VAD31<REF(VAD31,1) AND VAD26<VAD31*0.98; VAD37:=VAD27<REF(VAD27,1) AND VAD32<REF(VAD32,1) AND VAD27<VAD32*0.98; VAD38:=CLOSE/VAD28<0.65 AND VAD33;VAD39:=VAD34 AND (VAD18 OR VAD24) AND VAD12<20 AND VAD6<20 AND (WINNER(CLOSE*125/100)-WINNER(CLOSE))*100<7.5;VAD40:=(VAD1<6 AND VAD7<0.76 AND VAD19)*70;VAD41:=VAD20>VAD8*1.11 AND VAD14>VAD8*1.095;VAD42:=VAD21>VAD9*1.11 AND VAD15>VAD9*1.095;VAD43:=REF(CLOSE,8);VAD44:=VAD8>VAD2*0.95;VAD45:=VAD9>VAD3*0.95;VAD46:=VOL/CAPITAL;VAD47:=VAD36 AND VAD41 AND VAD44 AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)); VAD48:=CLOSE/MA(CLOSE,48)*100<67;VAD49:=(EMA(CLOSE,28)-EMA(CLOSE,13))/EMA(CLOSE,28);VAD50:=CLOSE/MA(CLOSE,50)*100<69;VAD51:=CLOSE/VAD43<0.79 AND MA(VAD46,5)<0.02 AND VAD49>0.06;VAD52:=HIGH>LOW*1.078;VAD53:=VAD22 AND (VAD38 OR VAD51);VAD54:=VAD52 AND COUNT(VAD52,4)>2;VAD55:=VAD54 AND (VAD48 OR VAD50) OR VAD37 AND VAD42 AND VAD45 AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1));AA:=VAD23 OR VAD39 OR VAD40 OR VAD47 OR VAD53 OR VAD55 OR (CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100<-15 AND (MIN(OPEN,CLOSE)-LOW)/LOW*100>0.1 AND MA((HHV(HIGH,5)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,13))*100,5)<60;STICKLINE(AA,0,99,1,0),COLORCYAN;VAR1B:=INDEXC;VAR2B:=MA(VAR1B,6);VAR3B:=MA(VAR1B,24);VAR4B:=MA(VAR1B,32);VAR5B:=MA(VAR1B,62);VAR6B:=MA(VAR1B,105);VAR7B:=VAR5B<REF(VAR5B,1) AND VAR6B<REF(VAR6B,1) AND VAR5B<VAR6B*0.98; VAR8B:=VAR4B>VAR2B*1.11 AND VAR3B>VAR2B*1.095;VAR9B:=VAR2B>VAR1B*0.95;中:=VAR7B AND VAR8B AND VAR9B AND CLOSE/COST(10)<=1 AND(CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) ORREF(CLOSE,1)<REF(OPEN,1));VAR1N:=MA(CLOSE,5);VAR2N:=MA(CLOSE,10);VAR3N:=(VAR1N-CLOSE)/CLOSE>3/100;VAR4N:=(VAR2N-VAR1N)/VAR1N>0.03;VAR5N:=LLV(CLOSE,30)=LLV(CLOSE,120);部:=VAR3N AND VAR4N AND VAR5N;{绿白出现可以买}门:=中=1 AND 部=1 ;STICKLINE(门,60,0,2,0),COLORGREEN;底部:IF(R6<M,20,0),LINETHICK1 , COLORWHITE;。
通达信指标公式源码很准的价量主副图指标
通达信指标公式源码很准的价量主副图指标VAR1111:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);VAR2222:=CROSS(VAR1111,0.9);VAR3333:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);VAR4444:=CROSS(VAR3333,0.9);压⼒:= REF(HIGH,BARSLAST(VAR2222));STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2222))*1.0005,REF(HIGH,BARSLAST(VAR2222))*0.9995,2,0),COL OREA91B5,LINETHICK3;⽀撑:= REF(LOW,BARSLAST(VAR4444));STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR4444))*1.0005,REF(LOW,BARSLAST(VAR4444))*0.9995,2,0),COL OR00B4FF,LINETHICK3;GJ:=(C+H+L+O)/4;明⽇阻⼒:=L+(GJ-L)+(C-L),LINETHICK0;明⽇⽀撑:=L+(C-GJ),LINETHICK0;今⽇阻⼒:REF(明⽇阻⼒ , 1),LINETHICK0;今⽇⽀撑:REF(明⽇⽀撑 , 1),LINETHICK0;STICKLINE(ISLASTBAR AND C>=今⽇阻⼒,今⽇阻⼒*1.001,今⽇阻⼒*0.999,10,0),LINETHICK2,COLOR0000FF;展开全⽂STICKLINE(ISLASTBAR AND C<今⽇阻⼒,今⽇阻⼒*1.001,今⽇阻⼒*0.999,10,0),LINETHICK2,COLOR00FF00; STICKLINE(ISLASTBAR AND C>=今⽇⽀撑,今⽇⽀撑*1.001,今⽇⽀撑*0.999,10,0),LINETHICK2,COLORFF00FF; STICKLINE(ISLASTBAR AND C<今⽇⽀撑,今⽇⽀撑*1.001,今⽇⽀撑*0.999,10,0),LINETHICK2,COLORFF8800; CLOSE3:=REF(CLOSE,3);CLOSE5:=REF(CLOSE,5);CLOSE7:=REF(CLOSE,7);CLOSE8:=REF(CLOSE,8);CLOSE13:=REF(CLOSE,13);CLOSE21:=REF(CLOSE,21);JC:=(REF(C,3)+REF(C,5)+REF(C,7)+REF(C,8)+REF(C,13)+REF(C,21))/6;参考价:SMA(JC,5,1), CIRCLEDOT,COLORGREEN;价:IF(C>=参考价,参考价,参考价*0.98 ), CIRCLEDOT,COLOR0000FF; AA:=IF(C>=REF(C,3),1,0);BB:=IF(C>=REF(C,5),1,0);CC:=IF(C>=REF(C,7),1,0);DD:=IF(C>=REF(C,8),1,0);EE:=IF(C>=REF(C,13),1,0);FF:=IF(C>=REF(C,21),1,0);GZ2:=AA+BB+CC+DD+EE+FF;KK:=0;KK1:=KK+REF(GZ2,1)+REF(GZ2,2)+REF(GZ2,3)+REF(GZ2,4); KKK:=KK1/4;今⽇保护价:(REF(C,1)+REF(C,2)+O)/3,COLOR0099FF;CV:=CLOSE;⽜熊分界:(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;次⽇⼼理价:(REF(C,1)+C*2+(C-(H+L+O)/3))/3,LINETHICK0;了结:EMA(EMA(EMA(HIGH,5),5),5)*1.15,LINETHICK0;风险: EMA(EMA(EMA(HIGH,5),5),5)*1.1,LINETHICK0;反弹: EMA(EMA(EMA(HIGH,5),5),5)*0.95,LINETHICK0;AAF:LLV(LOW,34),LINETHICK1,COLORFFFFCC;BBF:MA(AAF,4),LINETHICK1,COLORYELLOW;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100; VARA:=((AMOUNT)/(VOL))/(100);VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);VARC:=((SUM(AMOUNT,7))/(VARA))/(100);VARD:=DMA(VARB,(VOL)/(VARC));VARD:=DMA(VARB,(VOL)/(VARC));VARE:=((CLOSE-VARD)/(VARD))*(100);VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);VARJ:=MA(VARE,20)+STD(VARE,20);SJ:=BARSCOUNT(C)+1;AA1:=SMA(VARF,3,1);BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;FF1:=BB1 AND CC1 AND DD1 AND EE1;DRAWTEXT(FF1,(LOW* 0.97),'⽼⿏仓'),COLOR4080FF;DATA:=5;{多头买⼊} DRAWICON(ZIG(3,DATA)>REF(ZIG(3,DATA),1)AND REF(ZIG(3,DATA),1)<=REF(ZIG(3,DATA),2)AND REF(ZIG(3,DATA),2)<=REF(ZIG(3,DATA),3),L*0.98,1);{多头卖出} DRAWICON(ZIG(3,DATA)<REF(ZIG(3,DATA),1)AND REF(ZIG(3,DATA),1)>=REF(ZIG(3,DATA),2)AND REF(ZIG(3,DATA),2)>=REF(ZIG(3,DATA),3),H*1.02,2);{预测明天}XXS:=MA(LOW,5)*(1-5/100);XXS1:=MA(HIGH,5)*(1+5/100);均线:=C,COLORGREEN;BBAA:=CROSS(XXS1,C);DRAWTEXT(CROSS(XXS1,C),H,'开盘逃'),COLORWHITE;VAR11:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14)))); VAR21:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));VAR31:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34)); DRAWICON(CROSS(VAR21,MA(VAR31,6)),(LOW - (LOW*0.04)),7);DRAWICON(CROSS(MA(VAR31,6),VAR11),(HIGH+(HIGH*0.03)),8);。
通达信副图买点卖(附源码)
通达信副图买点卖(附源码)通达信副图买点(附源码)大机构仓位:100*(1-WINNER(CLOSE)),COLORGREEN,LINETHICK1;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,LINETHICK1;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);DRAWTEXT(CROSS(VAR20,0.5) AND COUNT(VAR20=1,10)=1,90,'') , COLORCYAN;VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;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 RBLUE,LINETHICK5;DRAWTEXT(卖,55,'逃顶 '),COLORBLUE;V92:=TROUGHBARS(3,15,1)<10; V11:=IF(V92=1,50,0);底部:= IF(V11=50,50,0);买:IF( 底部>REF(底部,1),40,0),COLORRED,LINETHICK5;DRAWTEXT(买,55,'抄底 '),COLORRED;V7:=TROUGHBARS(3,15,1)<10; V9:=IF(V7=1,50,0);AA1:=(O+H+L+C)/4;BB1:=MA(AA1,3);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,LINETHICK1;空: EMA(多,3),COLORGREEN,LINETHICK1;DRAWTEXT(W=1,多*-0.4,'卖点' ),COLORBLUE;DRAWTEXT(D=1,多*-0.4,'▲买点'),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,5,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,LINETHICK6;。
通达信公式抓强势牛股副图指标
通达信公式抓强势牛股副图指标只要买和抄底信号同时出现,再配合趋势成45角向上那这票就有戏了,你就等着吃肉吧!趋势: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),COLORFF00FF,LINETHICK3;买:IF(趋势<=10,15,0),LINETHICK2,COLORFF00FF;DRAWTEXT(趋势<=10,10,'买'),COLORFF00FF;VAR1:=HHV(HIGH,9)-LLV(LOW,9);VAR2:=HHV(HIGH,9)-CLOSE;VAR3:=CLOSE-LLV(LOW,9);VAR4:=VAR2/VAR1*100-70;VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60));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);VAR12:=EMA((VAR6-VAR8)/(VAR11-VAR8)*100,13);VAR13:=EMA(0.667*REF(VAR12,1)+0.333*VAR12,2);DRAWBAND(VAR12,RGB(255,0,0),VAR13,RGB(256,200,0));A1:=HHV(HIGH,50)/LLV(LOW,100)>1.5;A2:=(HHV(HIGH,50)-LOW)/(HHV(HIGH,50)-LLV(LOW,100));A3:=(LOW-LLV(LOW,100))/(HHV(HIGH,50)-LLV(LOW,100));A4:=HHVBARS(HIGH,50)<LLVBARS(LOW,100);A5:=A1 AND A2>0.5 AND A3>0.3 AND A4;A6:=COUNT(A5,20)=1;抢反弹:A6 AND A5;STICKLINE(抢反弹,0,20,4,0),COLOR009999;STICKLINE(抢反弹,0,20,2,0),COLOR00BBBB;STICKLINE(抢反弹,0,20,1,0),COLOR00DDDD;STICKLINE(抢反弹,0,20,0.4,0),COLOR00FFFF;DRAWTEXT(抢反弹,22,'抢反弹'),COLOR00BBFF;VAR2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));MW:= EMA(VAR2W,3);VAR3W:=EMA(VAR2W,7);M1:= EMA(VAR3W,5);MB1:=CROSS(MW,M1) AND M1<20;抄底:IF((MB1),20,0),LINETHICK2,COLORRED;DRAWTEXT(CROSS(MW,M1) AND M1<20,22,'★抄底'),COLORRED;卖出:IF(趋势>=98,85,95),LINETHICK3,COLORFF0000;DRAWTEXT(趋势>=98,85,'卖出'),COLORFF0000;{DRAWICON(CROSS(80,趋势),80,2);}买入:买 AND 抄底;STICKLINE(买入,0,30,4,0),COLOR000099;STICKLINE(买入,0,30,2,0),COLOR0000BB;STICKLINE(买入,0,30,1,0),COLOR0000DD;STICKLINE(买入,0,30,0.4,0),COLOR0000FF;DRAWTEXT(买入,35,'买入'),COLORFFFFFF;拉升:=CROSS(趋势,VAR12) AND VAR12<60;DRAWICON(拉升,VAR12,23);DRAWTEXT(拉升,趋势,'拉升'),COLORFFFFFF;。