How to access End-of-day values in AFL when working with lower timeframe

Hi,

I have mix data i.e intradday and EOD and I am working on 5 mins timeframe. If you see the quotation data, the EOD data has a close - 8084.5. Now I want to access this value in my AFL, but I am not able to retrieve it.
The most common method is below but it returns a value of 8109. So the question is how do I access the End-of-day bar value while working on a lower timeframe.

"
TimeFrameSet(inDaily);
Cls1 = Close;
TimeFrameRestore();
C1=TimeFrameExpand(Cls1,inDaily,expandFirst);
"

Thanks,
Tushar

@tushar42,

You joined the forum in October 2018 yet you still don't have "Verified Badge"!

Only users with "Verified Badge" are allowed to post on this forum. Search "Verified Badge" for more information on how to get verified.

1 Like

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.