Skip to main content

cTrader: How to Run cBot in cTrader Automate

Learn how to run cBot in cTrader Automate by following the steps on this article.

Niel Diño avatar
Written by Niel Diño
Updated over 2 weeks ago

What is cBot?

A cBot is an automated trading robot that runs inside cTrader Automate (formerly known as cAlgo). You can use cBots to automatically execute strategies, manage positions, and monitor market conditions without manual intervention.

cTrader Automate is the dedicated module within the cTrader platform for algorithmic trading. It provides the tools to create, test, and run cBots, as well as build custom indicators. Together, they complement each other:

  • cTrader Automate is the environment where automation happens.

  • cBots are the automated strategies that operate inside that environment.

In short, Automate is the “workshop,” and cBots are the “machines” you run in it.

How to run cBot on a Desktop

Follow these steps to add and run a cBot (automated trading robot) on the cTrader Desktop platform:

  1. Navigate to the “Algo” section: Click on the “Algo” tab located at the bottom-left corner of the cTrader platform to access the Automate section.

  2. Open the cBots Tab: Select the “cBots” below the "Algo" tab to view all available automated strategies.

  3. Add or Create a cBot:

    1. To add an existing cBot, click the “New” button and select "Add an existing algorithm", then upload the desired .algo or .cs file:

    2. To create a new cBot, click “New”, then choose “Build a new algorithm” as the algorithm type and enter a name for the bot:

  4. Choose How to Build Your cBot (skip this part if adding an existing cBot).

    1. After naming the cBot, you will be prompted to:

      • Create a new cBot from scratch, or

      • Use one of the available templates (highly customizable)

    2. You will then be redirected to the built-in code editor.

  5. Configure the cBot:

    • Once the cBot has been added, it will appear in the cBots tab:

      • Click on the desired cBot to run.

      • Select the appropriate instrument (symbol) and timeframe.

      • Ensure to select the Local version of the cBot, indicated by a monitor icon.

  6. Run the cBot:

    • There are three ways to start the cBot:

      • Right-click on the selected cBot and choose “Start cBot Instance.”

      • Click the “Play” button located to the right of the cBot in the list.

      • Use the “Play” button located directly on the chart of the selected instrument and timeframe.

Did this answer your question?