How to get the date time, when indicated by bar's specified index.

Created at 05 Feb 2017, 08:54
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!
CH

chkmitnb

Joined 25.01.2016

How to get the date time, when indicated by bar's specified index.
05 Feb 2017, 08:54


How to get the date time, when indicated by bar's specified index.


@chkmitnb
Replies

trend_meanreversion
05 Feb 2017, 12:17

Not sure if this is what are you looking for ...

MarketSeries.OpenTime[curIndex]

MarketSeries.OpenTime[curIndex].ToString("yyyyMMdd")

MarketSeries.OpenTime[curIndex].ToString("HH:mm")


@trend_meanreversion

meow/meow?
20 Feb 2017, 14:44

RE:

trend_meanreversion said:

Not sure if this is what are you looking for ...

MarketSeries.OpenTime[curIndex]

MarketSeries.OpenTime[curIndex].ToString("yyyyMMdd")

MarketSeries.OpenTime[curIndex].ToString("HH:mm")

test


@meow/meow?

meow/meow?
20 Feb 2017, 14:52

RE: RE: test quote char's

akhizhniy said:

trend_meanreversion said:

Not sure if this is what are you looking for ...

MarketSeries.OpenTime[curIndex]

MarketSeries.OpenTime[curIndex].ToString("yyyyMMdd")

MarketSeries.OpenTime[curIndex].ToString("HH:mm")

test

test 2


@meow/meow?