Lesson 10 of 10 · Published Aug 26, 2026 · 5 min read
How to Build a Trading Strategy With AI in Plain English
AI has changed one specific thing about algorithmic trading: the translation step. Turning "buy oversold dips in an uptrend" into a runnable, testable strategy used to mean months of programming. Now you describe the rules in plain English and AI builds the strategy. What AI has not changed is everything else in this curriculum: the idea still needs an edge, the backtest still needs honesty, and the sizing still needs discipline.
This closing lesson walks the full loop once, and is honest about where the human stays in it.
What the AI actually does
On a platform like Horizon, the AI's job is translation and construction. It takes a described idea, asks about anything ambiguous, chooses the indicators and conditions that express it, assembles entries, exits, stops, and sizing into a complete strategy, and runs the backtest against years of historical data. It compresses the distance between an idea and evidence about the idea from months to minutes.
What it does not do is know the future. AI does not make a mean-reversion idea work in a trending market, exempt a strategy from overfitting, or care about your account's survival on your behalf. Think of it as a fast, tireless strategy engineer, not an oracle: the quality of what gets built still depends on the quality of what you ask for and the honesty of how you test it.
Writing a prompt that can be tested
The skill of AI-assisted strategy building is the same skill this curriculum opened with: stating rules without ambiguity. The four parts from What Is Algorithmic Trading? are exactly what a good prompt contains: universe, entry, exit, sizing.
A vague prompt produces a guess:
"Make me a profitable Bitcoin strategy."
A testable prompt produces a strategy:
"Trade BTC on the 4-hour chart. Enter long when RSI drops below 30 while price is above the 200-period moving average. Exit at RSI 55 or after a 5 percent adverse move, whichever comes first. Risk 1 percent of the account per trade."
Every clause in the second prompt is checkable against data, which is the entire point. You do not need to know the perfect parameters, and the AI can propose defaults and variations; what you must supply is a falsifiable shape: what to trade, what makes it enter, what makes it leave, how much it stakes.
The loop: idea, build, test, revise
In practice, building with AI is a conversation wrapped around the backtest:
- Describe the idea in the four-part shape above.
- Read the built strategy back. Confirm the rules the AI constructed are the rules you meant. This is the step that catches translation errors while they are free.
- Run the backtest and read the results with the eye trained in How to Read Backtest Results: equity curve shape, drawdown, trade count, the panel together.
- Interrogate, then revise. Ask what conditions hurt the strategy, test a variation, widen the test window. Each iteration is minutes, which is the genuine advantage: fifty honest experiments in an afternoon.
- Stop before the loop becomes curve-fitting. Rapid iteration cuts both ways: fifty revisions steered by the same historical window is overfitting at conversational speed. The defenses do not change: fewer parameters, robustness to nearby settings, and a held-out period the revisions never saw.
From surviving strategy to running strategy
A strategy that survives honest testing follows the same road as any other, because deployment does not care who wrote the rules: risk limits attached, paper trading against live data, then a small live deployment at a connected broker, scaled up only as live results track the tested expectations.
If you would rather begin from something proven than from your own first idea, the strategy templates make a practical starting corpus: each states its rules and historical results, and "take this template but tighten the stop and add a volatility filter" is a perfectly good plain- English prompt.
Common mistakes with AI strategy building
- Treating fluency as evidence. The AI explains its construction clearly whether or not the idea has an edge. The backtest is the evidence; the prose is packaging.
- Prompting for outcomes instead of rules. "A strategy that makes 5 percent a month" specifies a wish. Rules can be tested; wishes can only be fitted.
- Iterating until history submits. If revision 50 finally looks spectacular on the same window revisions 1 through 49 were graded on, you have most likely built a curve-fit, not found an edge.
- Skipping the read-back. Deploying a strategy whose exact rules you never confirmed reintroduces, with extra steps, the ambiguity this whole discipline exists to remove.
Frequently asked questions
- Can AI really build a profitable trading strategy?
AI can reliably build and test the strategy you describe, which removes the engineering barrier. Whether the strategy is profitable depends on the idea and the honesty of the testing, exactly as it did before AI. The translation is solved; the edge is still yours to find and verify.
- Can I use ChatGPT to trade stocks?
A general chatbot can discuss ideas and sketch code, but it does not connect to market data, run rigorous backtests, or execute orders. A purpose-built platform wraps the language model in that infrastructure, which is the difference between talking about a strategy and testing one.
- Do I need trading knowledge to build strategies with AI?
You need less vocabulary and the same judgment. The AI handles indicators and construction, but deciding what idea to test, reading a backtest skeptically, and sizing positions conservatively remain human work, which is what this curriculum teaches.
- Will AI predict which way the market moves?
No. In this workflow AI builds and tests rule-based strategies; it does not forecast prices. Claims of AI price prediction deserve the same red-flag checklist as any other too-good claim in trading.
