W00:=COST(1);
W10:=COST(10);
W20:=COST(20);
W30:=COST(30);
W40:=COST(40);
W50:=COST(50);
W60:=COST(60);
W70:=COST(70);
W80:=COST(80);
W90:=COST(90);
W100:=COST(99);
W5:=COST(5);
W15:=COST(15);
W25:=COST(25);
W35:=COST(35);
W45:=COST(45);
W55:=COST(55);
W65:=COST(65);
W75:=COST(75);
W85:=COST(85);
W95:=COST(95);
C5:=W5-W00;
C10:=W10-W5;
C15:=W15-W10;
C20:=W20-W15;
C25:=W25-W20;
C30:=W30-W25;
C35:=W35-W30;
C40:=W40-W35;
C45:=W45-W40;
C50:=W50-W45;
C55:=W55-W50;
C60:=W60-W55;
C65:=W65-W60;
C70:=W70-W65;
C75:=W75-W70;
C80:=W80-W75;
C85:=W85-W80;
C90:=W90-W85;
C95:=W95-W90;
C100:=W100-W95;
ZX:=MIN(C5,MIN(C10,MIN(C15,MIN(C20,MIN(C25,MIN(C30,MIN(C35,MIN(C40,MIN(C45,MIN(C50,MIN(C55,MIN(C60,MIN(C65,MIN(C70,MIN(C75,MIN(C80,MIN(C85,MIN(C90,MIN(C95,C100)))))))))))))))))));
筹宽:=W100-W00;
TYX3:=MA(REF(HHV((CLOSE+LOW+OPEN+HIGH)/4,30),1),3);
TYX4:=MA((CLOSE+LOW+OPEN+HIGH)/4,13);
TYX5:=EMA((CLOSE+LOW+OPEN+HIGH)/4,21);
TDXSTEP272:STICKLINE(CLOSE
TDXSTEP273:STICKLINE(CLOSE
TDXSTEP274:STICKLINE(CLOSE
TDXSTEP283:STICKLINE(CLOSE>TYX5 AND CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR00AAFF;
TDXSTEP284:STICKLINE(CLOSE>TYX5 AND CLOSE>OPEN,CLOSE,OPEN,2,0),COLOR00CCFF;
TDXSTEP285:STICKLINE(CLOSE>TYX5 AND CLOSE>OPEN,CLOSE,OPEN,1,0),COLOR00EEFF;
TDXSTEP286:STICKLINE(CLOSE>TYX4 AND CLOSE>OPEN,HIGH,LOW,0,0),COLORFF66AA;
TDXSTEP287:STICKLINE(CLOSE>TYX4 AND CLOSE>OPEN,CLOSE,OPEN,3,0),COLORFF11FF;
TDXSTEP288:STICKLINE(CLOSE>TYX4 AND CLOSE>OPEN,CLOSE,OPEN,2,0),COLORFF44FF;
TDXSTEP289:STICKLINE(CLOSE>TYX4 AND CLOSE>OPEN,CLOSE,OPEN,1,0),COLORFF66FF;
TDXSTEP290:STICKLINE(CLOSE>TYX4 AND CLOSE
TDXSTEP295:STICKLINE(CLOSE>TYX3 AND CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR000099;
TDXSTEP296:STICKLINE(CLOSE>TYX3 AND CLOSE>OPEN,CLOSE,OPEN,2,0),COLOR0000BB;
TDXSTEP297:STICKLINE(CLOSE>TYX3 AND CLOSE>OPEN,CLOSE,OPEN,1,0),COLOR0000DD;
TDXSTEP298:STICKLINE((CLOSE-REF(CLOSE,1))*100/REF(CLOSE,1)>=10-0.01*100/REF(CLOSE,1),OPEN,CLOSE,1,0),COLORYELLOW;
TDXSTEP299:STICKLINE((REF(CLOSE,1)-CLOSE)*100/REF(CLOSE,1)>=10-0.01*100/REF(CLOSE,1),OPEN,CLOSE,1,0),COLORWHITE;
TDXSTEP300:STICKLINE(REF(COUNT(CLOSE
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
压:=L1+P1*7/8,COLORGREEN;
撑:=L1+P1*0.5/8,COLORRED;
中位:=(撑+压)/2,COLORWHITE;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
N:=35;N1:=3;M:=35;
GUB1:=(HHV(H,N)-C)/(HHV(H,N)-LLV(LOW,N))*100-M;
GUB2:=SMA(GUB1,N,1)+100;
GUB3:=(C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100;
GUB4:=SMA(GUB3,3,1);
GUB5:=SMA(GUB4,3,1)+100;
GUB6:=GUB5-GUB2;
上价:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;
下价:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;
中价:=MAX(EMA(上价,1)-EMA(下价,5),0)*200;
吃庄:=EMA(中价,5);
GUA:=30;
实体比例:=(CLOSE-OPEN)/REF(CLOSE,1);
冲击系数:=MA(实体比例,GUA);
冲击系数1:=MA(冲击系数,3);
LC:=REF(CLOSE,1);
VAD1:=(CLOSE-EMA(CLOSE,5))/EMA(CLOSE,5)*100;
VAD2:=(CLOSE-EMA(CLOSE,10))/EMA(CLOSE,10)*100;
VAD3:=(CLOSE-EMA(CLOSE,20))/EMA(CLOSE,20)*100;
VAD4:=(CLOSE-EMA(CLOSE,60))/EMA(CLOSE,60)*100;
VAD5:=(CLOSE-EMA(CLOSE,120))/EMA(CLOSE,120)*100;
VAD6:=VAD1>4 AND VAD2>6 AND VAD3>8 AND VAD4>10 AND VAD5>12;
VAD7:=AMOUNT/REF(AMOUNT,BARSLAST(CROSS(AMOUNT,REF(HHV(AMOUNT,30),1))));
VAD8:=REF(VAD7,1)>1 AND REF(VAD7,2)>1 AND REF(VAD7,3)>1;
VAD9:=CLOSE/REF(CLOSE,1)>1.01 OR CLOSE/OPEN>1.04;
VAD10:=EMA(CLOSE,5)>EMA(CLOSE,10) AND EMA(CLOSE,10)>EMA(CLOSE,20) AND EMA(CLOSE,5)>EMA(CLOSE,20);
VAD11:=VAD8 AND LOW
龙头回踩:FILTER(VAD11 AND VAD12,2);
微信:=FINDHIGH(HIGH,1,BARSLAST(龙头回踩),1);
VAf:=FINDLOW(LOW,1,BARSLAST(龙头回踩),1);
VAD的指标库:=微信/VAf<1.23;
VAD13:=BARSLAST(龙头回踩)>=5 AND BARSLAST(龙头回踩)<20;
VAD14:=CLOSE>REF(CLOSE,BARSLAST(龙头回踩)) OR CROSS(CLOSE,REF(LOW,BARSLAST(龙头回踩)));
VAD15:=REF(VAD的指标库,1) OR REF(VAD的指标库,2) AND VOL>REF(HHV(VOL,4),1) AND VAD13 AND VAD14;
筹码突破:CLOSE>TYX3 AND (CLOSE-REF(CLOSE,1))*100/REF(CLOSE,1)>=10-0.01*100/REF(CLOSE,1),COLORRED;A1:=COST(85);
A2:=COST(15);
A3:=A1-A2;
A4:=(A1+A2)/2;
A5:=A3/A4*100<10;
B2:=LLV(LOW,250);
当日换手:V/CAPITAL*100,NODRAW;
FC:=(WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0)),NODRAW;
相对换手:V/(CAPITAL*FC)*100,NODRAW;
获利盘:WINNER(C)*100,NODRAW;
观望者众:=相对换手<=6,NODRAW,COLORWHITE;
交投活跃:=相对换手>6 AND 相对换手<14,NODRAW,COLOR00F2F2;
成交异常:=相对换手>=14,NODRAW,COLORRED;
博傻警戒线:=80;一版线:
STICKLINE(相对换手>博傻警戒线,相对换手,相对换手+-38,3.6,0),COLORFFFF00;
套牢者众:=获利盘<=30,NODRAW,COLORWHITE;
输赢各半:=获利盘>30 AND 获利盘<85,NODRAW,COLOR00F2F2;
多数获利:=获利盘>=85,NODRAW,COLORRED;
STICKLINE(多数获利,0,相对换手/2,0.3,0),COLORRED;
博傻者众:=相对换手>博傻警戒线,NODRAW,COLORFFFF00;
DRAWTEXT_FIX(1,0,0.05,0,'★谨记:暴涨蓝虚线下穿0轴,筹码突围红虚线上穿散筹绿虚线,突围信号出才参与。'),COLORMAGENTA;
STICKLINE(VAD9>-120,0,VAD9/3,2,1),COLORMAGENTA;
红买:FILTER(CROSS(VAD11,11),7),COLORRED;
STICKLINE(红买,0,-130,6,0),COLORRED;
筹码突围:EMA(WINNER(C)*70,3),DOTLINE,COLORRED;
DRAWGBK(CLOSE>0,RGB(1,1,1),RGB(1,1,1),0,0,1);
主力开始控盘:(IF(GUB6>N1,GUB6-N1,0))*2.5,COLORRED;
STICKLINE(主力开始控盘 AND 主力开始控盘>85,100,主力开始控盘,3.3.2.2,0),COLORRED;STICKLINE(冲击系数1>0,((冲击系数1*10000)+吃庄)/2,0,2.5,0),COLORBLUE;
STICKLINE(主力开始控盘 AND 主力开始控盘>85,100,主力开始控盘,3.5.3,0),COLORRED;
STICKLINE(冲击系数1>0,((冲击系数1*10000)+吃庄)/2,0,2.3.8.4,0),COLORBLUE;
VAR1:=C-REF(C,1);VAR2:=O-REF(O,2);VAR3:=H-REF(H,1);VAR4:=L-REF(L,1);VAR5:=(VAR1+VAR2+VAR3+VAR4)/4;资金:=(MA(VAR5*VOL,10)+EMA(VAR5*VOL,16))/3000,LINETHICK0;涨幅:=(C-REF(C,1))/REF(C,1)*WINNER(C*1.2)*10;涨幅1:=(C-REF(C,1))/REF(C,1)*WINNER(C*0.9)*10;STICKLINE(资金>0,资金*涨幅,0,1.2,0), COLORRED;STICKLINE(资金*涨幅<0,资金*涨幅,0,1.2,0) ,COLORGREEN;STICKLINE(资金<0,-资金*涨幅,0,1.2,0) ,COLORGREEN;STICKLINE(资金>0,资金*涨幅1,0,0.3,0), COLORYELLOW;DRAWTEXT_FIX(C>O,0.02,0.01,0,''),COLORYELLOW;DRAWTEXT_FIX(C>O,0.03,0.01,0,''),COLORYELLOW;DRAWTEXT_FIX(C>O,0.04,0.01,0,''),COLORYELLOW;DRAWTEXT_FIX(C>O,0.01,0.16,0,''),COLORMAGENTA;主力持仓:25*0.05*EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORFF00FF;主力筹码集中度:WINNER(C)*5*25,COLORRED;散筹筹码集中度:(WINNER(C*1.1)-WINNER(C*0.9))*5*25,COLORYELLOW;DRAWTEXT(ISLASTBAR,主力持仓,'................主仓'),COLORRED;DRAWTEXT(ISLASTBAR,主力筹码集中度,' .................主筹'),COLORFF00FF;MD:=主力筹码集中度>主力持仓 AND CROSS(主力筹码集中度,散筹筹码集中度);
DRAWICON(MD,主力筹码集中度,9);
B4:=A4-B2;
B5:=CLOSE/REF(CLOSE,1)>1.04 AND VOL/REF(VOL,1)>2 AND HIGH=CLOSE;
筹码强势突破:A5 AND B4 AND WINNER(CLOSE)>=0.9 AND B5,COLORMAGENTA;
TDXSTEP301:DRAWICON(筹码突破,LOW*1.39,9);
TDXSTEP302:DRAWICON(筹码强势突破,LOW*0.97,26);
筹码线:EMA(COST(99),181),POINTDOT,COLORFF0080,LINETHICK2;
筹码密集度:(COST(90+(100-90)/2)-COST((100-90)/2))/(COST(90+(100-90)/2)+COST((100-90)/2))+CLOSE,COLORYELLOW,LINETHICK0;
DRAWICON(LONGCROSS(筹码密集度,筹码线,60),筹码线,42);
DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK),COLOR00CCCC;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK),COLOR00CCCC;
DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,DYBLOCK),COLOR00CCCC;
DRAWTEXT_FIX(ISLASTBAR,0.2,0,0,GNBLOCK),COLOR00CCCC;
X_281:=REF(CLOSE,1);
X_282:=SMA(MAX(CLOSE-X_281,0),6,1)/SMA(ABS(CLOSE-X_281),6,1)*100;
DRAWTEXT(龙头回踩,200.8,'红穿蓝买'),COLORYELLOW;
X_1:=MA(CLOSE,5);
X_2:=MA(CLOSE,10);
X_3:=MA(CLOSE,30);
X_4:=ATAN((X_1/REF(X_1,1)-1)*100)*180/3.1416;
X_5:=ATAN((X_2/REF(X_2,1)-1)*100)*180/3.1416;
X_6:=ATAN((X_3/REF(X_3,1)-1)*100)*180/3.1416;
X_7:=FILTER(X_6>30 AND X_5>45 AND CROSS(X_4,60),10);
X_8:=CLOSE*VOL;
X_9:=EMA((EXPMA(X_8,3)/EXPMA(VOL,3)+EXPMA(X_8,6)/EXPMA(VOL,6)+EXPMA(X_8,12)/EXPMA(VOL,12)+EXPMA(X_8,24)/EXPMA(VOL,24))/4,13);
X_10:=EMA((EXPMA(X_8,27)/EXPMA(VOL,27)+EXPMA(X_8,54)/EXPMA(VOL,54)+EXPMA(X_8,108)/EXPMA(VOL,108)+EXPMA(X_8,316)/EXPMA(VOL,316))/4,34);
X_11:=1.06*X_9;
X_12:=1.13*X_9;
X_13:=REF(CLOSE,1)*1.1-CLOSE<0.01 AND HIGH=CLOSE;
X_14:=CROSS(CLOSE,X_11) AND X_13;
X_15:=CROSS(CLOSE,X_12) AND X_13;
X_16:=1.06*X_10;
X_17:=X_10*0.94;
X_18:=CROSS(CLOSE,X_16) OR CROSS(CLOSE,X_17) AND X_13;
X_19:=X_14 OR X_15 OR X_18;
X_20:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;
X_21:=CCI#MONTH;
X_22:=CCI#WEEK;
X_23:=X_21>=200 OR X_22>=200;
X_24:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
X_25:=X_23 AND X_19 AND X_20>REF(X_20,1);
X_26:=X_23 AND X_7 AND X_20>REF(X_20,1);
X_27:=X_25 OR X_26;
STICKLINE(X_27,0,1,1,0),COLORCC00FF;
DRAWICON(X_27,0.9,17);
散筹:EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3),DOTLINE,COLORGREEN;
暴涨线:散筹-筹码突围,COLORFFBB00,DOTLINE;STICKLINE(CROSS(0,暴涨线),-130,0,3,0),COLORRED;DRAWTEXT(CROSS(0,暴涨线),暴涨线,'★★走强'),COLORRED;