How can I get symbols information from Symbols/MarketWatch tab by cBot?
How can I get symbols information from Symbols/MarketWatch tab by cBot?
17 May 2018, 19:15
Hi,
I would like to write a multi currency, multiTF cBot. So I need information about all of available/tradeable Symbols.
How can I get them?
Here is the mql5 source. what I want in cAlgo:
int NumberofSymbols = SymbolsTotal(true); //Returns the number of available (selected in Market Watch or all) symbols
for (i = 0; i < NumberofSymbols; i++)
{
CurrentSymbol = SymbolName(i,1); //Returns the name of a symbol.//work with the selected symbol...
}
Thanks.
Norbert
Replies
PanagiotisCharalampous
22 May 2018, 09:00
Hi FMogyi,
You can use Symbol.MarketHours
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
23 May 2018, 12:39
Hi FMogyi,
It is available in cTrader 3.0. You should receive the update very soon, since we started rolling out the update.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
18 May 2018, 09:29
Hi FMogyi,
This information is currently not available in cAlgo.API. It will be added in the future.
Best Regards,
Panagiotis
@PanagiotisCharalampous