How to detect the first bar avaiable of the data?

Back to topics list To post a new topic, please log in or register
avatar
83
BeLikeWater 2015.03.04 13:37
 

We are in m1 timeframe, in the current bar meaning index=0. How can we get the index of the first bar avaiable of the data?

Thank you.

avatar
2017
gooly 2015.03.04 13:39 #
 
What if you look in the editor's reference before you are asking here?
avatar
Moderator
3406
GumRai 2015.03.04 13:47 #
 
BeLikeWater:

We are in m1 timeframe, in the current bar meaning index=0. How can we get the index of the first bar avaiable of the data?

Thank you.

What do you mean by first?

If you mean the earliest, then it is Bars-1

In M1 especially, anticipate missing bars if you don't always have the M1 chart for the symbol open or have not accessed it regularly. 

avatar
12985
WHRoeder 2015.03.04 15:44 #
 
avatar
83
BeLikeWater 2015.03.05 13:39 #
 
Sorry WHRoeder. Was an urgency, Im sorry!
Back to topics list  

To add comments, please log in or register