Topics
Replies
firemyst
25 May 2025, 12:22
This definitely works using .NET 6 as I have it in my code:
System.Media.SystemSounds.Exclamation.Play();
System.Media.SystemSounds.Asterisk.Play();
System.Media.SystemSounds.Beep.Play();
System.Media.SystemSounds.Hand.Play();
System.Media.SystemSounds.Question.Play();
@firemyst
firemyst
06 May 2025, 00:01
- Not that I'm aware of. However, you can adjust it somewhat depending on the order you have the plots listed in output.
- Nope. that's a severe limitation with how cTrader stupidly implemented their system. The only way around it is instead of using the “output” feature, you have to draw individual trend-lines for each plot. Then that presents another issue is after about 500 drawing objects on the chart, cTrader's performance significantly degrades. So what I've done is keep track internally of what I draw, and every time a new bar is drawn, I remove all the drawings I had from 200 bars ago.
Welcome to one of Spotware's many poor architectural designs.
@firemyst
firemyst
03 May 2025, 06:44
While it may be an issue, why don't you implement a work around yourself?
For instance, on every new trading day, have your bot start its own new log file to write to.
So you have one log file for every day.
I say it “may be an issue” because there are text file size limitations with programs, even in Windows. On Windows 11, Notepad uses the RichEdit control. The size limit was raised to about 1 GB, and attempting to open any file larger than that shows a dialog box suggesting that the user open it with a different text editor. In Windows 10 any Notepad large than 32MB can become unstable. So even if built in windows programs have issues with huge text file log sizes. you should expect other programs to as well.
Realistically, if you're logging that much information, you should be checking it regularly and clearing out the logs. Writing to huge log files will slow down any program as it waits for write actions to complete, and with automated trading, every nano-second counts when evaluating tick data.
@firemyst
firemyst
31 May 2025, 07:27
What do you mean by “shared account”. If you've logged into another account, the token only lasts for about 90 days (give or take). So you'd have to relogin again.
@firemyst