Thanks a lot for the great value explanation and the video!
That helped clarifying how to formulate the problems.
Ok, Think I understand now.
On Mondays, Time[0] returns the values gotten from the last 'Calculation made at the most recent close timestamp'
Time[0] returns values gotten from most recent Friday's close)?
Whereas
On Sundays, Time[0]returns the values gotten from the last 'Calculation made at the most recent close timestamp'
For with-Sunday-evening-session-but-no-Saturday's-sessions-contracts, we can use:
Time[0] on Sundays
Time[1] on Mondays
For without-Sunday-evening-session-nor-Saturday's-sessions-contracts, we can use:
The causation/why reasoning I made:
it cannot refer to current/processing bar (simply because the data is not yet available?).
It's just that way because of the OnBarClose calculations for the Daily bar — it must get some values,
and the only ones available/the most recent ones are the ones from the most recent Bar (not the not yet available ones of the current bar).
I think that makes sense. I was just too used to viewing indexes zero [0] to only be applicable to the processing bar. But that's not possible with OnBarClose calculation mode and the spaced Closes between Fridays sessions and Sundays evening session circumstance.
Thank a lot! You rock!
I'll test it now and then will tackle the BarsPeriod approach to get familiar with that way too.
Be well!
Comment