Hi,
I am really struggling to understand how to fetch prices from multiple timeframes, especially on a new bar from another timeframe (Daily).
I have the following code:

Code
function run()
{
BarPeriod = 15;
TimeFrame = 1;
// do something every M15 bar

TimeFrame = 96;
printf("\nPrevious Day High=%.5f", dayHigh(UTC,1));
}


It produces incorrect results for previous day high. Any ideas how to handle this?