Ask Matana AI to build a strategy
In “Strategies”, open the “AI” tab, describe your idea in plain words and press Enter. Matana AI writes the strategy, it is checked by the same parser as the code view, and you see it as a flowchart, rules and code. Each request uses AI credits; the expected cost and what you have left are shown next to the button.
Steps
- Open “Strategies” and click the “AI” tab.
- Choose “New” for a new strategy, or edit the one that is open.
- Write the idea with numbers where you have them: the bar size, the indicator and its settings, when to buy and sell, the stop.
- Press Enter (Shift+Enter starts a new line). When it is done, read the flowchart before you run it.
Changed your mind, or sent it too early? While Matana AI is working, the button turns into a stop button with a square: press it or Esc. What it had already written stays, marked “Stopped”, and the strategy is not changed. If nothing had arrived yet, your message goes back into the box so you can edit it and send it again. You can send the next message straight away. The same stop button works in the Matana AI chat and wherever you ask Matana AI a question.

Good to know
- A request to build a strategy usually costs 5–25 AI credits. Every plan includes AI credits each month, the free plan too.
- Stopping early saves credits: only the work done before you pressed stop is counted.
- Out of credits? The block builder always works without AI; see build without code.
- The AI can misunderstand an idea and can only build what the strategy language can express. Always read the result before you trust a backtest.
- Matana AI is not investment advice and doesn’t tell you what to trade.
Related
- Build without code
- Backtest-years and AI credits
- AI strategy builder: describe your strategy in plain words
More in Getting started
Still need help?
Or email support@matanalabs.com. Browse all topics in the Help Center.