Hi,
I am trying to get the HHV and LLV of the previous 3 Days, I am working on Intraday timeframe.
I use the formula to get PREV day but cant' find anything for a different Day range.
I only came up with two options, one not so elegant
Another method I can think of is to use HighestSince() and LowestSinc() in combination with the first bar of 3 Days ago, but I can't figure out how to find the first bar of three days ago.
These two methods give the same result.
I also tried to use TimeframeCompress but does not work, I can't figure out why , maybe I misunderstood how to use it
// This does not work
dayH = TimeFrameCompress(H, inDaily);
dailyHighInDaily = Ref(HHV(dayH, 3), -1);
dailyHigh = TimeFrameExpand(dailyHighInDaily, inDaily);