Install and run on cTrader
Install
- In cTrader, open the Algo section (called Automate in older versions) and choose cBots.
- Press New to create a cBot. Give it any name.
- Open the .cs file in a text editor, select everything, copy it, and replace all the code in the new cBot with it.
- Press Build (Ctrl+B). It should finish with no errors.
Backtest it first
Choose the cBot, add an instance with the strategy's symbol and timeframe, and open the Backtesting tab. Use Tick data for the most accurate guards.
Run it
Add an instance on the right symbol and timeframe, check the parameters, and press Start. For a set, one instance trades every market in the set.
Good to know
- Time zone: trading hours, the day reset and the Friday close use the time zone written on the
[Robot]line near the top (the one you chose when exporting). To change it, edit that one word, for example toTimeZones.UTC, and build again. - Trade label: the cBot only manages positions with its own label. Give each instance on the same account a different one.
- Your own indicators: add them as references before building: see Using your own indicators.
Didn't find your answer? Contact us and say what you were trying to do.