Back to modulesModule 03 · Strategy Copilot

Describe a strategy. Get code that compiles.

Two specialized AI experts — one for MQL5, one for Pine Script v6 — turn a plain-English idea into a complete, compile-ready file. All inside a full coding workspace with an editor, inline charts, document reading and chat history.

Strategy Copilot
1// EURUSD RSI(2) mean-reversion · 1% daily-loss
2void OnTick() {
3 double rsi = iRSI(_Symbol, PERIOD_D1, 2, PRICE_CLOSE, 0);
4 double sma = iMA(_Symbol, PERIOD_D1, 5, 0, MODE_SMA, PRICE_CLOSE);
5 if(rsi < 10 && !PositionSelect(_Symbol)) OpenBuy();
6 if(Close[0] > sma) CloseAll();
7 RiskGuard(1.0); // daily-loss kill-switch
8}
Compiles · 0 errors · 0 warnings · MQL5
MQL5
& Pine v6
0
compile errors
IDE
editor + charts
chat history
How it works

Three steps to a result.

1
Describe the idea

Type your strategy in plain English, or pick a starting point from the curated library of entries, filters and exits.

2
Get compile-ready code

A specialized MQL5 or Pine v6 expert writes a complete file — mandatory stop-loss, %-risk sizing and a daily-loss kill switch baked in.

3
Iterate & export

Refine in chat, open the file in the editor, visualize the pattern as a chart, then download the .mq5 or .pine and run it.

Features

Everything Strategy Copilot can do.

MQL5 & Pine v6 experts

One specialist per language — correct namespaces, handles and risk guards, not generic code.

Compiles first time

Prompt-engineered to the platform's exact API so the output builds and runs without hand-fixing.

Full coding workspace

Line-numbered editor, copy / download, and a split editor-plus-chat layout like a real IDE.

Inline chart viz

Ask for a pattern and the Copilot draws it — candlesticks or lines with annotations, right in the chat.

Reads your documents

Attach a spec, CSV or existing .mq5 — the Copilot reads it and builds on it.

Chat history & usage

Every conversation is saved; a usage panel tracks requests and tokens as you go.

Turn your next idea into working code.

Start free — no credit card required, ready in 2 minutes.