P1:=5;P2:=4;
底线:0,LINETHICK1,COLORMAGENTA;
高位:80,LINETHICK1,COLORMAGENTA;
低位:20,LINETHICK1,COLORMAGENTA;
VARR1:=LLV(LOW,P1);
VARR2:=HHV(HIGH,P1);
K: EMA((CLOSE-VARR1)/(VARR2-VARR1)*100,P2),COLORGREEN,LINETHICK1;
D: EMA(0.667*REF(K,1)+0.333*K,2),COLORRED,LINETHICK1;
{洗盘再买}{股票指标网}
RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
VARB2:=(RSVV/2+22)*1;
量:=EMA(VOL,13);
资金:=EMA(AMOUNT,13);
过滤:=((资金 /量) / 100);
提纯:=(((CLOSE -过滤) / 过滤) * 100);
黄金:=((提纯 < (0)) AND ZXNH);
准备:=IF(黄金 AND RSVV<VARB2-2,10,0),COLORGREEN,NODRAW;
STICKLINE(准备,0,10,1,0),COLORGREEN;
DRAWTEXT(准备>0,13.6,'准'),COLORGREEN;
准备1:=REF(准备,1) OR REF(准备,2) OR REF(准备,3) OR 准备;
买:=CROSS(K,D) AND 准备1,COLORRED,NODRAW;
STICKLINE(买,0,10,1,0),COLORRED;
DRAWTEXT(买>0,13.6,'买'),COLORRED;
{短买}{股票指标网}
AR1:=3*SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1)-2*SMA(SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1),3,1);
短买:=CROSS(AR1,REF(AR1+0.01,1)) AND LLV(AR1,2)=LLV(AR1,8) AND AR1<20;
STICKLINE(短买,20,30,1,0),COLORCYAN;
DRAWTEXT(短买>0,33.6,'T'),COLORCYAN;
DRAWTEXT_FIX(1,0.00,0.15,0,'《共享交易云》欢迎你'),COLORYELLOW;