通达信主力建仓买卖极品指标 副图精品 无未来

合集下载

通达信超级主力建仓和仓位副图指标公式

通达信超级主力建仓和仓位副图指标公式

通达信超级主力建仓和仓位副图指标公式大机构仓位: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;。

通达信主力筹码一目了然副图指标

通达信主力筹码一目了然副图指标

通达信主力筹码一目了然副图指标这是一个用来监控主力动向很优秀的指标,有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线高低的柱线,表现资金收支情形。

通达信简单实用的看盘辅助工具 优化五行量化指标 绝无未来 源码副图 贴图

通达信简单实用的看盘辅助工具 优化五行量化指标 绝无未来 源码副图 贴图

这是一组简单直观、方便实用的辅助决策指标。

本指标综合了五行量化化指标、经传海洋状态指标、操盘动力线指标,经个人加工整理而成。

一、指标介绍:1、五行量化指标(浅灰色实心空心方格):实心代表趋势走好,空心代表趋势走坏;2、操盘动力线指标(黄金线):短线灵敏指标,低位拐头向上可跟进,高位拐头向下要警惕,附有高低位买卖提示;3、海洋状态指标(彩带):彩带颜色代表短中期多空趋势,低位转红可跟进,高位变色宜减仓、清仓;二、使用方法和个人心得:1、依据大盘趋势,结合市场热点,综合分析个股短、中期趋势,短线激进者可依据五行量化指标和操盘动力线走势快进快出,中线稳健者还须结合海洋状态指标分仓操盘;2、喜欢做波段的朋友可采取“2+3+2”仓位策略,五行指标四行以上走好+操盘动力线低位向上拐头--买入2成仓位,如果之后海洋状态指标低位飘红,可追加3成仓位,另外2成仓位根据短线指标适时T+0;全部指标线走坏后,坚决清仓;3、指标为辅助决策工具,不负责盈亏;股票的盈亏是个人心态、技术水平和执行力等多种因素决定的;心态第一,纪律第一,执行第一!!DMADIF:=MA(C,10)-MA(C,50);DMAAMA:=MA(DMADIF,10);DMAX:=DMADIF>DMAAMA;P01:=DMAX;DMITR:=EXPMEMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),14); DMIHD:=H-REF(H,1);DMILD:=REF(L,1)-L;DMIDMP:=EXPMEMA(IFF(DMIHD>0 AND DMIHD>DMILD,DMIHD,0),14); DMIDMM:=EXPMEMA(IFF(DMILD>0 AND DMILD>DMIHD,DMILD,0),14); DMIPDI:=DMIDMP*100/DMITR;DMIMDI:=DMIDMM*100/DMITR;DMIX:=DMIPDI>DMIMDI;P02:=DMIX;DPODPO:=C-REF(MA(C,20),20/2+1);DPOMADPO:=MA(DPODPO,6);DPOX:=DPODPO>DPOMADPO;P03:=DPOX;EMVVOLUME:=MA(V,14)/V;EMVMID:=100*(H+L-REF(H+L,1))/(H+L);EMVEMV:=MA(EMVMID*EMVVOLUME*(H-L)/MA(H-L,14),14); EMVMAEMV:=MA(EMVEMV,9);EMVX:=EMVEMV>EMVMAEMV;P04:=EMVX;MACDDIF:=EMA(C,12)-EMA(C,26);MACDDEA:=EMA(MACDDIF,9);MACDX:=MACDDIF>MACDDEA;P05:=MACDX;TRIXTR:=EMA(EMA(EMA(C,12),12),12);TRIXTRIX:=(TRIXTR-REF(TRIXTR,1))/REF(TRIXTR,1)*100; TRIXMATRIX:=MA(TRIXTRIX,9);TRIXX:=TRIXTRIX>TRIXMATRIX;P06:=TRIXX;WVADWVAD:=SUM((C-O)/(H-L)*V,24)/10000;WVADMAWVAD:=MA(WVADWVAD,6);WVADX:=WVADWVAD>WVADMAWVAD;P07:=WVADX;JSJS:=100*(C-REF(C,5))/(5*REF(C,5));JSMAJS1:=MA(JSJS,5);JSX:=JSJS>JSMAJS1;P08:=JSX;CYEMAL:=MA(C,5);CYEMAS:=MA(MA(C,20),5);CYECYEL:=(CYEMAL-REF(CYEMAL,1))/REF(CYEMAL,1)*100; CYECYES:=(CYEMAS-REF(CYEMAS,1))/REF(CYEMAS,1)*100;CYEX:=CYECYEL>CYECYES;P09:=CYEX;JLHBVAR1:=(C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*80;JLHBB:=SMA(JLHBVAR1,7,1);JLHBVAR2:=SMA(JLHBB,5,1);JLHBX:=JLHBB>JLHBVAR2;P10:=JLHBX;CYCJJJ:=IFF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3)); CYCDDD:=(DYNAINFO(5)<0.01 || DYNAINFO(6)<0.01);CYCJJJT:=IFF(CYCDDD,1,(CYCJJJ<(DYNAINFO(5)+0.01) &&CYCJJJ>(DYNAINFO(6)-0.01)));CYCCYC1:=IFF(CYCJJJT,0.01*EMA(AMOUNT,5)/EMA(VOL,5),EMA((HIGH+LOW+CLOSE)/ 3,5));CYCCYC2:=IFF(CYCJJJT,0.01*EMA(AMOUNT,13)/EMA(VOL,13),EMA((HIGH+LOW+CLOS E)/3,13));CYCX:=CYCCYC1>CYCCYC2;P11:=CYCX;BBIBBI:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;BBIX:=C>BBIBBI;P12:=BBIX;DDITR:=MAX(ABS(H-REF(H,1)),ABS(L-REF(L,1)));DDIDMZ:=IFF((H+L)<=(REF(H,1)+REF(L,1)),0,MAX(ABS(H-REF(H,1)),ABS(L-REF(L,1)))); DDIDMF:=IFF((H+L)>=(REF(H,1)+REF(L,1)),0,MAX(ABS(H-REF(H,1)),ABS(L-REF(L,1)))); DDIDIZ:=SUM(DDIDMZ,13)/(SUM(DDIDMZ,13)+SUM(DDIDMF,13));DDIDIF:=SUM(DDIDMF,13)/(SUM(DDIDMF,13)+SUM(DDIDMZ,13));DDIDDI:=DDIDIZ-DDIDIF;DDIADDI:=SMA(DDIDDI,30,10);DDIAD:=MA(DDIADDI,5);DDIX:=DDIADDI>DDIAD;P13:=DDIX;FSLSWL:=(EMA(C,5)*7+EMA(C,10)*3)/10;FSLSWS:=DMA(EMA(C,12),MAX(1,100*(SUM(V,5)/(3*CAPITAL))));FSLX:=FSLSWL>FSLSWS;P14:=FSLX;MAMA1:=MA(C,5);MAMA2:=MA(C,10);MAXX:=MAMA1>MAMA2;P15:=MAXX;EXPEMA1:=EMA(C,12);EXPEMA2:=EMA(C,17);EXPMAX:=EXPEMA1>EXPEMA2 AND EXPEMA1>REF(EXPEMA1,1) ANDEXPEMA2>REF(EXPEMA2,1);P16:=EXPMAX;PBX1:=(EMA(C,4)+MA(C,4*2)+MA(C,4*4))/3;PBX2:=(EMA(C,6)+MA(C,6*2)+MA(C,6*4))/3;PBXX:=PBX1>PBX2 AND PBX1>REF(PBX1,1) AND PBX2>REF(PBX2,1);P17:=PBXX;SARX:=C>SAR(4,2,20);P18:=SARX;QLTB:=IFF(H>REF(C,1),H-REF(C,1)+C-L,C-L);QLTS:=IFF(REF(C,1)>LOW,REF(C,1)-L+H-C,H-C);QLVOL_:=(QLTB-QLTS)*V/(QLTB+QLTS)/100;QLVOL_0:=DMA(QLVOL_,0.1);QLVOL_1:=DMA(QLVOL_,0.05);QLRES1:=QLVOL_0-QLVOL_1;QLLON:=SUM(QLRES1,0);QLLONG:=QLLON;QLMA1:=MA(QLLON,10);LONQLX:=QLLONG>REF(QLLONG,1) AND QLMA1>REF(QLMA1,1) ANDQLLONG>QLMA1,NODRAW,COLORFFFFFF;P19:=LONQLX;QLSTB:=IFF(H>REF(C,1),H-REF(C,1)+C-L,C-L);QLSTS:=IFF(REF(C,1)>L,REF(C,1)-L+H-C,H-C);QLSVOL_:=(QLSTB-QLSTS)*V/(QLSTB+QLSTS)/100;QLSVOL_0:=DMA(QLSVOL_,0.1);QLSVOL_1:=DMA(QLSVOL_,0.05);QLSSHORT:=QLSVOL_0-QLSVOL_1;QLSMA1:=MA(QLSSHORT,10);SHORTQLX:=QLSSHORT>QLSMA1;P20:=SHORTQLX;AMVAMV0:=V*(O+C)/2;AMVAMV1:=SUM(AMVAMV0,5)/SUM(V,5);AMVAMV2:=SUM(AMVAMV0,13)/SUM(V,13);AMVX:=AMVAMV1>AMVAMV2;P21:=AMVX;MTMMTM:=C-REF(C,12);MTMMAMTM:=MA(MTMMTM,6);MTMX:=MTMMTM>MTMMAMTM;P22:=MTMX;ZJTJVAR1:=EMA(EMA(C,9),9);ZJTJ控盘:=(ZJTJVAR1-REF(ZJTJVAR1,1))/REF(ZJTJVAR1,1)*1000;YZKPX:=ZJTJ控盘>REF(ZJTJ控盘,1) AND ZJTJ控盘>0;P23:=YZKPX;趋势:(P01+P02+P03+P04+P05+P06+P07+P08+P09+P10+P11+P12+P13+P14+P15+P16 +P17+P18+P19+P20+P21+P22+P23)*(100/23),NODRAW,COLORCYAN; STICKLINE(趋势>=REF(趋势,1),81,100,4,0),COLORGRAY;STICKLINE(趋势<REF(趋势,1),81,100,4,1),COLORGRAY;TRENDA:=WINNER(C)*100;CMQS1:=WMA(TRENDA,8);CMQS2:=WMA(TRENDA,13);CMQS3:=WMA(TRENDA,21);CMQS4:=WMA(TRENDA,34);CMQS5:=WMA(TRENDA,55);CM01:=CMQS1>REF(CMQS1,1);CM02:=CMQS2>REF(CMQS2,1);CM03:=CMQS3>REF(CMQS3,1);CM04:=CMQS4>REF(CMQS4,1);CM05:=CMQS5>REF(CMQS5,1);CM06:=TRENDA>CMQS1;CM07:=TRENDA>CMQS2;CM08:=TRENDA>CMQS3;CM09:=TRENDA>CMQS4;CM10:=TRENDA>CMQS5;CM11:=CMQS1>CMQS2;CM12:=CMQS1>CMQS3;CM13:=CMQS1>CMQS4;CM14:=CMQS1>CMQS5;CM15:=CMQS2>CMQS3;CM16:=CMQS2>CMQS4;CM17:=CMQS2>CMQS5;CM18:=CMQS3>CMQS4;CM19:=CMQS3>CMQS5;CM20:=CMQS4>CMQS5;筹码:EMA(((CM01+CM02+CM03+CM04+CM05+CM06+CM07+CM08+CM09+CM10+ CM11+CM12+CM13+CM14+CM15+CM16+CM17+CM18+CM19+CM20)*(100/20)),2),NO DRAW,COLORGREEN;STICKLINE(筹码>=REF(筹码,1),61,80,4,0),COLORGRAY;STICKLINE(筹码<REF(筹码,1),61,80,4,1),COLORGRAY;JE:=VOL;JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);主力流入:=(QJ0*(JJ-MIN(CLOSE,OPEN)));主力流出:=(QJ0*(MIN(OPEN,CLOSE)-LOW));主力净买:=(主力流入-主力流出)/10000;PP01:=SUM(主力净买,1)>0;PP02:=SUM(主力净买,2)>0;PP03:=SUM(主力净买,3)>0;PP04:=SUM(主力净买,4)>0;PP05:=SUM(主力净买,5)>0;SUM11:=SUM(主力净买,11);SUM12:=SUM(主力净买,12);SUM13:=SUM(主力净买,13);SUM14:=SUM(主力净买,14);SUM15:=SUM(主力净买,15);SUM16:=SUM(主力净买,16);SUM17:=SUM(主力净买,17);SUM18:=SUM(主力净买,18);SUM19:=SUM(主力净买,19);SUM20:=SUM(主力净买,20);PP11:=SUM11>0 AND SUM11>REF(SUM11,1);PP12:=SUM12>0 AND SUM12>REF(SUM12,1);PP13:=SUM13>0 AND SUM13>REF(SUM13,1);PP14:=SUM14>0 AND SUM14>REF(SUM14,1);PP15:=SUM15>0 AND SUM15>REF(SUM15,1);PP16:=SUM16>0 AND SUM16>REF(SUM16,1);PP17:=SUM17>0 AND SUM17>REF(SUM17,1);PP18:=SUM18>0 AND SUM18>REF(SUM18,1);PP19:=SUM19>0 AND SUM19>REF(SUM19,1);PP20:=SUM20>0 AND SUM20>REF(SUM20,1);MAZJ05:=MA(主力净买,5);MAZJ10:=MA(主力净买,10);MAZJ15:=MA(主力净买,15);MAZJ20:=MA(主力净买,20);MA01:=MAZJ05>MAZJ10;MA02:=MAZJ05>MAZJ15;MA03:=MAZJ05>MAZJ20;MA04:=MAZJ10>MAZJ15;MA05:=MAZJ10>MAZJ20;MA06:=MAZJ15>MAZJ20;基线1:=EMA(EMA(EMA(EMA(IFF(主力净买>=0,主力净买,0),20),2),2),2);基线6:=基线1*6;ZJDL10:=IFF(主力净买>基线6,10,IFF(主力净买<=基线6 AND 主力净买>0,10*主力净买/基线6,0));短线资金:=SUM(主力净买,3);短线资金10:=EMA(短线资金,10);短线资金60:=EMA(短线资金,60);短线资金20:=EMA(短线资金,20);短线资金30:=EMA(短线资金,30);CZD01:=短线资金>短线资金10;CZD02:=短线资金20>短线资金30;CZD03:=短线资金10>短线资金60;总权1:=53;资金:EMA(EMA(100*(PP01*2+PP02*2+PP03*5+PP04*2+PP05*2+PP11*1+PP12*1+PP13* 1+PP14*1+PP15*1+PP16*1+PP17*1+PP18*1+PP19*1+PP20*1+MA01*2+MA02*2+MA03*1+MA04*1+MA05*1+MA06*1+ZJDL10+CZD01*5+CZD02*4+ CZD03*3)/总权1,2),2),NODRAW,COLORRED;STICKLINE(资金>=REF(资金,1),41,60,4,0),COLORGRAY;STICKLINE(资金<REF(资金,1),41,60,4,1),COLORGRAY;LTSHPG:=100-100*(HHV(H,40)-C)/(HHV(H,40)-LLV(L,40));ZB01:=LTSHPG>=50;DIFPG:=EMA(C,12)-EMA(C,26);DEAPG:=EMA(DIFPG,9);ZB02:=DIFPG>DEAPG;APG:=MA((-100)*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)),19);BPG:=(-100)*(HHV(H,14)-C)/(HHV(H,14)-LLV(L,14));DPG:=EMA((-100)*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)),4);QSDDLONG:=APG+100;QSDDSHORT:=BPG+100;QSDDMID:=DPG+100;ZB03:=QSDDSHORT>QSDDMID;ZB04:=QSDDSHORT>QSDDLONG;ZB05:=QSDDMID>QSDDLONG;RSVPG:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;KPG:=SMA(RSVPG,3,1);DPG2:=SMA(KPG,3,1);ZB06:=KPG>DPG2;LCPG:=REF(CLOSE,1);RPG1:=SMA(MAX(C-LCPG,0),6,1)/SMA(ABS(C-LCPG),6,1)*100;RPG2:=SMA(MAX(C-LCPG,0),12,1)/SMA(ABS(C-LCPG),12,1)*100;RPG3:=SMA(MAX(C-LCPG,0),24,1)/SMA(ABS(C-LCPG),24,1)*100;ZB07:=RPG1>RPG2;ZB08:=RPG1>RPG3;ZB09:=RPG2>RPG3;ZB10:=MA(C,5)>MA(C,10);ZB11:=MA(C,5)>MA(C,20);ZB12:=MA(C,10)>MA(C,20);MAVPG:=(C*2+H+L)/4;SKPG:=EMA(MAVPG,13)-EMA(MAVPG,34);SDPG:=EMA(SKPG,5);ZB13:=(2*(SKPG-SDPG))>((-2)*(SKPG-SDPG));MIDPGX:=(3*C+O+L+H)/6;DKXPG1:=WMA(MIDPGX,5);DKXPG2:=WMA(MIDPGX,10);DKXPG3:=WMA(MIDPGX,20);ZB14:=DKXPG1>REF(DKXPG1,1);ZB15:=DKXPG2>REF(DKXPG2,1);ZB16:=DKXPG3>REF(DKXPG3,1);G08PG:=EMA(C,34);ZB17:=G08PG>REF(G08PG,1);B08PG:=(C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*80;BPG1:=SMA(B08PG,7,1);BPG2:=SMA(BPG1,3,1);ZB18:=BPG1>BPG2;BBIPG:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;ZB19:=C>BBIPG;MIDSLB:=(3*C+L+O+H)/6;E1:=EMA(10000*(WMA(MIDSLB,30)-REF(WMA(MIDSLB,30),1))/REF(WMA(MIDSLB,30),1 ),10);E2:=EMA(E1,2);E3:=EMA(E2,2);E4:=EMA(E3,2);E5:=EMA(E4,2);E6:=EMA(E5,2);E7:=EMA(E6,2);ZB20:=E2>E3 AND E3>E4 AND E4>E5 AND E5>E6 AND E6>E7;ZB21:=E2>REF(E2,1) AND E3>REF(E3,1) AND E4>REF(E4,1) AND E5>REF(E5,1) AND E6>REF(E6,1) AND E7>REF(E7,1);TRPG1:=MAX(MAX((H-L),ABS(H-REF(C,1))),ABS(REF(C,1)-L));ATRPG1:=EMA(TRPG1,14);HDPG:=H-REF(H,1);LDPG:=REF(L,1)-L;PDMPG:=EMA(IFF(HDPG>0 AND HDPG>LDPG,HDPG,0),14);MDMPG:=EMA(IFF(LDPG>0 AND LDPG>HDPG,LDPG,0),14);PDIPG:=PDMPG/ATRPG1;MDIPG:=MDMPG/ATRPG1;XLPG:=(PDIPG-MDIPG)/(PDIPG+MDIPG);ZB22:=XLPG>0;指标:(ZB01+ZB02+ZB03+ZB04+ZB05+ZB06+ZB07+ZB08+ZB09+ZB10+ZB11+ZB12+ZB13+ZB14+ZB15+ZB16+ZB17+ZB18+ZB19+ZB20+ZB21+ZB22)*(100/22 ),NODRAW,COLORLIRED;STICKLINE(指标>=REF(指标,1),21,40,4,0),COLORGRAY;STICKLINE(指标<REF(指标,1),21,40,4,1),COLORGRAY;方向成交量:=IFF(CLOSE>=OPEN,VOL,VOL*(-1));LHLNMID:=(3*CLOSE+OPEN+HIGH+LOW)/6;LHLN短线:=WMA(LHLNMID,5);LHLN中线:=WMA(LHLNMID,10);LHLN多头:=LHLN短线>LHLN中线;CP01:=SUM(方向成交量,1)>0;CP02:=SUM(方向成交量,2)>0;CP03:=SUM(方向成交量,3)>0;CP04:=SUM(方向成交量,4)>0;CP05:=SUM(方向成交量,5)>0;CSUM11:=SUM(方向成交量,11);CSUM12:=SUM(方向成交量,12);CSUM13:=SUM(方向成交量,13);CSUM14:=SUM(方向成交量,14);CSUM15:=SUM(方向成交量,15);CSUM16:=SUM(方向成交量,16);CSUM17:=SUM(方向成交量,17);CSUM18:=SUM(方向成交量,18);CSUM19:=SUM(方向成交量,19);CSUM20:=SUM(方向成交量,20);CP11:=CSUM11>0 AND CSUM11>REF(CSUM11,1);CP12:=CSUM12>0 AND CSUM12>REF(CSUM12,1);CP13:=CSUM13>0 AND CSUM13>REF(CSUM13,1);CP14:=CSUM14>0 AND CSUM14>REF(CSUM14,1);CP15:=CSUM15>0 AND CSUM15>REF(CSUM15,1);CP16:=CSUM16>0 AND CSUM16>REF(CSUM16,1);CP17:=CSUM17>0 AND CSUM17>REF(CSUM17,1);CP18:=CSUM18>0 AND CSUM18>REF(CSUM18,1);CP19:=CSUM19>0 AND CSUM19>REF(CSUM19,1);CP20:=CSUM20>0 AND CSUM20>REF(CSUM20,1);CMAZJ05:=MA(方向成交量,5);CMAZJ10:=MA(方向成交量,10);CMAZJ15:=MA(方向成交量,15);CMAZJ20:=MA(方向成交量,20);CMA01:=CMAZJ05>CMAZJ10;CMA02:=CMAZJ05>CMAZJ15;CMA03:=CMAZJ05>CMAZJ20;CMA04:=CMAZJ10>CMAZJ15;CMA05:=CMAZJ10>CMAZJ20;CMA06:=CMAZJ15>CMAZJ20;基准1:=EMA(EMA(EMA(EMA(IFF(方向成交量>=0,方向成交量,0),20),2),2),2);基准6:=基准1*6;CZJDL10:=IFF(方向成交量>基准6,10,IFF(方向成交量<=基准6 AND 方向成交量>0,10*方向成交量/基准6,0));短线总量:=SUM(方向成交量,3);短线总量10:=EMA(短线总量,10);短线总量20:=EMA(短线总量,20);短线总量30:=EMA(短线总量,30);短线总量60:=EMA(短线总量,60);CCZD01:=短线总量>短线总量10;CCZD02:=短线总量20>短线总量30;CCZD03:=短线总量10>短线总量60;总权:=53;量化量能X:=EMA(EMA(100*(CP01*2+CP02*2+CP03*5+CP04*2+CP05*2+CP11*1+CP12*1+CP13 *1+CP14*1+CP15*1+CP16*1+CP17*1+CP18*1+CP19*1+CP20*1+CMA01*2+CMA02*2+CMA03*1+CMA04*1+CMA05*1+CMA06*1+CZJDL10+CCZD01*5+ CCZD02*4+CCZD03*3)/总权,2),2),NODRAW,COLORLIRED;量化量能XX:=IFF(LHLN多头,量化量能X*1.2,量化量能X);量能:WMA(IFF(量化量能XX>=100,100,量化量能XX),3),NODRAW,COLORLIMAGENTA; STICKLINE(量能>=REF(量能,1),0,20,4,0),COLORGRAY;STICKLINE(量能<REF(量能,1),0,20,4,1),COLORGRAY;DRAWTEXT_FIX(1,0,0.08,0,'趋势')COLORCYAN;DRAWTEXT_FIX(1,0,0.27,0,'筹码')COLORGREEN;DRAWTEXT_FIX(1,0,0.47,0,'资金')COLORRED;DRAWTEXT_FIX(1,0,0.66,0,'指标')COLORLIRED;DRAWTEXT_FIX(1,0,0.86,0,'量能')COLORLIMAGENTA;{操盘动力线}绝对底:=0;绝对顶:=38*2.632;底:=3*2.632;顶:=35*2.632;VAR1:=LLV(LOW,10);VAR2:=HHV(HIGH,25);短期趋势线:EMA((CLOSE-VAR1)/(VAR2-VAR1)*4,4)*26.3,COLORYELLOW; {DRAWBAND(趋势线,RGB(250,0,0),REF(趋势线,1),RGB(0,250,250));}短多:=IF(短期趋势线>REF(短期趋势线,1),短期趋势线,DRAWNULL),COLORYELLOW;短空:=IF(短期趋势线<=REF(短期趋势线,1),短期趋势线,DRAWNULL),COLORBLUE; DRAWICON(CROSS(短期趋势线,底),5,1);DRAWICON(CROSS(短期趋势线,绝对底),5,1);DRAWICON(CROSS(顶,短期趋势线),98,2);DRAWICON(CROSS(绝对顶,短期趋势线),98,2);{海洋状态}X1:=(2*C+H+L)/4;X2:=LLV(L,34);X3:=HHV(H,34);QSX:=EMA((X1-X2)/(X3-X2)*100,13);QSJX:=EMA((0.618*REF(QSX,1)+0.382*QSX),2);DRAWBAND(QSX,RGB(255,0,0),QSJX,RGB(0,250,250));。

(完整版)通达信超级主力建仓和仓位副图指标公式

(完整版)通达信超级主力建仓和仓位副图指标公式

通达信超级主力建仓和仓位副图指标公式大机构仓位: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;。

通达信指标公式源码主力动向副图(主买主卖副图) 傻买傻卖公式

通达信指标公式源码主力动向副图(主买主卖副图) 傻买傻卖公式

DRAWRECTREL(0,0,400,988,IF(120,RGB(10,0,0),0));超B:=L2_AMO(0,2)/10000.0;大B:=L2_AMO(1,2)/10000.0;中B:=L2_AMO(2,2)/10000.0;小B:=L2_AMO(3,2)/10000.0;超S:=L2_AMO(0,3)/10000.0;大S:=L2_AMO(1,3)/10000.0;中S:=L2_AMO(2,3)/10000.0;小S:=L2_AMO(3,3)/10000.0;主买A:=ACTINVOL,COLORRED,NODRAW;主卖A:=ACTOUTVOL,COLORGREEN,NODRAW;主买:=主买A*100/(主买A+主卖A),NODRAW,COLORRED;主卖:=主卖A*100/(主买A+主卖A),NODRAW,COLORGREEN;SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));【量能饱和】:IF(SAT>1,1,SAT)*100,COLORYELLOW,NODRAW;主力净买量:=(LARGEINTRDVOL-LARGEOUTTRDVOL),COLORYELLOW,NODRAW;大宗净流入:=(超B+大B)-(超S+大S),COLORRED,NODRAW;主动买卖差:=(ACTINVOL-ACTOUTVOL),COLORMAGENTA,NODRAW;主力资金差:=((L2_AMO(0,0)+L2_AMO(1,0)-L2_AMO(0,1)-L2_AMO(1,1)))/10000,COLORCYAN,NO DRAW;DRAWRECTREL(100,0,90+CONST(主买*300/100),40,RGB(230,65,0)); DRAWRECTREL(100,60,90+CONST(主卖*300/100),100,RGB(0,104,0));DRAWRECTREL(100,120,390,160,RGB(0,0,100));DRAWRECTREL(100,120,90+CONST(【量能饱和】*300/100),160,RGB(250,104,0));大单动向:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7),NODRAW;T1:=IF (大单动向>0 AND REF(大单动向,1)<0,1,0);T2:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)<0,2,T1);T3:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)<0,3,T2);T4:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)<0,4,T3);T5:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)<0,5,T4);T6:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)<0,6,T5); T7:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)>0 AND REF(大单动向,7)<0,7,T6);T8:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)>0 AND REF(大单动向,7)>0 AND REF(大单动向,8)<0,8,T7);T9:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)>0 AND REF(大单动向,7)>0 AND REF(大单动向,8)>0 AND REF(大单动向,9)<0,9,T8);T:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)>0 AND REF(大单动向,7)>0 AND REF(大单动向,8)>0 AND REF(大单动向,9)>0,10,T9);D:=COUNT(大单动向>0,10),NODRAW;DRAWTEXT_FIX(1,0.005,0.01,0,STRCAT(STRCAT('【主买比】: ',CON2STR(主买,1)),' %')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.07,0,STRCAT(STRCAT('【主卖比】: ',CON2STR(主卖,1)),' %')),COLORGREEN;DRAWTEXT_FIX(1,0.005,0.13,0,STRCAT(STRCAT('【量能饱和】: ',CON2STR(【量能饱和】,1)),' %')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.19,0,STRCAT(STRCAT('【主力资金差】: ',CON2STR(主力资金差,1)),' 万元')),COLORYELLOW;DRAWTEXT_FIX(1,0.2,0.19,0,STRCAT(STRCAT('【大宗净流入】: ',CON2STR(大宗净流入,1)),' 万元')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.25,0,STRCAT(STRCAT('【主力净买量】: ',CON2STR(主力净买量,1)),' 手')),COLORYELLOW;DRAWTEXT_FIX(1,0.2,0.25,0,STRCAT(STRCAT('【主动买卖差】: ',CON2STR(主动买卖差,1)),' 手')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.31,0,STRCAT(STRCAT('【DDX 连红天数】: ',CON2STR(T,0)),' 天')),COLORYELLOW;DRAWTEXT_FIX(1,0.2,0.31,0,STRCAT(STRCAT('【DDX两周红天数】: ',CON2STR(D,0)),' 天')),COLORYELLOW;PJJ:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);JJ:=REF(EMA(PJJ,3),1);QJJ:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));XVL:=(IF((CLOSE > OPEN),(QJJ * (HIGH - LOW)),IF((CLOSE < OPEN),(QJJ * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2))) + IF((CLOSE > OPEN),(0 - (QJJ * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (QJJ * (HIGH - LOW))),(0 - (VOL / 2))))); ZLL:=(VOL / CAPITAL);HSL1:=IF((ZLL > 10),10,ZLL);HSL:=((XVL / 20) / 1.15);攻击流量:=(((HSL * 0.55) + (REF(HSL,1) * 0.33)) + (REF(HSL,2) * 0.22));GJJ:=EMA(攻击流量,8);LLJX:=EMA(攻击流量,3);STICKLINE(((HSL * 0.4) >= 0),((HSL * 0.4) +LLJX),0,3,0),COLOR00FFFF; STICKLINE(((HSL * 0.4) < 0),((HSL * 0.4) +LLJX),0,3,0),COLOR00FF00;资金流入:=IF((HSL*0.4+LLJX)>0,(HSL*0.4+LLJX),DRAWNULL),COLORRED;资金流出:=IF((HSL*0.4+LLJX)<0,(HSL*0.4+LLJX),DRAWNULL),COLOR00FF00;资金进出:=(HSL*0.4+LLJX),LINETHICK0;万元:=AMOUNT/10000{0000},VOLSTICK,COLORFF00FF;资金净进出:IF((HSL*0.4+LLJX)>0,资金流入,资金流出),COLORWHITE,POINTDOT;进出比例%:IF((HSL*0.4+LLJX)>0,资金流入/万元*100,资金流出/万元*100),COLORYELLOW;连红天1:=BARSLASTCOUNT(资金净进出>0),,COLORA20FFD,NODRAW;连红天2:=IF(连红天1=0,REF(连红天1,1),连红天1),,COLORA20FFD,NODRAW;连红天3:=IF(连红天2=0,REF(连红天1,2),连红天2),,COLORA20FFD,NODRAW;连红天4:=IF(连红天3=0,REF(连红天1,3),连红天3),,COLORA20FFD,NODRAW;近期连红天:IF(连红天4=0,REF(连红天1,4),连红天4),,COLORYELLOW,NODRAW;最多连红天1:=MAX(REF(近期连红天,1),近期连红天),COLORYELLOW,NODRAW;最多连红天2:=MAX(最多连红天1,REF(近期连红天,2)),COLORYELLOW,NODRAW;最多连红天3:=MAX(最多连红天2,REF(近期连红天,3)),COLORYELLOW,NODRAW;最多连红天4:=MAX(最多连红天3,REF(近期连红天,4)),COLORYELLOW,NODRAW;最多连红天5:=MAX(最多连红天4,REF(近期连红天,5)),COLORYELLOW,NODRAW;最多连红天:MAX(最多连红天5,REF(近期连红天,6)),COLORYELLOW,NODRAW;三日资金:SUM(资金进出,3),COLORWHITE,NODRAW;五日资金:SUM(资金进出,5),COLORFF00FF,NODRAW;十日资金:SUM(资金进出,10),COLOR0000FF,NODRAW;资金流量:=LLJX,LINETHICK0,COLOR0000FF;STICKLINE((资金流量> 0),资金流量,0,3,0),COLOR0000FF;STICKLINE((资金流量< 0),资金流量,0,3,0),COLORFF3300;黄柱初出蓝:=REF(资金流出,1)<0 AND 资金流入>30 AND C>O AND C>REF(C,1) AND C>MA(C,3);X:=(3*C+2*L+O+H)/7;多空线:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+ REF(X,20))/210;长黄柱:= 资金流入>300 AND CROSS(C,多空线);DRAWTEXT(黄柱初出蓝,-30,'★'),COLORFF00FF;DRAWTEXT(长黄柱,((HSL * 0.4) * 1.5)*1.4 ,'★'),COLORRED;ARE4:=MA(C,20); ARE5:=(C>MA(C,5)); ARE6:=(MA(C,5)>MA(C,10)); ARE7:=(C>MA(C,10));ARE8:=(MA(C,5)>MA(C,20)); ARE9:=(C>MA(C,20)); ARE10:=REF(ARE4,1); ARE11:=(ARE4>ARE10);AVX:=(((((IF(ARE5,10,(0-10))+IF(ARE6,10,(0-10)))+IF(ARE7,10,(0-10)))+IF(ARE8,10,(0 -10)))+IF(ARE9,10,(0-10)))+IF(ARE11,10,(0-10)));DSLX:=(C/INDEXC); DSLX1:=MA(DSLX,5); DSLX2:=MA(DSLX,10); VRE1:=MA(V,5); VRE2:=MA(V,10);阻力位:=IF((C>200),(C*1.01),(C*1.07)); 阻力位1:=IF((C<10),(C*1.05),阻力位);止损位:=IF((C>200),(C*0.99),(C*0.93)); 止损位1:=IF((C<10),(C*0.95),止损位); TJTS1:=ISLASTBAR AND C<500; TJTS2:=ISLASTBAR AND C>500;KDAT:=REFDATE(HHV(H,45)/0.097,DATE);{解盘位置}解盘1:=CONST(IF(TJTS1 AND ((CROSS(AVX,1) AND (VRE1 >= VRE2)) AND (DSLX >= DSLX1)) ,1,0));解盘2:=CONST(IF(TJTS1 AND ((CROSS(AVX,1) AND (VRE1 < VRE2)) AND (DSLX >= DSLX1)) ,1,0));解盘3:=CONST(IF(TJTS1 AND ((CROSS(AVX,1) AND (VRE1 > VRE2)) AND (DSLX < DSLX1)) ,1,0));解盘4:=CONST(IF(TJTS1 AND ((CROSS(AVX,1) AND (VRE1 <= VRE2)) AND (DSLX < DSLX1)) ,1,0));解盘5:=CONST(IF(TJTS1 AND ((CROSS(1,AVX) AND (VRE1 >= VRE2)) AND (DSLX >= DSLX1)) ,1,0));解盘6:=CONST(IF(TJTS1 AND ((CROSS(1,AVX) AND (VRE1 < VRE2)) AND (DSLX >= DSLX1)) ,1,0));解盘7:=CONST(IF(TJTS1 AND ((CROSS(1,AVX) AND (VRE1 >= VRE2)) AND (DSLX < DSLX1)) ,1,0));解盘8:=CONST(IF(TJTS1 AND ((CROSS(1,AVX) AND (VRE1 < VRE2)) AND (DSLX < DSLX1)) ,1,0));解盘9:=CONST(IF(TJTS1 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (VRE1 >= VRE2)) AND (DSLX >= DSLX1)) ,1,0));解盘10:=CONST(IF(TJTS1 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (VRE1 < VRE2)) AND (DSLX >= DSLX1)) ,1,0));解盘11:=CONST(IF(TJTS1 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (VRE1 >= VRE2)) AND (DSLX < DSLX1)) ,1,0));解盘12:=CONST(IF(TJTS1 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (VRE1 < VRE2)) AND (DSLX < DSLX1)) ,1,0));解盘13:=CONST(IF(TJTS1 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (VRE1 >=VRE2)) AND (DSLX >= DSLX1)) ,1,0));解盘14:=CONST(IF(TJTS1 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (VRE1 < VRE2)) AND (DSLX >= DSLX1)) ,1,0));解盘15:=CONST(IF(TJTS1 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (VRE1 >= VRE2)) AND (DSLX < DSLX1)) ,1,0));解盘16:=CONST(IF(TJTS1 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (VRE1 < VRE2)) AND (DSLX < DSLX1)) ,1,0));解盘17:=CONST(IF(TJTS2 AND (CROSS(AVX,1) AND (VRE1 >= VRE2)) ,1,0));解盘18:=CONST(IF(TJTS2 AND (CROSS(AVX,1) AND (VRE1 >= VRE2)) ,1,0));解盘19:=CONST(IF(TJTS2 AND (CROSS(AVX,1) AND (VRE1 < VRE2)) ,1,0));解盘20:=CONST(IF(TJTS2 AND (CROSS(AVX,1) AND (VRE1 < VRE2)) ,1,0));解盘21:=CONST(IF(TJTS2 AND (CROSS(1,AVX) AND (VRE1 >= VRE2)) ,1,0));解盘22:=CONST(IF(TJTS2 AND (CROSS(1,AVX) AND (VRE1 < VRE2)) ,1,0));解盘23:=CONST(IF(TJTS2 AND (((AVX >= 1) AND (REF(AVX,1) > 0)) AND (VRE1 >= VRE2)) ,1,0));解盘24:=CONST(IF(TJTS2 AND (((AVX >= 1) AND (REF(AVX,1) > 0)) AND (VRE1 < VRE2)) ,1,0));解盘25:=CONST(IF(TJTS2 AND (((AVX < 1) AND (REF(AVX,1) < 0)) AND (VRE1 >= VRE2)) ,1,0));解盘26:=CONST(IF(TJTS2 AND (((AVX < 1) AND (REF(AVX,1) < 0)) AND (VRE1 < VRE2)) ,1,0));解盘文字1:=IF(解盘1=1,'该股的量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右',IF(解盘2=1,'该股虽然走势趋强,但量能还显不足,可以考虑短线进场,仓位在1/2左右', IF(解盘3=1,'该股量价配合良好,但相对其它股票并没有明显走强,可以考虑短线进场,仓位1/2左右',IF(解盘4=1,'该股形态尚可,但量能不足,股票也未完全走强,可以短线参与,仓位1/3左右',IF(解盘5=1,'该股形态变坏,但走势相对其它股票尚可,重仓者减持大半,清仓者可以观望',IF(解盘6=1,'该股随大盘一起下跌,程明显缩量走势,考虑到大盘风险,减持或清仓',IF(解盘7=1,'该股放量下跌,走势明显偏弱,离场观望',IF(解盘8=1,'该股缩量下跌,走势偏弱,离场观望',IF(解盘9=1,'该股形态良好,强势明显,量能充足,可以继续持有',IF(解盘10=1,'该股上行趋势不变,强势依然,但量能开始转弱,注意风险',IF(解盘11=1,'该股仍然具备上涨潜力,但股性偏弱,可考虑减仓',IF(解盘12=1,'该股走势趋弱,量能不足,减持大部分筹码',IF(解盘13=1,'该股形态不佳,注意成交量的变化,但目前不适合参与',IF(解盘14=1,'该股趋势不明,股价偏弱,注意量能变化,目前不宜参与',IF(解盘15=1,'该股有走强迹象,但量能不足,趋势不明,不适合操作',IF(解盘17=1,'大盘量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右',IF(解盘19=1,'大盘虽然走势趋强,但量能还显不足,如果前期经过一轮下跌',IF(解盘21=1,'大盘形态走坏,重仓者可以减去大部分仓位',IF(解盘22=1,'大盘缩量调整,注意风险,短线清仓观望',IF(解盘23=1,'大盘走势良好,量能理想,可以继续持有强势股',IF(解盘24=1,'大盘形态良好,但量能稍显不足,随时准备减仓',IF(解盘25=1,'大盘趋势不明,注意成交量变化,目前不适宜进场',IF(解盘26=1,'大盘趋势向下,量能萎缩,不适合进场',DRAWNULL)))))))))))))))))))))));解盘文字2:=IF(解盘16=1,'该股走势太弱,没有参与价值',IF(解盘18=1,' 如前期经过一轮下跌,此时为最佳买点,但如果前期有过一段涨幅则介入需谨慎',IF(解盘20=1,' 可以考虑短线进场,仓位在1/2左右,一旦量能放大可以加仓买入',DRAWNULL)));DRAWTEXT(CURRBARSCOUNT=70{位置} AND (解盘1=1 OR 解盘2=1 OR 解盘3=1 OR 解盘4=1 OR 解盘5=1 OR 解盘6=1 OR 解盘7=1 OR解盘8=1 OR 解盘9=1 OR 解盘10=1 OR 解盘11=1 OR 解盘12=1 OR 解盘13=1 OR 解盘14=1 OR 解盘15=1 OR 解盘17=1 OR解盘19=1 OR 解盘21=1 OR 解盘22=1 OR 解盘23=1 OR 解盘24=1 OR 解盘25=1 OR 解盘26=1),(KDAT*0.99),解盘文字1),COLOR00FFFF;DRAWTEXT(CURRBARSCOUNT=70{位置} AND (解盘16=1 OR 解盘18=1 OR 解盘20=1),IF(解盘18=1 OR 解盘20=1,KDAT*0.98,KDAT*0.96),解盘文字2),COLOR00FFFF; TT:=240/FROMOPEN;比:=TT;促进指数MFL:=(HIGH-LOW)*1000000/(VOL*比),COLORRED;AY2:=EMA(CLOSE,12)-EMA(CLOSE,26);AZ2:=EMA(AY2,9);LT2:=(AY2-AZ2);L211:=IF(LT2,LLV(L,21),DRAWNULL),COLOR217158,CIRCLEDOT;ZGD:=HHV(H,80)*0.99;ZGD2:=CONST(ZGD);ZDD:=LLV(L211,80);ZDD2:=CONST(ZDD);YYA4:=MA(CLOSE,20);YYA5:=(CLOSE > MA(CLOSE,5));YYA6:=(MA(CLOSE,5) > MA(CLOSE,10));YYA7:=(CLOSE > MA(CLOSE,10));YYA8:=(MA(CLOSE,5) > MA(CLOSE,20));YYA9:=(CLOSE > MA(CLOSE,20));YYA10:=REF(YYA4,1);YYA11:=(YYA4 > YYA10);YYAVX:=(((((IF(YYA5,10,(0 - 10)) + IF(YYA6,10,(0 - 10))) + IF(YYA7,10,(0 - 10))) + IF(YYA8,10,(0 - 10))) + IF(YYA9,10,(0 - 10))) + IF(YYA11,10,(0 - 10)));YYV1:=MA(VOL,5);YYV2:=MA(VOL,10);J1:=CONST(IF( YYAVX > 0,200,100));J2:=CONST(IF( YYAVX > 0,00,100));J3:=CONST(IF( YYAVX > 0,100,100));WJ:=(H+L+C)/3;VV1:=IF(H=L,1,H-MAX(O,C));VV2:=IF(H=L,1,MAX(C,O)-WJ);VV3:=IF(H=L,1,MIN(O,C)-L);V4:=IF(H=L,1,WJ-MIN(C,O));VV5:=VOL/IF(H=L,4,H-L);V6:=(VV1*VV5);V7:=(VV2*VV5);V8:=(VV3*VV5);V9:=(V4*VV5);买盘1:=DYNAINFO(23)*比;卖盘1:=DYNAINFO(22)*比;买盘2:=IF(ISLASTBAR AND C>300,(V9+V8)*TT,(V9+V8));卖盘2:=IF(ISLASTBAR AND C>300,(V6+V7)*TT,(V6+V7));买盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,买盘1,买盘2);卖盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,卖盘1,卖盘2);{买卖差:=买盘-卖盘;}MFI:=(HIGH-LOW)*1000000/(VOL*比);绿灯:=MFI>=REF(MFI,1)AND VOL*比>=REF(VOL,1);M1:=CONST(绿灯);衰退:=MFI<REF(MFI,1)AND VOL*比<REF(VOL,1);M2:=CONST(衰退);伪装:=MFI>=REF(MFI,1)AND VOL*比<REF(VOL,1);M3:=CONST(伪装);蛰伏:=MFI<REF(MFI,1)AND VOL*比>=REF(VOL,1);M4:=CONST(蛰伏);量大:=(卖盘+买盘)/REF(VOL,1)>2;M5:=CONST(量大);量缩:=REF(VOL,1)/(卖盘+买盘)>1.5;M6:=CONST(量缩);卖量大:=(卖盘-买盘)/买盘>0.4;M7:=CONST(卖量大);买量大:=(买盘-卖盘)/卖盘>0.4;M8:=CONST(买量大);TS1:=IF(M1=1,1.99+4.99,0.91);TS2:=IF(M2=1,TS1+4.99,TS1);TS3:=IF(M3=1,TS2+4.99,TS2);TS4:=IF(M4=1,TS3+4.99,TS3);TS5:=IF(M5=1,TS4+4.99,TS4);TS6:=IF(M6=1,TS5+4.99,TS5);TS7:=IF(M7=1,TS6+4.99,TS6);TS8:=IF(M8=1,TS7+4.99,TS7);DRAWTEXT(M1 AND CURRBARSCOUNT=50,ZGD2-(ZGD2*TS1),'[绿灯]实计交易量增加。

通达信无未来函数指标:主图与庄同行副图精准到位。

通达信无未来函数指标:主图与庄同行副图精准到位。

通达信无未来函数指标:主图与庄同行副图精准到位。

主图提示高位减仓,低位抄底,副图出现黄色柱子低位金叉买入信号,主副图搭配使用适合波段操作。

上线:=SMA(C,6.5,1);下线:=SMA(C,13.5,1);上线1:=SMA(C,3,1);下线1:=SMA(C,8,1);STICKLINE(上线>下线, 上线,下线,2, 0),COLORRED,LINETHICK2;STICKLINE(下线>上线,上线,下线,2,0),COLORYELLOW,LINETHICK2;DRAWTEXT( CROSS(上线,下线),LOW *0.98,'抄底' ),COLOR00FF00;DRAWTEXT(CROSS(下线1,上线1),H*1.02,'出货'),COLORYELLOW;BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE, 12)+MA(CLOSE,24))/4;UPR:=BBI+3*STD(BBI,13),LINETHICK2;DR AWTEXT_FIX(C>O,0.01,0.9,0,'更多指标:YMBB1213'),COLOR0FFFFF;DWN:=BBI-3*STD(BBI,13);安全:=MA(CLOSE,60),LINETHICK2;LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; DRAWTEXT( CROSS(82,RSI) , HIGH*1.02,'注意减仓') ,COLORFF9966,LINETHICK2;A7:=(2*C+H+L)/4;操作:MA(A7,5),LINETHICK2;操作1:=MA(A7,5)*1.03,LINETHICK2;操作2:=MA(A7,5)*0指标仅供参考,不做买卖依据,喜欢的朋友可以点赞留言一起交流。

