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;
Var1A:=(-100)*(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13));
VAR2A: Var1A;
-50;
-90;
-10;
STICKLINE(VAR2A>-50,-50,VAR2A,0),colorred ;
STICKLINE(VAR2A<-50,-50,VAR2A,0),colorFF0000 ;