Click to Show Menu

UI Basics

cBots Tab

All your cBots are listed in the cBots tab of the cTrader Automate main menu. Before you have added or designed your custom cBots, there are several sample cBots in the list by default. Here you can start creating new cBots, start or stop the existing cBots, download cBots from cTrader.com, rename, duplicate or delete cBots. Use the advanced search to the upper left to find the required cBot by its name.

Click on the three dots menu or right-click on a cBot for the following cBot Quick Options:

  • Add an Instance - add a cBot instance and edit the parameters. Only parameters defined by the code as editable will be available for editing. EURUSD symbol will be set by default. See Creating and Running a cBot section for more details.
  • Remove an Instance - select and remove the cBot instances from the drop-down.
  • Manage References - open the Reference Manager to reference the .NET libraries and custom Indicators.
  • Edit in Visual Studio - open and edit a cBot in Visual Studio. Requires Microsoft Visual Studio installed on your computer.
  • Save - save all changes made to the source code (Ctrl + S). This action will save changes to the source, but will not apply or build the source.
  • Build - build a cBot from the current code.
  • Build with Source Code - build a cBot code file on your disc to share or send to the third-party recipients.
  • Rename - rename your cBot. Shortcut key - F2.
  • Delete - delete the cBot.
  • Duplicate - create an identical duplicate cBot. The duplicate cBot will appear to the bottom of the cBots list. Examples of usage: Testing multiple versions of a cBot, making changes to the source of a cBot that is running. You can duplicate the cBot while it is running and work on the source code of the duplicate.
  • Show in Folder - open a cBot file location on your computer.

Indicators Tab

All your Indicators are listed in the Indicators tab of the Automate menu. Before you have added or designed the new Indicators, there are several sample Indicators in your list by default. Here you can start creating the new Indicators, rename, duplicate or delete them. Use the advanced search to the upper left to find the required Indicator by its name.

Click on the three dots menu or right-click on an Indicator for the following Indicator Quick Options:

  • Add an Instance - add an Indicator instance and edit parameters. Only parameters defined by the code as editable will be available for editing, as well as the lines settings such as color, thickness and line style. EURUSD symbol will be set by default. See Creating an Indicator section for more details.
  • Remove an Instance - select and remove the Indicator instances from the drop-down.
  • Manage References - open the Reference Manager to reference the .NET libraries and custom Indicators.
  • Edit in Visual Studio - open and edit an Indicator in Visual Studio. Requires Microsoft Visual Studio installed on your computer.
  • Save - save all changes made to the source code (Ctrl + S). This action will save changes to the source, but will not apply or build the source.
  • Build - build an Indicator.
  • Build with Source Code - build an Indicator code file on your disc to share or send to the third-party recipients.
  • Rename - rename your Indicator. Shortcut key - F2.
  • Delete - delete an Indicator.
  • Duplicate - create an identical duplicate Indicator. The duplicate Indicator will appear to the bottom of the Indicators list. Examples of usage: Testing multiple versions of an Indicator.
  • Show in Folder - open an Indicator file location on your computer.

Code Editor

cBot or Indicator source code is editable in the code editor. You can write, edit and build your cBots and Indicators directly in this editor. The results of your builds will be displayed in the Build Result view below.

Use the Save button to save your code, the Build button to build your cBots and Manage References to open the Reference Manager.

Build Result Viewer

When building your cBots, fail or success results are displayed in the Build Result viewer.

If a build fails, the errors’ details will be specified in the Build Result viewer.

API Reference Explorer

Use the API Reference Explorer to search for the description of types that you can use in your cBot or Indicator. You can find the description for types, its methods, properties, events, and examples of usage.