I'm developing a strategy that involves working with two timeframes: a primary 5-minute chart and a secondary series based on 1-tick data. My intention is to analyze the behavior of the market on a tick-by-tick basis within the context of the larger 5-minute timeframe, specifically focusing on the open price of the currently forming bar in real-time.
Given this setup, I have a question regarding the expected behavior of accessing the open price of the current, in-progress bar using the 1-tick data series. Here's the core of the issue:
In the scenario where the main timeframe is 5 minutes and the secondary timeframe is 1 tick, when I attempt to access the open price of the current bar (which is still forming) using Opens[0][0] within the context of the tick data series, my expectation is that this would return the open price of the currently forming bar. However, I'm unclear if this is the correct expectation or if my understanding of how to access this data is incorrect.
Could you please provide clarification on whether Opens[0][0] should indeed give me the open price of the latest, currently forming bar in the tick data series, even before the bar has completed? If not, could you advise on the correct approach to access this information in real-time, especially in a multi-timeframe setup where the finer granularity of tick data is crucial for decision-making?
Thank you for your time and assistance. Your insights will be invaluable in ensuring the accuracy and effectiveness of my strategy.
Comment