X_2:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
X_3:=REF(CLOSE,1);
X_4:=SMA(MAX(CLOSE-X_3,0),6,1)/SMA(Abs(CLOSE-X_3),6,1)*100;
X_5:=EMA(X_4,3);
X_6:=MAX(X_5,(-40));
X_7:=MAX(X_6,(-30));
X_8:=MAX(X_7,(-20));
X_9:=MAX(X_8,10);
VAR0:=MAX(X_9,40);
DRAWBAND(X_5,RGB(250,0,0),60,RGB(0,255,255));
90;
STICKLINE(X_4<25,X_4,30,1,0),COLORMAGENTA;
STICKLINE(X_4>90,90,X_4,1,0),COLORYELLOW;
VAR1:=(HIGH+LOW+CLOSE)/3;
VAR2:=(VAR1-MA(VAR1,21))/(0.015*AVEDEV(VAR1,21));
VAR3:=EMA(VAR2,7);
VAR4:=EMA(VAR3,3)/4;
DRAWBAND(VAR4,RGB(250,0,0),0,RGB(0,255,255));
STICKLINE(VAR4>=25,25,VAR4,1,0),COLORYELLOW;
STICKLINE(VAR4<=(-25),(-25),VAR4,1,0),COLORBLUE;
IF(VAR4>=REF(VAR4,1),VAR4,DRAWNULL),COLORMAGENTA;
IF(VAR4<=REF(VAR4,1),VAR4,DRAWNULL),COLORGREEN;
25,DOTLINE,COLORYELLOW;
0,DOTLINE;
(-25),DOTLINE,COLORMAGENTA;