极品探底公式(源码,无未来 副图)通达信指标公式源码

极品探底公式(源码,无未来 副图)通达信指标公式源码

极品探底公式(源码,无未来副图)指标共10个买点,从买一到买十买一,买二,买三,买四,.....................买十买一出现的信号最频繁,越往后,指标出现的信号越少.当多少信号同时出现的,成功率越高.L1:=30;N:=6;LH:=80;{涨跌}最高:=HHV(H,L1);最低:=LLV(L,L1);涨幅:(最低-最高)/最高,COLOR0000FF,NODRAW;{一}MTM:=C-REF(C,1);MMS:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);买一:IF(MMS<6,1,0),COLORFFFFFF;{二}VAR16:=4*SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5, 1)-3*SMA(SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1),3 .2,1),COLORYELLOW,LINETHICK1;VAR1006:=8;买二: IF(CROSS(VAR16,VAR1006),2,0),COLOR0000FF;{三}VAR26:=REF(LOW,1);VAR36:=SMA(ABS(LOW-VAR26),3,1)/SMA(MAX(LOW-VAR26,0),3,1)*100; VAR46:=EMA(IF(CLOSE*1.2,VAR36*10,VAR36/10),3);VAR56:=LLV(LOW,L1);VAR66:=HHV(VAR46,L1);VAR76:=IF(LLV(LOW,90),1,0);VAR86:=EMA(IF(LOW<=VAR56,(VAR46+VAR66*2)/2,0),3)/618*VAR76; {ST01:STICKLINE(1<VAR86,VAR86,0 ,10 ,1 ),COLORMAGENTA;}买三:IF(1<VAR86,3,0),COLOR0080FF;{四}VAR1G:=CLOSE/MA(CLOSE,40)*100 < 78;VAR2G:=CLOSE/MA(CLOSE,60)*100 < 74;VAR3G:=HIGH > LOW*1.051;VAR4G:=VAR3G AND COUNT(VAR3G,5) > 1;买四:IF(VAR4G AND (VAR1G OR VAR2G),4,0),COLORFFFF00;{五}VAR28:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR38:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR48:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR58:=(VAR28+2*VAR38+3*VAR48)/6;VAR68:=MA(VAR58,3);买五:IF(VAR68<=-10,5,0),COLORFF8000;{六}LC:=REF(CLOSE,1);AA:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100;XG:=CROSS(-13,AA);RSI:=(SMA(MAX(CLOSE-LC,0),21,1)/SMA(ABS(CLOSE-LC),21,1)*20);BB:=MA(RSI,34);CC:=BB-2.5*STD(RSI,34);CF:=C>L;买六:IF(XG AND CF AND RSI<CC,6,0),COLOR00FFFF;{七}VAR1:=REF(CLOSE,1);VAR2:=SMA(MAX(CLOSE-VAR1,0),18,1)/SMA(ABS(CLOSE-VAR1),13,1)*100; VAR3:=SMA(MAX(CLOSE-VAR1,0),24,1)/SMA(ABS(CLOSE-VAR1),20,1)*100; VAR4:=BARSLAST(VAR3<48)<=3 AND CROSS(VAR2,VAR3);VAR5:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,20)*100<-12.5;VAR6:=LLV(LOW,5);VAR7:=HHV(HIGH,10);VAR8:=EMA((CLOSE-VAR6)/(VAR7-VAR6)*100,4);VAR9:=EMA(0.667*REF(VAR8,1)+0.333*VAR8,2);VARA:=1011131;VARB:=IF(DATE<=VARA,VAR5,0) OR IF(DATE<=VARA,LH,0);买七:IF(0-(-1)*VAR4 AND VAR5 AND CROSS(VAR8,VAR9) ANDVAR8<=25,8,0),COLOR00FF80;VARC:=REF(CLOSE,1);VARD:=SMA(MAX(CLOSE-VARC,0),7,1)/SMA(ABS(CLOSE-VARC),7,1)*100; VARE:=SMA(MAX(CLOSE-VARC,0),13,1)/SMA(ABS(CLOSE-VARC),13,1)*100; VARF:=BARSLAST(VARE<43)<=3 AND CROSS(VARD,VARE);VAR10:=(CLOSE-MA(CLOSE,43))/MA(CLOSE,20)*100<-12.5;VAR11:=LLV(LOW,5);VAR12:=HHV(HIGH,10);VAR13:=EMA((CLOSE-VAR11)/(VAR12-VAR11)*100,4);VAR14:=EMA(0.667*REF(VAR13,1)+0.333*VAR13,2);VAR15:=1011131;买八:IF(0-(-1)*VARF AND VAR10 AND CROSS(VAR13,VAR14) ANDVAR13<=25,8,0),COLOR808040;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)*10 0;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);VAR1F:=EMA(0.667*REF(VAR1E,1)+0.333*VAR1E,2);VAR20:=1011131;VAR21:=IF(DATE<=VAR20,VAR1B,0) OR IF(DATE<=VAR20,LH,0);买九:IF(0-(-1)*VAR1A AND VAR1B AND CROSS(VAR1E,VAR1F) ANDVAR1E<=25,8,0),COLORMAGENTA;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)*10 0;VAR25:=BARSLAST(VAR24<23)<=3 AND CROSS(VAR23,VAR24);VAR266:=(CLOSE-MA(CLOSE,23))/MA(CLOSE,20)*100<-12.5;VAR27:=LLV(LOW,5);VAR288:=HHV(HIGH,10);VAR29:=EMA((CLOSE-VAR27)/(VAR288-VAR27)*100,4);VAR2A:=EMA(0.667*REF(VAR29,1)+0.333*VAR29,2);VAR2B:=1011131;VAR2C:=IF(DATE<=VAR2B,VAR266,0) OR IF(DATE<=VAR2B,LH,0);买十:IF(0-(-1)*VAR25 AND VAR266 AND CROSS(VAR29,VAR2A) ANDVAR29<=25,8,0),COLORGREEN;。

