Documentation

Text2Strategy Pro

Describe your trading idea in plain language. partiqon builds the graph for you using AI, ready to backtest immediately.

How it works: Text2Strategy is a chat interface. You describe what you want — entry conditions, exit conditions, stop loss, take profit. The AI translates your description into a valid block graph using partiqon's 70-block catalog. Valid graphs are automatically saved and opened in the editor.

How to use it

  1. Open the workspace. Make sure a symbol and timeframe are set (used as context for the generated graph).
  2. Click the Text2Strategy button (the ✦ sparkles icon) in the toolbar.
  3. Type your strategy description and press Enter or click Send.
  4. The AI replies with an explanation of what it built. If the graph is valid, it's automatically saved and opened in the graph editor.
  5. If the graph has validation issues, a yellow warning appears and the graph is held in preview. Click Apply to Canvas to load it anyway, then fix the broken connections manually.
  6. Backtest, optimise, or continue refining the strategy by chatting further.

What to write — example prompts

The more precise your description, the better the result. Include entry conditions, stop loss, and take profit in the same message.

"RSI drops below 30, EMA 50 is sloping up, enter long. Stop 1.5 × ATR below entry, take profit 3 × ATR above entry."
"Enter short when fast EMA (9) crosses below slow EMA (21). Session filter: London hours only (7am–4pm). Exit after 15 bars or when fast EMA crosses back above slow EMA."
"Bollinger Band mean reversion. Price touches the lower band and RSI is below 35. Enter long with 20 pip stop and 40 pip target."
"EMA crossover strategy on M15 bars. EMA 9 crosses above EMA 21, ADX above 25 to confirm trend. ATR-based stop loss (2×ATR), 3× ATR take profit."

Refining in the same conversation

Text2Strategy is conversational — you can keep iterating in the same chat. Examples:

The AI remembers the last three turns of the conversation (six messages) for context, so follow-up messages are interpreted relative to what was already built.

Writing effective prompts

What the AI can build

Text2Strategy can combine any of partiqon's 70 blocks. Commonly generated patterns include:

Chat history

Your conversation history is stored locally in your browser (up to 200 messages). It persists across page reloads and sessions on the same device. It is not synced across devices. To start fresh, click the clear/reset button at the top of the Text2Strategy panel.

When to use Text2Strategy vs. the graph editor