bs:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE;
lj1:=EMA(bs,3);
lj2:=EMA(bs,5);
lj3:=EMA(bs,7);
T1:=lj2>=lj3 AND lj1<REF(lj1,1);
T2:=lj2<lj3 AND lj1>REF(lj1,1);
STICKLINE(lj1>=lj2,lj3,lj1,6,0),Color0000ff;
STICKLINE(lj1>=lj2,lj3,REF(lj1,1),1,0),Color0000ff;
STICKLINE(lj1<lj2,lj3,lj1,6,0),Colorff9900;
STICKLINE(lj1<lj2,lj3,REF(lj1,1),1,0),Colorff9900;
STICKLINE(T1,lj1,lj3,6,0),Colorffdd55;
STICKLINE(T1,lj1,REF(lj3,1),1,0),Colorffdd55;
STICKLINE(T2,lj1,lj3,6,0),Color00ffff;
STICKLINE(T2,lj1,REF(lj3,1),1,0),Color00ffff;
高抛:HHV(EMA(bs,5),20),colorgray,Linethick2;
低吸:LLV(EMA(bs,5),20),colorgray,Linethick2;
DRAWICON(CROSS(bs,低吸),低吸,"buy");
DRAWICON(CROSS(高抛,bs),bs,"sell");