Calculate Average Day Range

Hi,

I want to know if there is a way we could calculate the ADR % and enter the strategy only if ADR value is above a certain value. Any example template would be useful.