Streak scanner parameter for percentage


How can create a scanner where I need to say that the latest close is above a certain percentage of the latest Supertrend value?


You can refer to the below image as an example where I have used the Up By comparator and mentioned the condition to check if the current candle close price is higher than 1% from the Supertrend value.

Hope this helps.