AI trading strategy builder: from your idea to rules

By Oalgo · Last reviewed

An AI trading strategy builder turns an idea you write in your own words into rules you can test. In Oalgo the rules appear as blocks on a canvas, so you can read every one before you run a test.

How do you create a trading strategy with AI?

#
  • Write one idea with an entry, an exit and a stop. For example: “Enter when the 20-period EMA crosses above the 50-period EMA. Exit when it crosses back below. Stop Loss 3%.”
  • Let Oalgo AI build the rules, then read every block it made.
  • Run a backtest on past prices.
  • Change one thing, test again and compare the two reports.

What does an idea need before an AI can build it?

#
Part of the ideaWhat to sayA clear version
EntryThe condition that opens a trade20-period EMA crosses above the 50-period EMA
ExitThe condition that closes itExit when the 20-period EMA crosses back below
StopHow far price may move against a trade before it closesStop Loss 3% from entry
Market and timeframeWhich market and which candle sizeSet in the test settings before each run

Leave a part out and the AI has to guess it. A guess you did not check is a rule you did not choose.

What stays with you, not the AI?

#
  • The market, the timeframe and the date range of every test.
  • The fees and the slippage. The test takes both off each trade, and you can change them in the test settings.
  • Whether to trust the rules. A test shows how rules behaved on past prices and nothing more.
  • Whether to Go Live. Nothing starts until you review and accept the exact rules and switch your Live Strategy on.

What can an AI strategy builder not tell you?

#

A builder turns words into rules. It cannot say whether the idea is good. Rules that fit the past can fail on new prices, and an AI makes it quick to try many versions, which makes a chance fit easier to find. That is overfitting. The checklist for AI strategy builders lists six questions to ask any of them.

Read next