🚀 Special Offer: Get 30% off your first 3 months. Use code TRADE30 at checkout!
Tutorials > Create A New Strategy

AI-Powered Strategy Creation

This tutorial will guide you through the essential steps to create a new strategy with AI Automation.


1. Sign In to Launch BotiTrader

  1. Open the software after installation.
  2. Enter your registered email and password, then click "Sign In".
  3. Once signed in, you will see the main interface.

2. Create a New Strategy in the Backtest Window

  1. In the Main window, at the top of the charting window, click "Create Trading Bot".
  2. The Backtest window will appear.
  3. On the top left of the Backtest window, click "Create New Strategy". In the popped-up window, input a strategy name, and then click "Create".
  4. A new strategy will be created, and the AI Automation Assistant window will appear automatically. This window can also be accessed by clicking "AI Automation Assistant" at the top of the Backtest window.

3. Use AI to Transform Ideas into Strategy Code

  1. In the popped-up AI Automation Assistant window, select "New Strategy" in the "AI Automation Mode" section on the top right.
  2. In the User Input section, enter your trading idea or algorithm. This can be a natural language description (e.g., "a moving average crossover strategy" or a detailed description) or a code snippet from other platforms (e.g., a Pinescript strategy or trading logic in another language). The AI will analyze your input and generate Botitrader-compatible strategy code.
  3. In the bottom left corner, configure the following settings parameters:
    • Timeout (seconds): Sets the timeout value for the automation in seconds.
    • Max regenerate attempts: If the generated code doesn't change after an attempt, AI will regenerate the code. This parameter defines the maximum number of regeneration attempts.
    • Max debug attempts: If errors occur in the strategy code, AI will attempt to debug and fix them. This parameter defines the maximum number of debug attempts.
  4. In the bottom left corner, click "Start AI Automation", and AI will start transforming your input into strategy code. During this process, errors may occur and will be resolved automatically. You only need to wait for the final result. You can track the progress in the AI Automation Logs section in the bottom right corner.
    • Success: A green message will appear in the AI Automation Logs.
    • Failure: A red message will appear in the AI Automation Logs. If the process fails, repeat the steps in this section to try again.