Export an algorithm in cTrader
You can use the export functionality in cTrader Windows or Mac to generate an .algo file from an algorithm you created.
Note
The export procedure is identical for all types of algorithms (cBots, indicators and plugins).
In cTrader Algo, click the Export button on the algorithm you want to export, or you can right-click the algo and click Export.

Select your preferred export option:
| Option | Explanation | Usage |
|---|---|---|
| No source code | Generate the .algo file without source code, specifying whether a single cTrader user or any person can run it. | Save the .algo file with access for any user, then upload the file when publishing a product in Store. |
| With source code | Generate the .algo file with source code, granting access to all cTrader users. | Store the .algo file in a safe, personal folder to serve as a backup of your source code. |

Click the Export button and you will be directed to the folder containing the generated .algo file.

The folder location depends on the algorithm type:
- cBot:
..Documents/cAlgo/Sources/Export/Robot - Indicator:
..Documents/cAlgo/Sources/Export/Indicator - Plugin:
..Documents/cAlgo/Sources/Export/Plugin
- cBot:
~/cAlgo/Sources/Export/Robot - Indicator:
~/cAlgo/Sources/Export/Indicator - Plugin:
~/cAlgo/Sources/Export/Plugin
Finally, you can take the .algo file and use it as needed.