AssassinAR15
Member
Good afternoon. I have been searching for a way to scan for specific bars.
For example, If I wanted to scan for all relative volume values over 5 at 9:30a on the 5minute timeframe, how would I do that?
I am able to use the "offset" and "Bars" functions, but I am looking for a more specialized scan.
I was able to find this snippet of code below, but I have not been able to get any further. @generic (thank you for all your help)
declare lower;
input startTime = 930;
input endTime = 935;
def startOfScan = SecondsFromTime(startTime) > 0;
def endOfScan = SecondsTillTime(endTime) > 0;
plot scanPeriod = startOfScan or endOfScan;
For example, If I wanted to scan for all relative volume values over 5 at 9:30a on the 5minute timeframe, how would I do that?
I am able to use the "offset" and "Bars" functions, but I am looking for a more specialized scan.
I was able to find this snippet of code below, but I have not been able to get any further. @generic (thank you for all your help)
declare lower;
input startTime = 930;
input endTime = 935;
def startOfScan = SecondsFromTime(startTime) > 0;
def endOfScan = SecondsTillTime(endTime) > 0;
plot scanPeriod = startOfScan or endOfScan;