Var1:=(CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100;
Var2:=(OPEN-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100;
Var3:=(HIGH-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100;
Var4:=(LOW-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100;
STICKLINE(CLOSE>=OPEN,Var3,Var1,0.7,1),colorred , ;
STICKLINE(CLOSE>=OPEN,Var2,Var4,0.7,1),colorred , ;
STICKLINE(CLOSE
STICKLINE(CLOSE>OPEN,Var1,Var2,7,1),colorred , ;
STICKLINE(CLOSE
rsi1: SMA(MAX(CLOSE-Var5,0),5,1)/SMA(Abs(CLOSE-Var5),5,1)*100,colorffff00 , ;
RSI2: SMA(MAX(CLOSE-Var5,0),10,1)/SMA(ABS(CLOSE-Var5),10,1)*100,coloryellow , ;
STICKLINE(MIN(Var2,Var1)=0 AND RSI1<20 OR Var4=0 AND RSI1<20,0,80,2,1),colorred ,;
STICKLINE(MAX(Var2,Var1)=100 AND RSI1>80 OR Var3=100 AND RSI1>80,100,20,2,1),colorgreen , ;
20;
80;