How to create and run a custom strategy
To create a custom strategy, first create a file for it and save it in the
./customStrategies folder. You can use the built-in code editor in the Gunbot interface, or any code editor of your choice. Once you've done this, follow these steps to run your strategy., you can use the built-in code editor for this.
Write a custom strategy.
Select "Custom" as your strategy when adding or modifying a pair.
In the "Filename" field, choose your strategy file.
The "Indicators" tab allows you to control how pre-calculated indicator data is generated. These indicators are accessible in your strategy, but you are not limited to using them exclusively.
It's recommended to disable the global cancel orders option when running a custom strategy.