N:=5;
M1:=3;
M2:=3;
VAR39:=IF(DATETODAY(DATE)<999999999,1,1);
VAR40:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
VAR41:=SMA(VAR40,M1,1);
VAR42:=SMA(VAR41,M2,1)*VAR39;
STICKLINE(VAR42>82 AND VAR41>89>0,0,20,2.3,0),COLORFF4400;
STICKLINE(VAR42>82 AND VAR41>89>0,0,20,1.8,0),COLORFF6600;
STICKLINE(VAR42>82 AND VAR41>89>0,0,20,1.3,0),COLORFF9900;
STICKLINE(VAR42>82 AND VAR41>89>0,0,20,0,0),COLORFFCC00;
STICKLINE(VAR42>85 AND VAR41>95>0,0,20,2.3,0),COLORAA0000;
STICKLINE(VAR42>85 AND VAR41>95>0,0,20,1.8,0),COLORFF4400;
STICKLINE(VAR42>85 AND VAR41>95>0,0,20,1.3,0),COLORFF8800;
STICKLINE(VAR42>85 AND VAR41>95>0,0,20,0,0),COLORAA0000;