VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR2:=SMA(A(HIGH-VAR1),13,1)/SMA(MAX(HIGH-VAR1,0),10,1);VAR3:=EMA(VAR2,10);VAR4:=HHV(HIGH,33);VAR5:=EMA(IF(HIGH>=VAR4,VAR3,0),3);:IF(VAR5
[REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0),COLORGREEN;
]