Hi guys, I am currently testing out a study we created. I am trying to turn it into a scan but having an issue with an input. First, is it possible to create a scan that references 5-minute data and also daily data from today and yesterday? As an indicator, it works. Here is the study as is.
def aggD = AggregationPeriod.DAY; def agg5 = AggregationPeriod.FIVE_MIN; def CloseFive = close(period = agg5); def OpenD = open(period = aggD); def HighD = high(period = aggD); def LowD = low(period = aggD); def pRange = HighD - LowD; plot condition1 = CloseFive > OpenD + (.9 * pRange);