GetIndexByTime(DateTime dateTime)

Created at 25 Jan 2017, 17:25
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
DE

De-code

Joined 23.12.2016

GetIndexByTime(DateTime dateTime)
25 Jan 2017, 17:25


​Hi,

How can I use the following to get the indexes at 08:00 and at 12:00?

public int GetIndexByTime(DateTime dateTime)

I've tried the examples provided in cAlgo but it makes no sense to me.

Any help would appreciated.

Thanks


@De-code