Is it possible to MTF this indicator/study?
To Create An MTF Twin Range Filter script:
Find and delete this statement in your script:
input source = close;#(defval=close, title="Source")
Replace the above with these statements:
input agg = AggregationPeriod.FOUR_HOURS;
def source = close(Period =agg) ;