vara:=(-100)*(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13));
波段:vara;
-50;
-90;
-10;
STICKLINE(波段>-50,-50,波段,2,0),colorred;
STICKLINE(波段<-50,-50,波段,2,0),colorblue;
var1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
var2:=SMA(SMA(var1,3,1),3,1);
var3:=EMA(var2,5);
var2;91.307,COLORred;
6.788,COLORwhite;
49.048,COLORgreen;
BB:var3,COLORYELLOW;
是金:3*var2-2*var3,COLORRED;
STICKLINE(CROSS(是金,var2) AND 是金<21,var2-5,var2+15,8,0),COLORYELLOW;
STICKLINE(CROSS(var2,是金) AND 是金>55,var2-5,var2+15,8,0),colorblue;
DRAWTEXT(CROSS(是金,var2) AND 是金<21,var2-3,'进'),COLORYELLOW;
DRAWTEXT(CROSS(var2,是金) AND 是金>55,var2+15,'出'),colorwhite;