Is there a reason you haven't posted a screen capture showing the issue?
Normally when I am copying a strategist, when they open trades I can see their positions live under the positions tab after the recent updates, it returned for two days and then disappeared again. Enter the image below, the red arrow shows where it's usually located.
I can't help you because I don't use cTrader Copy. However, at least you clarified where the tab missing from, because for most people, the “Positions” tab is on the “Trade” window. Lesson learned - you need to be more specific when posting issues :-)
Next time it happens report it as a technical issue within cTrader and put a link to this thread in the details section along with other pertinent information such as:
firemyst
22 Jan 2025, 00:20
( Updated at: 22 Jan 2025, 10:05 )
I am interested in whether it is possible to make a code to reset the bot itself after each closed position?
Yes. When a position is closed, just reset all your internal parameters/properties. for instance, if you have a counter, reset it to zero; if you have some sort of “flag”, reset it to its default value; if you have any objects, reinitialize as appropriate.
Second, is it possible to reset the bot after a loss and enter the next position with a 4x bigger lot?
Yes. In your bot's code, when a position is closed, check to see if it did for a loss.
If it did lose, then update your position-size parameter value as appropriate.
In simplistic terms. Obviously the complexity of the implementation will depend on how clean your code is.
Have you tried updating the cTrader.Automate package to the latest version?
I think not, how can I do it?
I found the information here "https://help.ctrader.com/ctrader-algo/visual-studio-ides/#creating-new-cbotsindicators" but I did not use Visual studio to create the cBot, does it also affect its operation?
If you created the bot and have the source code, you need to post the code where the error is occurring. Otherwise, it's hard for anyone to help you because they can't see what your code is doing. It shouldn't matter whether you use visual studio or another development environment.
If you didn't create the bot and/or do not have access to the source code, then it's probably easiest to contact the bot's developer.
I think it wouod be great to be able to manage bots from the app. Even if only few functionalities like turning it on/off and changing some settings.
Then you should post this in the suggestions forum. This forum is for technical support - Spotware doesn't come here looking for ways to improve its product
firemyst
20 Jan 2025, 00:38
( Updated at: 21 Jan 2025, 21:08 )
You can fix it.
It's exactly as the error message says – you're missing a parameter which specifies the “ProtectionType”.
The code compiles and should still run at the moment.
@Spotware has yet to provide any documentation or responses to people who have posted and asked what the new ProtectionType parameter is about, or does:
firemyst
24 Jan 2025, 00:36
Yes, it's a C# language construct just like it is in C++. It's not specific to cTrader.
Google “c# multidimensional array”
@firemyst