Documentation for this feature will be added soon.
Best regards,
Panagiotis
Hi,
I am desperately wanting to use this feature to stop my purchased cbots before close of market and restarting them after few hours to escape the couple of hours when the spread is too high.
Is the API that enables a cbot to start stop other cbots documented in the API documentation. Please let us know so we can start using this feature.
Thanks in advance.
Here is a short example on how to start a cBot
var robot = ChartRobots.Add("Sample Break Even", "", 1,1); robot.Start();
Best regards,
Panagiotis
Hi Panagiotis,
I understand this API will enable me to add and start cBot to the chart that this particular cBot (starter cBot) is on. Does that mean that now multiple cBots can run on the same chart. Using cTrader Desktop I can never add more than one cBot on a particular chart, so can you please shed some light on this new thing, running multiple cBots on the same chart.
Is there a way to access Robots that are running on other currency pairs and hence their saperate charts but within this particular instance of cTrader and also on this same account (I am running everything locally with synchronisation with cloud turned off).
Please let me know,
Cheers.
Hi there,
Using cTrader Desktop I can never add more than one cBot on a particular chart, so can you please shed some light on this new thing, running multiple cBots on the same chart.
This was always possible in the Trade section
Is there a way to access Robots that are running on other currency pairs and hence their saperate charts but within this particular instance of cTrader and also on this same account (I am running everything locally with synchronisation with cloud turned off).
You can access all charts and manage cBots on them using a plug in.
Best regards,
Panagiotis
Hi Panagiotis,
Are you saying this can be accomplished by writing a plug-in, or are you saying there is a plug-in available that can do this. Please let me know.
Thanks.
Hi there,
I say that this can be accomplished by writing a plug-in. Plug-ins have access to all charts.
@PanagiotisCharalampousYou're the community manager. You respond to almost every post in here. But when i approach with a more complicated matter you all of a sudden stop doing your job. Do your job and either help me or forward this to someone who might be familiar with this issue and can help me out. If you can only help people with questions ChatGPT can already answer then what's even the point in employing you.
Hi there,
I respond to questions related to the product. I am not an expert on every third party product built on cTrader or with related technologies and I do not have answers to every possible question.
Also it is not nice to disrespect people like just because you do not get help for your own question. Please consider this as the last warning.
Documentation for this feature will be added soon.
Best regards,
Panagiotis
Hi,
I am desperately wanting to use this feature to stop my purchased cbots before close of market and restarting them after few hours to escape the couple of hours when the spread is too high.
Is the API that enables a cbot to start stop other cbots documented in the API documentation. Please let us know so we can start using this feature.
Thanks in advance.
Here is a short example on how to start a cBot
var robot = ChartRobots.Add("Sample Break Even", "", 1,1); robot.Start();
Best regards,
Panagiotis
Hi Panagiotis,
I understand this API will enable me to add and start cBot to the chart that this particular cBot (starter cBot) is on. Does that mean that now multiple cBots can run on the same chart. Using cTrader Desktop I can never add more than one cBot on a particular chart, so can you please shed some light on this new thing, running multiple cBots on the same chart.
Is there a way to access Robots that are running on other currency pairs and hence their saperate charts but within this particular instance of cTrader and also on this same account (I am running everything locally with synchronisation with cloud turned off).
Please let me know,
Cheers.
Hi there,
Using cTrader Desktop I can never add more than one cBot on a particular chart, so can you please shed some light on this new thing, running multiple cBots on the same chart.
This was always possible in the Trade section
Is there a way to access Robots that are running on other currency pairs and hence their saperate charts but within this particular instance of cTrader and also on this same account (I am running everything locally with synchronisation with cloud turned off).
You can access all charts and manage cBots on them using a plug in.
Please stop spamming the forum. You have created a thread, if somebody can help you, they will. You don't need to create multiple threads and comment on irrelevant threads.
OnBar event happens when new bar is opened. At that moment MarketSeries collection already contains tick from new bar. It means that last bar is not formed and in general cases open = high = low = close and TickVolume equals 1. If you want to access last formed bar you need take previous one.
You need to change your code:
protected override void OnBar() { var close = MarketSeries.Close.Last(1); var high = MarketSeries.High.Last(1); var low = MarketSeries.Low.Last(1); var tickVolume = MarketSeries.TickVolume.Last(1); ... }
So accessing the other previous bars' volumes is still not possible right? Only last bar? We still have to create arrays to store each bar volume like usual?
Hi there,
So accessing the other previous bars' volumes is still not possible right? Only last bar? We still have to create arrays to store each bar volume like usual?
This is not what the post says. Volume is available for all bars.
The description of your problem is not clear. Please provide a more detailed description of your problem, accompanied by some screenshots/videos so that we can understand what are you referring to.
Best regards,
Panagiotis
Hi there,
Your video does not demonstrate any problems. This is how cBots work. cBots only work when cTrader is running. If you close the application they stop working and any custom feature programmed within the cBot will not work either.
Best regards,
Panagiotis
so i must leave my pc working 24/7
it is a problem it has to work like the orders and positions - that neve shut up despite reboots
Hi there,
If you want to run a cBot 24/07 you can either consider a renting VPS or cloud execution.
It's not impossible that the example message has a mistake. The project below includes an example of this calculation and it works correctly. Have a look at it.
The description of your problem is not clear. Please provide a more detailed description of your problem, accompanied by some screenshots/videos so that we can understand what are you referring to.
Best regards,
Panagiotis
Hi there,
Your video does not demonstrate any problems. This is how cBots work. cBots only work when cTrader is running. If you close the application they stop working and any custom feature programmed within the cBot will not work either.
PanagiotisCharalampous
11 Jun 2024, 05:00
Hi there,
Which exact tool are you referring to?
Best regards,
Panagiotis
@PanagiotisCharalampous