Reference time-frame of attached chart
Created at 05 May 2015, 19:58
Reference time-frame of attached chart
05 May 2015, 19:58
When coding a cBot, how can I reference the time-frame of the chart that the cBot is attached to? In the example below I would like to always select EURUSD regardless of what chart the bot is attached to however I would like the time-frame to be set to the one of the attached chart.
MData = MarketData.GetSeries("EURUSD", TimeFrame.Hour);
Spotware
18 Jun 2015, 12:53
Dear Trader
Please take a look at the following indicators: Multi-symbol robots and indicators & Multi-timeframe robots/indicators. We hope this helps you.
@Spotware