VAR1:=(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2:=SMA(VAR1,9,1)+100;
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,6)-LLV(LOW,9))*100;
VAR4:=SMA(VAR3,2,1);
VAR5:=SMA(VAR4,2,1)+100;
VAR6:=VAR5-VAR2;
S:IF(VAR6>100,VAR6-100,0);
STICKLINE(REF(S,1)
STICKLINE(REF(S,1)>S,S,REF(S,1),3,0),COLORBLUE;