DRAWTEXTABS(300,2,'风吹杨柳千股绿 雨润桃花万票红'),color009900,LINETHICK3;
var1:=if(year>=2993 and month>=1,0,1);
var2:=ref(low,1)*var1;
var3:=sma(abs(low-var2),3,1)/sma(max(low-var2,0),3,1)*100*var1;
var4:=ema(if(close*1.3,var3*10,var3/10),3)*var1;
var5:=llv(low,30)*var1;
var6:=hhv(var4,30)*var1;
var7:=if(ma(close,58),1,0)*var1;
var8:=ema(if(low<=var5,(var4+var6*2)/2,0),3)/618*var7*var1;
var9:=if(var8>100,100,var8)*var1;
stickline(var9>-150,0,var9,6,1),colormagenta;
底部吸筹指标: (close-ma(close,40))/ma(close,40)*100*var1,color3366ff;
吸筹指标:cross(底部吸筹指标,-24);
stickline(cross(底部吸筹指标,-24),100,0,6,0),color3366ff;
可能放量拉升: 0*var1,colorwhite;
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;
V13:=EMA(V12,5);
FLOATRGN(V12,(V13-V12)*5,(V12-V13)>0,RGB(255,0,0),(V12-V13)< 0,RGB(0,255,0));
V1:=LLV(LOW,10);
V2:=HHV(HIGH,20);
lyf1:=EMA(((CLOSE-V1)/(V2-V1))*((-100)),3);
VARg5:=((CLOSE)/(REF(CLOSE,5))>=1.15);
VARg6:=BACKSET(VARg5,5);
满仓:IF((VARg6 AND (COUNT(VARg6,5)=1) or (CLOSE>=HHV(HIGH,HIGH))
AND ((CLOSE)/(REF(CLOSE,1))>1.098) AND (REF(VOL,LOW)>REF(VOL,34))
AND (REF(VOL,LOW)>REF(VOL,1)) AND (LYF1>(-93))
AND (REF(VOL,LOW)>REF(VOL,8))),60,0),Stick,COLOR009999,linethick5;
DRAWTEXT(满仓 AND (LYF1<(-75)),(63),'特别关注'),COLORWHITE;
Var01:=100-3*SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,90)-LLV(LOW,29))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,90)-LLV(LOW,29))*100,20,1),15,1);
Var02:=100-3*SMA((OPEN-LLV(LOW,34))/(HHV(HIGH,90)-LLV(LOW,29))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,34))/(HHV(HIGH,90)-LLV(LOW,29))*100,20,1),15,1);
Var03:=Var01<REF(Var02,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
不要放过:Var03 AND COUNT(Var03,30)=1 and c<ema(c,20) and ma(c,20)>ma(c,200),COLORWHITE;
STICKLINE(不要放过,2,59,5,0) ,COLORWHITE,LINETHICK3;
DRAWTEXT(不要放过,68,'宁杀错不放过'),COLORWHITE,LINETHICK3;
趋势线:=(1.06*(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)-50)+50);
买入: IF(CROSS(趋势线,8.5),60,19),color0000FF;
DRAWTEXT(CROSS(趋势线,8.5),65,'买'),color0099ff;