How to find out intraday interval: ticks or minutes?
Author: akuzn
Creation Date: 1/31/2014 1:07 PM
profile picture

akuzn

#1
Good day!

Is there way to get not only intraday interval but ticks or minutes?

I ve tested some methods but there is not enough information in ref.

If i try to get value of BarInterval (int type) i get same value for minutes and for ticks - 1 for example for 1 minute or tick.

But i suppose it must be some call to get direct value integer or enum ticks or not.
profile picture

Eugene

#2
As suggested in the QuickRef, to get the BarScale enum you can use the Scale property.

CODE:
Please log in to see this code.
profile picture

akuzn

#3
Thank you. it works.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).