Replies

MMII
21 Oct 2023, 13:40 ( Updated at: 22 Oct 2023, 06:31 )

RE: Problem reading D1 bars in H4 chart (always late to update)

PanagiotisChar said: 

Hi there,

I don't see anything wrong. The code reads the value of the last closed bar, not the current bar. If you are looking for the current bar use Last(0)

Hi, thanks for the response

What confuses me is that when the current date (left side) is 18/09/2023, the last daily bar (Daily(1)) is14/09/2023 instead of 17/09/2023?

 

 

 


@MMII