How to get TimeFrame value?
Created at 02 Nov 2015, 20:38
CB
How to get TimeFrame value?
02 Nov 2015, 20:38
Hi,
I need to get value of TimeFrame from current instance, which I later use in labels of orders and positions.
Replies
cbotalerts
03 Nov 2015, 08:44
Not exactly...
For example, the instance is initiated with timeframe of 10min. I need the robot to identify this exact timeframe (10min) and return a string value.
@cbotalerts
Daedalusx086
03 Nov 2015, 09:59
MarketSeries.TimeFrame.ToString()
Should be what you're after.
@Daedalusx086
Spotware
02 Nov 2015, 22:56
Dear Trader,
Please have a look at the MarketSeries section of our API Reference and at the following code snippet:
We hope this helps you.
@Spotware