PanagiotisCharalampous's avatar
PanagiotisCharalampous
26 follower(s) 0 following 1006 subscription(s)
Replies

PanagiotisCharalampous
04 Nov 2024, 07:26

RE: RE: RE: RE: Proposal: Improved Project Structure for cBots Development in cTrader

serge.owonaokoa said: 

PanagiotisCharalampous said: 

kaxalope said: 

PanagiotisCharalampous said: 

Hi there,

Why don't you use an external IDE like Visual Studio instead? I don't think the team will invest time in reinventing the wheel.

Best regards,

Panagiotis

I do it, and although it improves things like IntelliSense, the management of duplicated code between bots doesn't get better since each bot is a solution, as I mentioned in the previous post. If there were a way to make each bot a project instead of a solution, then the development experience could be greatly improved. And if there is a way, I'm not aware of it.

No it is not possible, however you can reference shared projects across many solutions, if this is what you are looking for.

Best regards,

Hi  PanagiotisCharalampous,

I'm trying to create a shared Library to use across my indicators and cBots, I can't stand replicating or copying code.

I decide to follow you recommendation of using a Shared Project. I have a couple questions:

1- Do you recommend having a single Git Repo for all Indicators and cBots, I mean creating the repo under <USER_HOME>\Documents\cAlgo\Sources or Should I setup 1 project per indicator?

2-If 3 indicator are all using the same shared Project, Do I need to create that sharedProject with the Solution of 1 Indicator or cBot and reuse in others?

I noticed that if the SharedProject isn't located within a specific location the AlgoHost.exe proecess crashes with error of not having access to the SharedProject folder. Which folder under under <USER_HOME>\Documents\cAlgo\Sources the SharedProject must be to prevent this?

 

Thanks.

Would be great i you could provide a sample of 2 indcators and 2 cBots using a shared project.

 

Hi there,

Unfortunately there is no correct answer to your questions as it all depends on your own requirements.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Nov 2024, 07:23

Hi there,

Workspaces are only used for the same application. You cannot use workspaces between different applications e.g. web and desktop.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Nov 2024, 07:18

RE: can't choose account/symbol/perdiod when adding instance

nature.equity said: 

I'm getting the same error message for cTrader v.5.0.40. (older versions used by my broker dosen't have this problem)

+ Backtesting tickdata is restricted to November 27, 2020

 

Any advice would be greatly appreciated.

Hi there,

Historical data is provided by the broker. 

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Nov 2024, 07:17

Hi there,

There was maintenance taking place during the weekend, therefore disconnections are expected.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Nov 2024, 07:16

Hi there,

The option to load more bars in backtesting will be added in an upcoming update.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Nov 2024, 07:13

Hi there,

You should use a string e.g. “Red”, to define a default color.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Nov 2024, 07:10

Hi there,

Can you record a video showing that the indicator is loaded but it does not appear in the list?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Nov 2024, 07:08

Hi there,

I could not reproduce such a behavior. Please restart cTrader and make sure there is no cBot running. If it persists, please record a video demonstrating this issue.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Nov 2024, 06:55

RE: RE: Could not switch workspace while at least 1 cbot is running

shane.scott.pub said: 

PanagiotisCharalampous said: 

Hi FireMyst,

If you can send us troubleshooting information when this happens again it will help us investigate.

Best Regards,

Panagiotis

Hi I am logged into only one instance of CTrader. On my desktop. I am getting the exact same message as the original poster. I am running three optimizations on different stocks.  I am running no bots. I am getting the same message every minute or so. 

Hi there,

This is a 5 years old thread so definitely not related. Please create a new thread regarding this issue.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Nov 2024, 06:52

Hi firemyst,

Thank you for reporting this. We are investigating.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
02 Nov 2024, 07:34

Hi there,

No there is no such option. A workaround would be to get the added indicator from the chart and change the color afterwards.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
02 Nov 2024, 07:32

Hi there,

We don't have such plans at the moment.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
01 Nov 2024, 08:29

Hi firemyst,

Timeframes are determined by cTrader.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
01 Nov 2024, 06:43

Hi there,

It's there for me.

Can you share a full screenshot please?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
01 Nov 2024, 06:14

Hi there,

Please provide us with the following information

  1. cBot code
  2. cBot parameters and dates that produce trades in backtesting
  3. The cBot log for the exact same period from live trading where trades were not placed.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
01 Nov 2024, 06:12

Hi there,

Please use the Suggestions section for your suggestions.

Best regards,

Panagiotis

 


@PanagiotisCharalampous

PanagiotisCharalampous
31 Oct 2024, 12:36

Hi there,

Unfortunately it is not possible to use ScrollXTo() to move the chart to the future.

Best Regards,

Panagiotis 


@PanagiotisCharalampous

PanagiotisCharalampous
31 Oct 2024, 12:31

Hi there,

Yes that is correct.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
31 Oct 2024, 12:30

RE: RE: RE: Improvements to memory usage observed

ncel01 said: 

PanagiotisCharalampous said: 

ncel01 said: 

Hello,

To be fair, it looks to me that a lot of progress has been made here lately :

The RAM usage in time seems to be much more stable, even with cBots running. I am now able to keep cTrader open for weeks without noticing any relevant increase in memory usage.

Although there is always room for refinements, the improvements are clear.

@Panagiotis

Do you confirm that significant improvements to memory management have been performed lately?

Please always be mindful of any memory leaks when adding new features/tools, as this is crucial for the overall platform stability.

Hi ncel01,

We do performance improvements on almost every update

Hi Panagiotis,

I mean major improvements, as this seems to me to be the case. I'd just like to be aware.

Hi ncel01,

I am not sure how to answer your question. We do improvements and refactoring all the time. Depending on how you use cTrader, the impact could be major or minor. It is normal that after every major update, the following hotfixes and updates will deliver bug fixes and performance improvements to the major release. So from 5.0.0 to 5.0.40 is all about fixes and improvements.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
31 Oct 2024, 06:24

RE: Why does the spread look like it's a 10th of what it should be?

fkouloufakos said: 

Not quite the same but similar…I'm using cTrader through FTMO and I want the spread to show up as, in this case, 2.9 and not .29. This also affects my protection settings as well. Is there a way that we can adjust that or is this something locked down by the broker?

Hi there,

Pip size is defined by the broker.

Best regards,

Panagiotis


@PanagiotisCharalampous