通达信主力筹码一目了然副图指标

通达信主力筹码一目了然副图指标

这是一个用来监控主力动向很优秀的指标,有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线上下的柱线,显示资金进出情况。

通达信★绝佳买卖★公式指标(副图、源码、无未来)

通达信★绝佳买卖★公式指标(副图、源码、无未来)

通达信★绝佳买卖★公式指标(副图、源码、无未来)当绿线变成红线时,关注-逢低买入。

当红线变成绿线时,警示-逢高减仓。

当绿线变成蓝线时,风险-高抛避险。

注意:红、绿、蓝信号发生熟悉了再用。

简洁为上、机械进出、多验为准、减少错误操作!风险提示: 股市有风险,投资需谨慎! 公式指标仅作参考,不可作为决策唯一依据! 请三思而行通达信_★绝佳买卖★公式指标(副图、源码、贴图、无未来)VAR1:=(CLOSE+HIGH+LOW)/3;VAR2:=EMA(VAR1,10);VAR3:=REF(VAR2,1);探底震仓:IF(VAR2,10,DRAWNULL),COLORYELLOW,LINETHICK5;红买: IF(VAR2>VAR3,10,DRAWNULL), COLORRED,LINETHICK5;蓝卖: IF(VAR2<>RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*150;上穿买:SMA(RSV,3,1),COLORGREEN;IF(上穿买>REF(上穿买,1)*1.01,上穿买 ,DRAWNULL),COLORRED;IF(上穿买趋势线:SMA(上穿买,3,1),COLORYELLOW;VAR03:=(3,15,1)<10;VAR05:=IF(VAR03=1,2,0);涨家数:INDEXADV,COLOR0080FF,NODRAW;跌家数:INDEXDEC,COLORGREEN,NODRAW;DRAWICON(CROSS(红买,蓝卖),红买,2);DRAWICON(CROSS(蓝卖,红买),蓝卖-1,1);DRAWTEXT_FIX(1,0,0,0,'★ A - 见红关注-逢低买入★ '),COLORRED;DRAWTEXT_FIX(1,0.14,0,0,'★ B - 见绿警示-逢高减仓★'),COLORGREEN;DRAWTEXT_FIX(1,0.28,0,0,'★ C - 见蓝风险-高抛避险★ '),COLORCYAN;今日保护价:(REF(C,2)+REF(C,1)+O)/3 ,COLORCC3299,NODRAW;ZF:=(C-REF(C,1))/REF(C,1)*100;AA:EMA(EMA((C-REF(C,1)),6),6)*100/EMA(EMA(ABS((C-REF(C,1))),6),6)COLORGREEN,LINETHICK2;IF(AA>=REF(AA,1),AA,DRAWNULL), COLORRED,LINETHICK2;DD:=LLV(AA,BARSLAST(AA<>ZT:=BARSLAST(CROSS(AA,DD*0.66) AND AA<0 AND DD<-20);收益:SUM(ZF,IF(ZT=0,1,ZT)),COLORRED,LINETHICK0;MR:=CROSS(AA,DD*0.66) AND AA<0 AND DD<-20;DRAWICON(MR,AA*0.8,25);MC:=CROSS(DD,0) AND DD=AA;DRAWICON(MC,AA*0.9,24);DRAWTEXT(MC,AA*1.00,'快跑')COLORYELLOW;DRAWTEXT(MR,AA,'买入')COLORRED;。

精准买入(指标副图通达信贴图无未来)

精准买入(指标副图通达信贴图无未来)

精准买入(指标副图通达信贴图无未来)
股票公式不明白请查阅:股票公式文件使用以及说明!
许多指标都会经过作者初始作品,然后在网上流传中,一些指标行家反复改写和再创作,逐步完善,得到用户的认同。

下面这个指标精准买入,在网上流传了一段时间了,也不知道作者是谁,发出来大家学习借鉴一下。

精准一词是个概率问题,不是绝对的。

当出现“买入”字样,买入=1,可以买入。

DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;
DEA:=EMA(DIF,9);
MACD:=2*(DIF-DEA);
QS:=ABS((CROSS("MACD.DIF","MACD.DEA")&&"MACD.DEA "<=-0.07)*"MACD.DIF")*1.09;
DRAWTEXT(ABS(QS)>0,0.2,'买入'),COLORRED;
XG:ABS(QS)>0;。

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

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

活筹:=(100*WINNER(REF(CLOSE,1)*1.1)-100*WINNER(REF(CLOSE,1)*0.9)); 主力筹码:=100*WINNER(CLOSE*0.9), COLORCYAN;VAR1:=1;VAR2:=1/WINNER(CLOSE);VAR3:=MA(CLOSE,13);VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100);VAR5:=LLV(LOW,75);VAR6:=HHV(HIGH,75);VAR7:=(VAR6-VAR5)/100;VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);VARA:=3*VAR8-2*SMA(VAR8,15,1);散户线:=(100-VARA)*VAR1,COLORRED,LINETHICK2;主力线:=MA(WINNER(CLOSE*0.95)*100,3)*VAR1,COLORYELLOW, LINETHICK2;新庄:=(100-IF(VAR2>5,IF(VAR2<100,VAR2,VAR4-10),0))*VAR1,COLORGREEN, LINETHICK1,POINTDOT ;VARD:=散户线>VAR4;{STICKLINE(1,新庄,100,1,0),COLORRED,LINETHICK6;}即时虚拟量:=IF(CURRBARSCOUNT=1 ANDPERIOD=5,VOL/FROMOPEN*240,DRAWNULL),NODRAW;虚拟量:=IF(CURRBARSCOUNT>1,VOL,即时虚拟量);即时量比:虚拟量/REF(MA(虚拟量,5),1),NODRAW,COLORWHITE;主力进场:=主力筹码>2 AND REF(主力筹码,1)<1;主力建仓:(主力进场AND 即时量比>2)*40;STICKLINE(主力建仓,20,0,1.5,0),COLORGREEN;STICKLINE(主力建仓,55,0,1,0),COLORRED;STICKLINE(主力建仓,80,0,0.05,0),COLORWHITE;DRAWTEXT(主力进场AND 即时量比>2,80,'主'),COLORYELLOW; DRAWTEXT(主力进场AND 即时量比>2,65,'力'),COLORYELLOW; DRAWTEXT(主力进场AND 即时量比>2,50,'进'),COLORYELLOW; DRAWTEXT(主力进场AND 即时量比>2,35,'场'),COLORYELLOW;VAR1G:=(((CLOSE / MA(CLOSE,40)) * 100) < 78);VAR2G:=(((CLOSE / MA(CLOSE,60)) * 100) < 74);VAR3G:=(HIGH > (LOW * 1.051));VAR4G:=(VAR3G AND (COUNT(VAR3G,5) > 1));AA:=IF((VAR4G AND (VAR1G OR VAR2G)),2,0);BB:=C/REF(C,25)<=1.1;CC:=(SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100)<15;V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;操盘线:=SMA(V3,2,1);V5:=SMA(操盘线,2,1);抄底:=IF(操盘线>REF(操盘线,1) AND REF(操盘线,1)<REF(操盘线,2) AND 操盘线<23 ,1.5,0);买就赢利:=BB AND AA AND CC AND 抄底;参考:=MA(CLOSE,5);做多:=MA(CLOSE,10);准线:=EMA(CLOSE,14);涨幅%:=(C-REF(C,1))/REF(C,1)*100;条件6:=参考<做多AND 做多<准线;DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);DEAF:=EMA(DIFF,9);低位金叉:=CROSS(DIFF,DEAF) AND DIFF<-0.1;A1:=BARSLAST(REF(CROSS(DIFF,DEAF),1));底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEAF);潜伏:=低位金叉AND 底背离;DIF1:=EMA(C,13)-EMA(C,21);DEA:=EMA(DIF1,5);庄家埋伏:=REF(DIF1<0 AND DIF1<DEA,1) AND DIF1<0 AND DIF1>DEA AND 潜伏AND 条件6 ;好运当头:买就赢利OR 庄家埋伏;STICKLINE(好运当头,20,0,1.5,0),COLORGREEN;STICKLINE(好运当头,55,0,1,0),COLORRED;STICKLINE(好运当头,80,0,0.05,0),COLORWHITE;DRAWTEXT(好运当头,80,' 好'),COLORYELLOW;DRAWTEXT(好运当头,65,' 运'),COLORYELLOW;DRAWTEXT(好运当头,50,' 当'),COLORYELLOW; DRAWTEXT(好运当头,35,' 头'),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 AND V121>13),10);DRAWTEXT (BB,60,'主力进'),COLORWHITE;卖临界: STICKLINE(EMA(V111,3)>60 AND EMA(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),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(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,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;。

通达信——【私密一号买卖】副图指标附源...

通达信——【私密一号买卖】副图指标附源...

通达信——【私密一号买卖】副图指标附源...通达信——【私密一号买卖】副图指标附源码涨停板一直以来都是无法精准预测到的,提前进场的人肯定会吃很多肉,今天我给大家分享的指标可以帮助大家!!!没别的吹的,就是信号提前1-2天,提前进个场等待就行了,完全就是傻瓜式的操作指标!此指标是圈内内人'’柳大侠'’老师的作品,我也是偶然得来的,使用了一段时间后,吃嘛嘛香一觉睡到天亮看图,可清晰的看见副图信号就是比主图信号提前2天,提前进就代表入场费交的低啊,哈哈哈,其实这款主图效果也是很强的,都是无未来函数的,信号方面绝对不会飘,两个指标的进场信号出现一个就能进入,两个指标一起使用是为了减少容错率,在厉害的指标也可能会又翻车的几率,最对比是最好的!实战例子一个接一个,吃肉当然要吃最多的,打板要打最多的板!分享给大家,也希望大家可以点评此指标,顺便点个赞呗~VAR1:=(HIGH+LOW+CLOSE)/3;VAR2:=(VAR1-MA(VAR1,14))/(0.015*AVEDEV(VAR1,14));VAR3:=(VAR1-MA(VAR1,70))/(0.015*AVEDEV(VAR1,70));VAR4:=IF(VAR2>=150 AND VAR2<200 AND VAR3>=150 AND VAR3<200,10,0);VAR5:=IF(VAR2<=-150 AND VAR2>-200 AND VAR3<=-150 AND VAR3>-200,-10,VAR4);VAR6:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VAR7:=100-ABS(VAR6);VAR8:=IF(VAR7<90,VAR7,100);PJX:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;先知:PJX;VAR1A:=IF(PJX>0,PJX,0);VAR1B:=IF(VAR3>=200 AND VAR2>=150,15,IF(VAR3<=-200 AND VAR2<=-150,-15,VAR5))+60;VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR8<100;VAR1D:=VAR1A<48 AND VAR1B<60 AND VAR8<100;VAR2C:=IF(VAR3>=200 AND VAR2>=150,15,IF(VAR3<=-200 AND VAR2<=-150,-15,0))+30;VAR2E:=VAR1A<48 AND VAR2C<30 AND VAR8<100;VAR2F:=VAR1A<48 AND VAR2C>30 AND VAR8<100;VAR3D:=IF(VAR3<=200 AND VAR2<=150,-15,IF(VAR3>=-200 AND VAR2>=-150,15,VAR5));VAR3E:=VAR3D>0 AND VAR8<100;VAR3F:=VAR1A<48 AND VAR3D<0 AND VAR8<100;顶:60,COLOR00FF00;。

通达信绝密买卖点副图指标无加密无未来

通达信绝密买卖点副图指标无加密无未来

通达信绝密买卖点副图指标无加密无未来使用方法:指标构成: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线图中出现了见顶信号,指标也给出了见顶信号,并同时发出卖出信号,也就是主力线下穿散户线,成功卖出,锁定盈利。

非常好用非常准确无未来的主图指标通达信指标公式源码

非常好用非常准确无未来的主图指标通达信指标公式源码

⾮常好⽤⾮常准确⽆未来的主图指标通达信指标公式源码⾮常好⽤⾮常准确⽆未来的主图指标说明:1,⾥⾯提⽰的买⼊信号不会漂移,相信的你就放⼼参考跟踪,不相信不喜欢怀疑的你不⽤就是了,不要乱指责!该主图的最⼤好处就是长短线兼顾、趋势波段为主,可以最⼤化获利,有效避免追⾼被套;2,主图信息丰富、要明确其含义:a、任何全绿k 出现,哪怕是上涨都是卖出机会,但上涨时的全绿k出现不要即时卖出,要等在收盘前卖出;b、全绿k或黄绿k出现在下⽅红格区域属洗盘性质可以持有,出现在下⽅绿格区域要坚决清仓;c、下⽅每次出现第⼀个绿格时,哪怕股票处于上涨过程中,都不要介⼊去买,反⽽应及时考虑逢⾼出局,要在绿格后期或红格区域买⼊信号介⼊最好;d、红格区域属于拉升(主升)段,红格信号不消失就可以持有等待拉升,避免被主⼒洗出去。

VAR1:=(C+H+O+L)/4;卖出:=XMA(VAR1,20)*(1+80/1000),POINTDOT,COLORGREEN,LINETHICK3;买⼊:=XMA(VAR1,32)*(1-100/1000),POINTDOT,COLORMAGENTA,LINETHICK3;幅度:=100*(卖出-买⼊)/买⼊,NODRAW;菩提:=买⼊+(卖出-买⼊)*2/3;{此函数仅做参考线,为提前趋势预测线,上涨途中向下见顶,下跌途中向上见底};般:=XMA(CLOSE,7);若:=MEMA(CLOSE,3);全绿K:=LONGCROSS(若,般,3) AND H>菩提;RSVL:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;KL:=SMA(RSVL,3,1);DL:=SMA(KL,3,1);KKL:=SMA(RSVL,3,1);DD:=SMA(KL,3,1);NL:=KKL+DD;买⼊L:=DRAWICON(CROSS(NL,50),50,1),COLORRED;卖出L:=DRAWICON(CROSS(160,NL),160,2),COLORGREEN;卖出K:=CROSS(160,NL);TM:=(CLOSE*1.0+LOW*0.0+HIGH*0.0);T1M:=V;SL1M:=(TM/REF(TM,1)-1)*1000;趋势5:=XMA(XMA(XMA(SL1M,20),20),20),COLORYELLOW;趋势6:=XMA(XMA(XMA(SL1M,10),10),10),COLORMAGENTA;QA9:=趋势6-趋势5;QA10:=EMA(QA9,89);买⼊M:=(QA9-QA10)*2,COLORSTICK;M1:=EMA(C,5);M2:=EMA(C,13);M3:=EMA(C,34),COLORBLUE,LINETHICK2;MC1:=EMA(C,55);MC2:=EMA(C,89);MA4:=EMA(C,144);VAR1A1H:=(REF(CLOSE,1)-REF(ATR,1));买线1:=REF(EMA(C,14),1)COLORWHITE,LINETHICK3;卖线1:=IF(MC1>MAX(MC2,MA4),MC1,IF(MC1⾼1:=REF(HHV(H,150),3);低1:=REF(LLV(L,150),3);STICKLINE(买线1>=卖线1,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.96,6,0)COLOR001050;STICKLINE(买线1<卖线1,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.96,6,0)COLOR404050;STICKLINE(买⼊M>=0,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.98,2,1)COLORRED; STICKLINE(买⼊M<0,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.98,2,1)COLORGREEN; STICKLINE(买⼊L,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.96,2,0)COLORYELLOW; STICKLINE(卖出K AND 买⼊M<0,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.96,2,0)COLORCYAN;多空趋势彩带:DRAWBAND(SMA(C,6.5,1),RGB(255,97,0),SMA(C,13.5,1),RGB(0,128,0));中线:=(卖出+买⼊)/2,POINTDOT,COLORWHITE,LINETHICK4;MA5:=MA(C,5),COLOR000099;MA10:=MA(C,10),COLOR006600;MA20:=MA(C,20),COLOR005555;ZB1:=EMA(C,34);{ 原为55或65 }长期趋势:EMA(ZB1,13),COLORRED,LINETHICK3;{原为34或55}STICKLINE(C>=REF(C,1),O,C,3,1),COLOR000000;STICKLINE(CAA3:=EMA(CLOSE,5)>EMA(CLOSE,6) AND EMA(CLOSE,6)>EMA(CLOSE,7) ANDEMA(CLOSE,7)>EMA(CLOSE,8) AND EMA(CLOSE,8)>EMA(CLOSE,9)AND EMA(CLOSE,9)>EMA(CLOSE,10) AND EMA(CLOSE,10)>EMA(CLOSE,11) ANDEMA(CLOSE,11)>EMA(CLOSE,12)AND EMA(CLOSE,12)>EMA(CLOSE,13) AND EMA(CLOSE,13)>EMA(CLOSE,14);AA2:= EMA(CLOSE,14)>EMA(CLOSE,15)AND EMA(CLOSE,15)>EMA(CLOSE,20) AND EMA(CLOSE,20)>EMA(CLOSE,30) ANDEMA(CLOSE,30)>EMA(CLOSE,60) AND EMA(CLOSE,60)>EMA(CLOSE,90)AND EMA(CLOSE,90)>EMA(CLOSE,120) AND EMA(CLOSE,120)>EMA(CLOSE,250);A1:= AA2 AND AA3;A2:=EMA(CLOSE,5)>EMA(CLOSE,6) AND EMA(CLOSE,6)>EMA(CLOSE,7) ANDEMA(CLOSE,7)>EMA(CLOSE,8) AND EMA(CLOSE,8)>EMA(CLOSE,9)AND EMA(CLOSE,9)>EMA(CLOSE,10) AND EMA(CLOSE,10)>EMA(CLOSE,11) ANDEMA(CLOSE,11)>EMA(CLOSE,12)AND EMA(CLOSE,12)>EMA(CLOSE,13) AND EMA(CLOSE,13)>EMA(CLOSE,14);B1:=IF(A1,1,2);VAR1MZ:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2)));VAR2MZ:=((REF(VAR1MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=VAR3MZ:=((REF(VAR2MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2)));VAR4MZ:=((REF(VAR3MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=REF(CLOSE,2)));VAR5MZ:=((REF(VAR4MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2)));VAR6MZ:=((REF(VAR5MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=REF(CLOSE,2)));VAR7MZ:=((REF(VAR6MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2)));VAR8MZ:=((REF(VAR7MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=REF(CLOSE,2)));VAR9MZ:=((REF(VAR8MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2)));VARAMZ:=((REF(VAR9MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=REF(CLOSE,2)));VARBMZ:=((REF(VARAMZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2)));VARCMZ:=((REF(VARBMZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=REF(CLOSE,2)));{红K}STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) OR VARCMZ),L,H,0,0),COLOR0000DD;STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) OR VARCMZ),C,REF(C,1),3,0),COLOR000099;STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) OR VARCMZ),C,REF(C,1),2,0),COLOR0000BB;STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) OR VARCMZ),C,REF(C,1),1,0),COLOR0000DD;VARDMZ:=((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,2)));VAREMZ:=((REF(VARDMZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2)));VARFMZ:=((REF(VAREMZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=REF(CLOSE,2)));VAR10MZ:=((REF(VARFMZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2)));VAR11MZ:=((REF(VAR10MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));VAR12MZ:=((REF(VAR11MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=VAR13MZ:=((REF(VAR12MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=REF(CLOSE,2)));VAR14MZ:=((REF(VAR13MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2)));VAR15MZ:=((REF(VAR14MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=REF(CLOSE,2)));VAR16MZ:=((REF(VAR15MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2)));VAR17MZ:=((REF(VAR16MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=REF(CLOSE,2)));VAR18MZ:=((REF(VAR17MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2)));{绿K}STICKLINE((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) OR VAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) OR VAR18MZ),C,REF(C,1),3 ,0 ),COLOR00BB00;STICKLINE((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) OR VAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) OR VAR18MZ),C,REF(C,1),2 ,0 ),COLOR00DD00;STICKLINE((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) OR VAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) OR VAR18MZ),C,REF(C,1),1 ,0 ),COLOR00FF00; STICKLINE((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) OR VAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) OR VAR18MZ),H,L,0,0 ),COLOR00DD00;VAR19MZ:=(REF((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) ORVAR11MZ) OR VAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) ORVAR18MZ),1) AND VAR1MZ);VAR1AMZ:=(REF((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) OR VARCMZ),1) AND VARDMZ);{粉红}STICKLINE(VAR19MZ,REF(CLOSE,1),REF(CLOSE,2),3 ,0 ),COLORFF11FF;STICKLINE(VAR19MZ,REF(CLOSE,1),REF(CLOSE,2),2 ,0 ),COLORFF44FF;STICKLINE(VAR19MZ,REF(CLOSE,1),REF(CLOSE,2),1 ,0 ),COLORFF66FF;{黄⾊}STICKLINE(VAR1AMZ,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00AAFF;STICKLINE(VAR1AMZ,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR00CCFF;STICKLINE(VAR1AMZ,REF(CLOSE,1),REF(CLOSE,2),1,0),COLOR00EEFF;FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);TTJ:=CROSS(FF,MA15);上:=EMA(C,3),COLORBLUE,LINETHICK1;中:=EMA(C,5),COLORWHITE,LINETHICK1;下:=EMA(中,5),COLOR00FF00,LINETHICK1;QQ:= C<中;MM:=上>REF(上,1) AND REF(上,1)V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);V2:=(1-7/100)*(DMA(CLOSE,V1));V3:=(1+7/100)*(DMA(CLOSE,V1));V5:=MA((LOW+HIGH+CLOSE)/3,5);MA1Q:=MEMA(CLOSE,5);MA2Q:=ATAN((MA1Q/REF(MA1Q,1)-1)*100)*180/3.1416;MA3Q:=IF(MA2Q>0,MA2Q,MA2Q);MA5Q:=MA(CLOSE,5),COLOR888899;MA13:=MA(CLOSE,13),COLORFF00F0,LINETHICK2;VAR01:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3)) OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND C>=REF(C,1) AND C>=REF(C,2);VAR02:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);VAR03:=CLOSE=LLV(C,4) AND (REF(C,1)REF(C,1)=HHV(C,4) AND CCVAR04:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) ANDREF(C,2)=REF(C,1);VAR05:=REF(C,1)=HHV(C,4) AND CREF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) ANDREF(C,2)>=REF(C,4) AND CVAR06:=V5>REF(V5,1) AND REF(V5,1)VAR07:=LOWHHV(V5,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN;VAR08:=VAR07 AND COUNT(VAR06,2);VAR09:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);VAR10:=EMA(MA(C,13),13);VAR11:=FILTER((LLV(VAR09,2)=LLV(VAR09,7) AND COUNT(VAR09<0,2) AND CROSS(VAR09,MA(VAR09,2)))=1,5); VAR12:=FILTER((HHV(VAR09,2)=HHV(VAR09,7) AND COUNT(VAR09>50,2) AND CROSS(MA(VAR09,2),VAR09))=1,1); VAR13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;VAR14:=FILTER(((CROSS(VAR13,0) OR CROSS(C,VAR10)) AND VAR11)=1,3); VAR15:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));VAR16:=VAR08 AND NOT(REF(VAR08,1));RSVQ:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSVQ,3,1);D:=SMA(K,3,1);J:=3*K-2*D;⾦叉:=CROSS(J,D);死叉:=CROSS(D,J);买1:=(VAR14 OR VAR15) AND VAR11;买2:=(VAR14 OR VAR15) AND VAR04;买3:=(VAR14 OR VAR15) AND VAR02;买4:=(VAR02 AND VAR11) OR (VAR04 AND VAR11);买5:=(⾦叉AND VAR04) OR (⾦叉AND VAR02) OR (⾦叉AND VAR11);TTJ0:=VAR16;TTJ1:=买1 OR 买2 OR 买3 OR 买4 OR 买5 AND MM;XG0:=TTJ AND TTJ0;XG1:=TTJ AND TTJ1;XG11:=XG0 OR XG1;PL5:=ZIG(3,5);EN1:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3);EX1:=ZIG(3,5)=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3);PL10:=ZIG(3,10);EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)<=REF(ZIG(3,10),3); EX2:=ZIG(3,10)=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)>=REF(ZIG(3,10),3);PL20:=ZIG(3,20);EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)<=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)<=REF(ZIG(3,20),3); EX3:=ZIG(3,20)=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)>=REF(ZIG(3,20),3);PL40:=ZIG(3,40);⾛强1:=BARSLAST(PL5⾛弱1:=BARSLAST(PL5>REF(PL5,1));⾛强2:=BARSLAST(PL10⾛弱2:=BARSLAST(PL10>REF(PL10,1));⾛强3:=BARSLAST(PL20⾛弱3:=BARSLAST(PL20>REF(PL20,1));ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,⾛强2),0);ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,⾛强2),0);DTJZ5:=IF(PL10DTJD5:=IF(PL10ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,⾛强3),0);ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,⾛强3),0);DTJZ10:=IF(PL20DTJD10:=IF(PL20TJ11:=EN2 AND ZTJZ5=1;TJ22:=EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2;TJ33:=EN2 AND DTJZ10=1;TJ44:=EN3 AND ZTJZ10=1;TJ55:=EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2;XG22:=TJ11 OR TJ22 OR TJ33 OR TJ44 OR TJ55;XGQ:=XG11 OR XG22;W18:=EXIST(XGQ,1);DRAWTEXT(XGQ,L-0.1,'●放⼼买'),COLORRED;SQX:=(C-MA(CLOSE,13))*100;DIFF:=EMA(MA(SQX,7),1),COLORWHITE;DEA:=EMA(DIFF,7),COLORYELLOW;MACD:=(DIFF-DEA)*2,COLORSTICK;奉献理想专⽤:IF((CROSS(DIFF,DEA) ANDDIFF<-0.1) ,L-0.2,DRAWNULL),COLORMAGENTA,LINETHICK9,CROSSDOT;低位⾦叉:=IF(CROSS(DIFF,DEA) ANDDIFF<-0.1,15,DRAWNULL),COLORMAGENTA,LINETHICK9,CROSSDOT;IF(CROSS(DIFF,DEA) ANDDIFF<-0.1,L-0.2,DRAWNULL),COLORYELLOW,LINETHICK4,POINTDOT; {再上N均线N 10 1 100 1}MA1:=MA(C,5);MA2:=MA(C,10);MA3:=MA(C,21);破N:=REF(MA1,1)REF(MA2,1);试摸N:=C>MA(C,10) OR H>=MA2;再上N:=C>O AND REF(C,1)< MA(C,10) AND 试摸N AND 破N AND MA(C,21)DRAWTEXT(有⾏情,LOW-0.2,'●有⾏情'),COLORGREEN;VAR10B:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);VAR11B:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) ANDREF(ZIG(3,6),2)<=REF(ZIG(3,6),3);VAR12B:=ZIG(3,6)=REF(ZIG(3,6),2) ANDREF(ZIG(3,6),2)>=REF(ZIG(3,6),3);VAR13B:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);VAR14B:=ZIG(3,22)=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);VAR15B:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);VAR16B:=ZIG(3,51)=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);VAR17B:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);VAR18B:=ZIG(3,72)=REF(ZIG(3,72),2) ANDREF(ZIG(3,72),2)>=REF(ZIG(3,72),3);VAR19B:=EMA(CLOSE,2)-EMA(CLOSE,150);买1B:=VAR10B;买2B:=(VAR11B+VAR13B+VAR15B+VAR17B);BB:=IF(买1B>0 OR 买2B>0 ,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW;红买绿卖:IF(CROSS(BB,买1B),LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK5,COLORWHITE;⽜节点:=CROSS(EMA(C,5),EMA(C,30))AND CROSS(EMA(C,10),EMA(C,20)); DRAWICON(⽜节点,L-0.1,13);CSAR:=SAR(10,2,20);持币:=IF(CSAR>=H,CSAR,0),CIRCLEDOT,COLORGREEN{持币};持股:=IF(CSAR<=L,CSAR,0),CIRCLEDOT,COLORRED{持股};⽣命线2:=EMA(SLOPE(C,21)*20+C,42),LINETHICK2,COLORYELLOW;{股价在上持,在下空仓}⽌损:=EMA(C,5),COLORYELLOW,LINETHICK1;{红持股绿持币黄观望}菩提B:=XMA(H,20);{此函数仅做参考线,为提前趋势预测线,上涨途中向下见顶,下跌途中向上见底};参买:=IF(⽌损>=REF(⽌损,1),⽌损,DRAWNULL),LINETHICK2,COLORRED;{持股前提} DRAWICON(CROSS(L,CSAR) AND 参买>0 AND H<菩提B AND 持股>0AND H>长期趋势,(LOW- 0.1),5);VVAR1D:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);短底:=EMA(VVAR1D,5);⽀撑:=HHV(短底,60);MAN:=(SMA(HIGH,21,2) * 1.05);下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);中D:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);X1D:=EMA(中D,10);RSVD:=SMA(下档线,3,1);K⼤:=SMA(RSVD,3,1);D⼤:=((3 * RSVD) - (2 * K⼤));J12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);RSV24:=SMA(J12,3,1);K24:=SMA(RSV24,3,1);D24:=((3 * RSV24) - (2 * K24));压⼒位:=IF(CROSS(D24,D⼤),HIGH,REF(HIGH,BARSLAST(CROSS(D24,D⼤)))),COLORFFFFFF;⽜浮⾯:=CROSS(CLOSE,MA20) AND HIGH < 压⼒位AND OPEN < MA20AND HIGH < ⽀撑AND MAN - REF(MAN,1) > 0 AND X1D - REF(X1D,1)>0 ANDD⼤< 63 AND MA20 - REF(MA20,1) > 0,COLORWHITE;DRAWTEXT(⽜浮⾯,L,'●⽜浮⾯'),COLORWHITE;CO:=(C-O);绿K:=(卖出>LOW AND 卖出MIN(C,O) AND 卖出OR 卖出{全绿K}全绿K2:=C>卖出OR (H>卖出AND O>C); STICKLINE(全绿K2,C,O,3,0),COLOR00BB00; STICKLINE(全绿K2,C,O,2,0),COLOR00DD00; STICKLINE(全绿K2,C,O,1,0),COLOR00FF00;。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
DRAWICON(CROSS(82,VARR1),10,2);
DRAWTEXT(CROSS(82,VARR1),35,'减'),COLORYELLOW;
神奇线选股:(CROSS(趋势,判断) AND 趋势&lt;80),LINETHICK0;
波段选股:(BBUY),LINETHICK0;
IF(判断&gt;50 AND 趋势&gt;判断,判断,DRAWNULL ),COLORYELLOW,LINETHICK2;
IF(判断&lt;50 AND 趋势&gt;判断,判断,DRAWNULL),COLORFF00FF;
IF(判断&gt;50 AND 趋势&lt;判断,判断,DRAWNULL),COLORGREEN,LINETHICK2;
STICKLINE(转点=1,50,50,2,0),COLORYELLOW;
STICKLINE(转点=0,50,50,2,0),COLORCYAN;
STICKLINE(C,90,90,1,0),COLORYELLOW;
STICKLINE(C,10,10,1,0),COLORCYAN;
判断:SMA(趋势,3,1),COLORYELLOW;
STICKLINE(REF(趋势1,1)&lt; 趋势1, 趋势1,REF(趋势1,1),2,0),COLOR000077;
STICKLINE(REF(趋势1,1)&lt; 趋势1, 趋势1,REF(趋势1,1),1.5,0),COLOR0000BB;
STICKLINE(REF(趋势1,1)&lt; 趋势1, 趋势1,REF(趋势1,1),1,0),COLOR0000DD;
通达信主力建仓买卖极品指标 副图精品 无未来
{STICKLINE(100,120,50,5,0),COLOR669900;
STICKLINE(50,50,0,5,0),COLOR666600;
STICKLINE(1,0,-50,5,0),COLOR006600;
STICKLINE(-50,-50,-120,5,0),COLOR003300;
D1:=(C+L+H)/3;
D2:=EMA(D1,6);
D3:=EMA(D2,5);
BBUY:=CROSS(D2,D3);
DRAWICON(BBUY,10,1);
VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
LC:= REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2:=SMA(VAR1,9,1)+100;
VAR2Q:=REF(LOW,1);
VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;
VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);
VAR5Q:=LLV(LOW,30);
VAR6Q:=HHV(VAR4Q,30);
转弱:IF(趋势&lt;50,趋势,DRAWNULL),COLORGREEN;
RSV:=(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
DIFF:=EMA(CLOSE,2)-EMA(CLOSE,55);
DEA:=EMA(DIFF,6);
MACD:=2*(DIFF-DEA);
转点:=IF(K&gt;D AND CCI&gt;0 AND DIFF&gt;DEA AND MACD&gt;0,1,0);
STICKLINE(火焰山&gt;0,0 ,火焰山*1.2,2,0 ),COLOR7777FF;
STICKLINE(火焰山&gt;0,0 ,火焰山*1.2,1,0 ),COLOR9999FF;
STICKLINE(REF(趋势1,1)&lt; 趋势1, 趋势1,REF(趋势1,1),3,0),COLOR000033;
风险区:80,COLORFF85FF;
安全区:20,COLORYELLOW,POINTDOT;
顶部:90,COLORFFFF00;
强弱线:50,COLORGREEN,POINTDOT;
DRAWICON(CROSS1);
DRAWICON(CROSS(趋势,顶部),顶部,2);
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1)+100;
VAR6:=VAR5-VAR2;
趋势1: IF(VAR6&gt;45,VAR6-45,0),COLOR00FFFF;
VAR7Q:=IF(MA(CLOSE,58),1,0);
VAR8Q:=EMA(IF(LOW&lt;=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/999*VAR7Q;
火焰山:=IF(VAR8Q&gt;100,100,VAR8Q);
STICKLINE(火焰山&gt;0,0 ,火焰山*1.2,3,0 ),COLOR4444FF;
STICKLINE(REF(趋势1,1)&gt; 趋势1, 趋势1,REF(趋势1,1),3,0),COLOR003300;
STICKLINE(REF(趋势1,1)&gt; 趋势1, 趋势1,REF(趋势1,1),2,0),COLOR007700;
STICKLINE(REF(趋势1,1)&gt; 趋势1, 趋势1,REF(趋势1,1),1,0),COLOR00DD00;
逃顶:=CROSS(82,RSI);
STICKLINE( 逃顶,逃顶,20,3,0),COLORFF5500;
STICKLINE( 逃顶,逃顶,30,2,0),COLORFF8800;
STICKLINE( 逃顶,逃顶,30,1,0),COLORFFAA00;
STICKLINE( 逃顶,逃顶,30,0.5,0),COLORFFCC00;
}
趋势:SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1),COLORYELLOW;
DRAWBAND(趋势,RGB(155,50,50),50,RGB(0,100,50));
转强:IF(趋势&gt;50,趋势,DRAWNULL),COLORRED;
相关文档
最新文档