|
Jared Seaton
2021-10-29 18:31:21
|
|
I am looking for volume on an hourly timeframe in a scanner. I would like to compare volume from multiple previous days. Am I using TimeframeDecompress and TimeframeApply correctly? Will this work?
Main time frame set to 1h:
vol1a = TimeframeDecompress(TimeframeApply(1440,volume));
vol2a = TimeframeDecompress(TimeframeApply(2880,volume));
vol3a = TimeframeDecompress(TimeframeApply(4320,volume));
var1 = vol1a >= 100000 and vol2a >= 100000 and vol3a >= 100000;
var2 = volume > 15000000;
filter = var1 and var2
|
|