|Member since:||23 Sep 2013|
Last Algorithm Comments
@Indicate the crossing betwin two moving: 27 Mar 2015, 17:44
You don't need to build it, just install it by double clicking on the downloaded file.
@RsiAtr II: 18 Sep 2014, 17:12
Dear Traders, All algorithms that you download from cTDN are already compiled. Once you install cBot to the platform (by double clicking on the file) it is ready to be used. You need to compile (build) cBot only if you made a change in the source code. If you do not change code of the algorithm you do not need to compile (build) it.
@Position Stats: 26 May 2014, 14:42
Your indicator cannot be opened. Please reupload it.
@Envelopes: 16 May 2014, 09:28
Yes, you can specify AutoRescale = false for Indicator attribute
@USDX Dollar Index: 07 Apr 2014, 10:52
Please use GetIndexByExactTime method instead of iterating all indexes. It will speed up your indicator.
@Golden Dragon: 17 Jan 2014, 11:16
Hello, Those are actually warnings not errors. We will fix that in the future releases. You can use the downloaded cBot without even building it. The new method of downloading and installing cBots and Indicators does not require you to build them unless you need to modify the code.
@Ultimate Pivot Points 2: 23 Dec 2013, 10:38
You may specify the timezone in the Indicator Attribute [Indicator(IsOverlay = true, AutoRescale = false, TimeZone = TimeZones.UTC)]
Last Forum Posts
@Update Error on Spotware Beta: 18 May 2022, 17:20
We have received reports from some traders that they experience an update error when installing the 4.2.2 update of Spotware Beta.
If after an update you see an error at the cTrader launch window or in the account bar, please follow the steps below.
1. Go to the https://www.spotware.com/beta and download cTrader Desktop
2. Launch the downloaded ‘exe’ file and when you will see a repair button on the cTrader launch window click on it.
3. cTrader will be launched and your update error will disappear. You can continue using cTrader.
@cTrader Desktop 4.2 Has Been Released!: 30 Mar 2022, 12:23
We are delighted to share with you the release of cTrader Desktop 4.2.
The cTrader Desktop 4.2 update betters the desktop version of cTrader with one of the biggest selections of technical improvements within several years that benefit you - our cTrader community developers.
Among other improvements, cTrader Desktop has now migrated to the latest. NET6 version, providing many new features for developer use, while maintaining the old NET4 framework for backward compatibility with all existing cBots and indicators.
Additionally, cTrader has altered the way an algo file is built by removing any dependency from the cTrader application for the build process. The whole building process now takes place using .NET build tools, which gives you the option to use any IDE to work on your algos, from Visual Studio to Jetbrains Rider, to easily reference other libraries from NuGet, to integrate your algo with .NET products such as ASP.NET, WPF, WinForms, andML.NET, and to compile cBots and indicators using the 'dotnet build' command and even write code and compile it on Linux or Mac.
Furthermore, there has been added improved intellisense with C# 10 support, a new installer and updater for cTrader, improvements for backtesting and optimization, debugging support, new compiler settings, improved automate logs, live progress for optimization pass, and much more, to make your experience as smooth as can be.
Latest .NET Runtime
cTrader Desktop was migrated to the latest .NET 6 version, which brings a lot of improvements and gives many new features for your use. From now on .NET runtime will be distributed with the cTrader application, using our new installer and updater. As an Algo developer, you will no longer need to worry about the .NET runtime version on client machines.
Algos can be executed with old and new .NET
Now algos can be executed with both - the old .NET Framework 4.x and the new .NET 6. Please note that these changes will not affect existing cBots and indicators. Old cBots and indicators will be launched in a child process running .NET Framework, while new cBots and indicators that target .NET 6 will be running in different processes using .NET 6. This way, cTrader keeps great backward compatibility for all existing cBots and indicators and brings the latest .NET technology to your new projects.
Algo execution moved out of process
cBots and custom indicators are now executed in different processes. This allows great backward compatibility for old cBots and indicators, better isolation of the main cTrader process, and better security from potentially malicious code. Now you will see multiple processes in the Task Manager running under the main cTrader process.
Easy upgrade from .NET Framework to .NET 6
You can now easily update cBots and indicators to .NET 6 by switching Target in the Code Editors toolbar and build algo with the new target. If your algo contains dependencies on other libraries, we suggest making a copy and checking migration on the copy first.
All IDEs and any references
We changed the way an algo file is built by removing any dependency from the cTrader application for the build process. The whole building process now takes place using .NET build tools.
This means that you can now:
- Use any IDE to work on your algos: Visual Studio, Visual Studio Code, Jetbrains Rider
- Easily reference other libraries from NuGet, which contains 250,000+ libraries
- Integrate your algo with .NET products such as ASP.NET, WPF, WinForms, and ML.NET
- Compile cBots and indicators using the 'dotnet build' command and even write code and compile it on Linux or Mac
Improved Intellisense and C# 10 support
Built-in Code Editor now has a new improved Intellisense with C# 10 support. You can find out more about the latest changes in C# languagehere
New installer and updater for cTrader
The cTrader application now has a new installer and updater. It works better than the previous installation technology and provides a better user experience, including the ability to launch the old cTrader version while an update is in progress.
OnDestroy method for indicators
Indicators now have an OnDestroy method that allows one to free allocated unmanaged resources and run other finalization tasks.
Improvements for backtesting and optimization
Backtesting and optimization have been improved with multiple changes to remove any differences between them. Optimization adds multi-symbol support for trading, price updates and market data requests.
Both .NET 4.x and .NET 6 algos can be debugged in Visual Studio with real-time, silent or visual backtesting, or optimization.
New compiler settings
A compiler setting that allows selecting between embedded compiler and .NET SDK has been introduced. The embedded compiler has limited functionality, but is enough for simple projects without any references. If you want to use the full power of .NET for complex projects, select .NET SDK or compile from Visual Studio, other IDEs, or using the 'dotnet build' command.
Improved Automate logs
cBot logs tab has been renamed to Automate and now shows combined logs for cBots and indicators.
Suspended indicators due to error
A custom indicator that has an error will be suspended and will show on the chart as stopped. When an error occurs you will see a red icon on the top of the chart. From the indicators list, you can restart such an indicator or remove it altogether.
Live progress for optimization pass
In previous versions, the optimization table showed only passes that were finished. You were not able to see passes that are in the progress. Now, such passes are displayed with real-time updates. Individual passes can also be stopped. This allows for reduction of waiting time when you see that a long-running pass is not performing well.
Icon for an old algo file for a cBot
When an .algo file is updated on the disk for a cBot, e.g. when you rebuild it, you will see an icon showing that you are running an older version. To run the latest version you will need to stop and restart it.
Auto-format code hotkey
New hotkey Ctrl + D has been added to the autoformat code.
Improved API Reference
We have improved our API reference by adding grouping. You can now browse through the specialized folder groups, instead of browsing through an endless list of types. Discover the full power of Automate API in a structured and much convenient way!
@OpenAPI.NET 1.4.2 Released: 28 Mar 2022, 14:07
We released new version of our .NET package for Open API, the made major improvements in this version related to memory usage.
- Now it doesn't allocate a new array for each incoming data, it means less memory usage and less pressure on GC
- We used Span to reverse the length of message instead of array, it will avoid the extra array allocation
- Now there is one data length array that we reuse for all incoming messages, instead of creating new ones for each message, this will avoid lots of unnecessary allocations
- OpenAPI.NET 1.4 now targets .NET 6, older versions were based on .NET standard 2.1
If you are using OpenAPI.NET we strongly recommend you to update to the latest available version (1.4.2).
We welcome any community contribution, open a PR or issue on Github repository.
OpenAPI.NET is a production ready package in case you want to use it on your .NET apps.
It powers the popular cMAM software and lots of other Open API .NET apps.
From version 1.4 we changed the Nuget package name from Spotware.OpenAPI.Net to cTrader.OpenAPI.Net.
@Spotware Community Team Releases FIX API Python Examples: 14 Mar 2022, 08:55
Our community team is happy to announce the release of a collection of examples demonstrating how to use Python with cTrader FIX API! Now it becomes much easier for you to use the FIX API with one of the most popular programming languages. The examples include a console application, a web application and a Jupyter Notebook. You can access the code samples from the project’s GitHub repository or download the package from PyPi.
Feel free to share your feedback with us in the comments!
@What's New in cTrader Mobile 4.4: 11 Feb 2022, 08:55
We are excited to announce the release of the new cTrader Mobile 4.4.
The update takes your technical analysis to a whole new level with a selection of improved features. These include the addition of the Heikin Ashi chart in the timeframe sector, the added visibility of Price Alerts in the chart, as well as a modification that allows for pending orders to be adjusted and placed directly in the chart for increased swiftness and convenience. Additionally, from this release on, cTrader Copy Mobile is finally available for our iPhone and iPad users.
Heikin Ashi Chart in Timeframe Sector
The Heikin Ashi chart has now been added to the timeframes sector in order to increase your technical analysis potential and precision.
Price Alerts Visibility in Chart
Price Alerts have become visible and modifiable in the chart for a more complete, on-the-spot technical analysis picture.
Pending Orders Adjustment & Placement on Chart
Pending orders can now be placed and adjusted directly on the chart to help you keep your finger on the pulse of your pending orders without leaving your technical analysis space.
cTrader Copy Mobile - Now on IOS
cTrader Copy Mobile has finally reached IOS, making the sought-after cTrader Copy app available not only for our Android, but also our iPhone and iPad users.
The version also comprises a series of bug fixes and performance improvements.
@Help cTrader Teams Improve Our Products!: 11 Jan 2022, 14:14
Out product teams are looking for your feedback in improving some aspects of our products. Hence they would appreciate if you could spend 1-2 minutes answering the following questionnaire. Thanks for your help!
@Community Team adds Web and Jupyter to Python Open API Examples!: 10 Jan 2022, 11:40
We are happy to announce that our community team has added two more examples to our collection of Python Open API examples! The two new examples are an example of how to use Open API with Python and relevant web technologies, in order to integrate Open API in your web application, as well as an example of a Jupyter Notebook using Open API.
Find out more about our Python Open API library and example applications example here.
@Open API Gets a Python Library!: 14 Dec 2021, 10:46
We are happy to announce that cTrader Community team has released the first open source Python library for cTrader Open API, accompanied with a sample console application. The new library makes it easier to use cTrader Open API using one of the most popular programming languages, Python! A console application has been also shipped, demonstrating the basic ways of using the library with Python. The project is open source and open to third party contributions.
Find out more about our Python Open API library and console application example here.
@Spotware Community Team Releases Open API Web Sockets Example: 02 Nov 2021, 09:28
We are happy to announce that we have added a new example in our Open API examples collection. The new example is based on cTrader Open API, Web Sockets and Blazor technologies, and it demonstrates how to build a full blown web application on top of Open API. It includes examples of subscribing to and managing live price streams using web sockets technology instead of TCP connections, displaying price charts and managing orders and positions. You can use it as an alternative connection option to traditional TCP connections.
You can also test the deployed version of this sample at: Blazor.WebSocket.Sample (spotware.github.io)
@What's New in cTrader Mobile 4.3: 01 Nov 2021, 11:16
We are excited to announce a new update to cTrader Mobile. The new cTrader Mobile 4.3 release opens up multiple new and improved features, including an entirely new layout for iPad and Mac devices, as well as additional QuickTrade button settings and improved Drawings with a context panel for maximum convenience.
New Layout for iPad & Mac
cTrader has now become even more adapted for use on iPad and Mac devices. Featuring an entirely new layout, as well as improved functionality and navigation - it is built for an extra convenient and clear trading experience for our iPad and Mac users.
QuickTrade Button Misclick Protection Settings
QuickTrade has now been improved with additional settings, preventing misclicks by giving you the ability to select a way of QuickTrade activation not solely via the default “Single Tap”, but now also via “Single Tap with confirmation” or “Double Tap”, depending on your personal preference.
Drawings Context Panel
Drawings have now received a context panel. A feature much-needed for enhanced comfort of technical analysis, it allows you to copy the drawing, rotate it, delete or lock the drawing, as well as to open settings of the selected drawing - all directly from the chart.
cTrader Copy Mobile - Multi-Factor Rank Sorting Algorithm
cTrader Copy Mobile has received a brand-new multi-factor rank sorting algorithm, which calculates strategy rank based on a number of factors.
The version also comprises a series of bug fixes and performance improvements.