股价趋势:=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);
底部警戒:=10;
买入警戒:STICKLINE(股价趋势<=10,0,20,1,0),COLORYELLOW,LINETHICK2;
买入信号:=STICKLINE(CROSS(股价趋势,底部警戒),0,30,3,0);
顶部警戒:=90;
卖出警戒:STICKLINE(股价趋势>=85,100,80,2,0),COLOR66FF00,LINETHICK2;
止损出局:STICKLINE(CROSS(顶部警戒,股价趋势),130,90,2,0),COLORFF3300,LINETHICK5;
QQQ:=CROSS(顶部警戒,股价趋势);
TDXSTEP157:DRAWICON(QQQ,70,19);
TDXSTEP158:DRAWTEXT(QQQ,130,18);
多方趋势线: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),COLOR8811FF,LINETHICK2;
主升线:=14;
天线:=78.889999;
抄底:=CROSS(多方趋势线,主升线);
逃顶:=CROSS(天线,多方趋势线);
TDXSTEP159:DRAWTEXT(抄底,50,19);
TDXSTEP160:DRAWTEXT(逃顶,110,20);
VARX:=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(CROSS(VARX,3),100,0);
捕食秘密买点:=IF(VARX<=3,25,0);
建增补仓:IF(VARX<5,100,0),COLORRED;
VAR21:=REF(CLOSE,1);
VAR22:=SMA(MAX(CLOSE-VAR21,0),6,1)/SMA(ABS(CLOSE-VAR21),6,1)*100;
短期顶部:CROSS(80,VAR22)*160,COLORWHITE;
TDXSTEP161:DRAWTEXT(CROSS(80,VAR22),150,21),COLORWHITE;
VAR31:=SMA(MAX(CLOSE-VAR21,0),7,1)/SMA(ABS(CLOSE-VAR21),7,1)*100;
VAR41:=SMA(MAX(CLOSE-VAR21,0),13,1)/SMA(ABS(CLOSE-VAR21),13,1)*100;
VAR51:=BARSCOUNT(CLOSE);
短期底部:=VAR31<20 AND VAR41<25 AND VAR51>50*300;
TDXSTEP162:DRAWTEXT(CROSS(100,短期底部),70,22),COLORBROWN;
VAR441:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;
VAR442:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
红灯:=VAR441 AND VAR442;
VAR33:=REF(CLOSE,1);
VAR43:=SMA(MAX(CLOSE-VAR33,0),6,1)/SMA(ABS(CLOSE-VAR33),6,1)*100;
绿灯:=CROSS(80,VAR43);
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.2,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,38);
VAR6:=HHV(VAR4,38);
VAR7:=IF(LLV(LOW,90),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
秘密吸筹:STICKLINE(VAR8,0,VAR8,2,1),COLORFFFF66;
XL1:=MA(LOW,2)*0.96;
XL2:=MA(LOW,26)*0.85;
XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2);
TDXSTEP163:STICKLINE(XL3,0,VAR8*2,2,0),COLORFF00CC;
TDXSTEP164:DRAWTEXT(XL3,60,23),COLORRED;
TDXSTEP165:DRAWICON(红灯,1.1,9);
TDXSTEP166:DRAWICON(绿灯,80,15);