Text2Strategy Pro
Describe your trading idea in plain language. partiqon builds the graph for you using AI, ready to backtest immediately.
How to use it
- Open the workspace. Make sure a symbol and timeframe are set (used as context for the generated graph).
- Click the Text2Strategy button (the ✦ sparkles icon) in the toolbar.
- Type your strategy description and press Enter or click Send.
- 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.
- 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.
- 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.
Refining in the same conversation
Text2Strategy is conversational — you can keep iterating in the same chat. Examples:
- "Add a volatility filter — block entries when ATR percentile is above 80%."
- "Change the take profit to 2.5× ATR instead of 3×."
- "Also add a session filter — only trade between 8am and 6pm CET."
- "The RSI threshold feels too strict — change it from 30 to 40."
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
- Be specific about numbers. "RSI below 30" is better than "RSI is oversold". "1.5× ATR stop" is better than "tight stop".
- Mention entry AND exit. A prompt with only entry conditions produces a graph that has no way to exit. Always include stop loss, take profit, or a bar-count exit.
- One idea per message. "Enter long when X, filter by Y, exit when Z" in one message works well. Avoid combining multiple unrelated strategies in one prompt.
- Use block names if you know them. You can say "use Gate.RegimeFilter to allow entries only in mean-reverting regime" and the AI will use that block exactly.
- Mention the timeframe context. "On the H1 bar" or "M5 strategy" helps the AI pick the right aggregation blocks.
What the AI can build
Text2Strategy can combine any of partiqon's 70 blocks. Commonly generated patterns include:
- Indicator crossovers (EMA, MACD signal line, Stochastic %K/%D)
- Threshold conditions (RSI below X, ADX above Y, Z-Score extremes)
- ATR-based stop loss and take profit sizing
- Session time filters
- Trend gates (EMA slope filter, Regime Filter)
- Volatility gates (ATR percentile)
- Multi-timeframe context (daily EMA trend filter on an intraday strategy)
- Chandelier trailing stops using HighSinceEntry / LowSinceEntry
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
- Use Text2Strategy when you have a strategy idea but aren't sure which blocks to use, or when you want a working starting point quickly.
- Use the graph editor directly when you know exactly which blocks you need, or when you're making small tweaks to an existing graph.
- Use both: generate with Text2Strategy, then switch to the editor to fine-tune the wiring, add tunable ranges, or replace blocks that weren't quite right.