VAR:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE;
VAR1:=EMA(VAR,3);
VAR2:=EMA(VAR,5);
VAR3:=EMA(VAR,7);
T1:=VAR2>=VAR3 AND VAR1
T2:=VAR2
STICKLINE(VAR1>=VAR2,VAR3,VAR1,6,0),Color0000ff;
STICKLINE(VAR1>=VAR2,VAR3,REF(VAR1,1),1,0),Color0000ff;
STICKLINE(VAR1
STICKLINE(T1,VAR1,REF(VAR3,1),1,0),Colorffdd55;
STICKLINE(T2,VAR1,VAR3,6,0),Color00ffff;
STICKLINE(T2,VAR1,REF(VAR3,1),1,0),Color00ffff;
高抛:HHV(EMA(VAR,5),20),colorgray,Linethick2;
低吸:LLV(EMA(VAR,5),20),colorgray,Linethick2;
DRAWICON(crOSS(VAR,低吸),低吸,"buy");
DRAWICON(CROSS(高抛,VAR),VAR,"sell");
DRAWGBK(DATE>900101,STRIP(RGB(20,0,0),RGB(10,10,0),1));