Backtrex Introduction: From Your Strategy to a Backtest
Backtrex reads your strategy (text, Pine Script, MQL5, PDF, video...), writes it as custom condition blocks and backtests it on 10 years of data. No coding.
What is Backtrex?
Backtrex is an AI-driven backtest engine built for retail traders. You give it the strategy you follow, in the form you already have: a plain-language description, a Pine Script, an MQL5 Expert Advisor, a course PDF, a video. The AI reads it, writes it as testable rules, and you backtest it on 10 years of data.
You write no code, and you never see any: you review blocks written in plain language.
Key concepts
One source, read by the AI
Everything starts with the New strategy button, which opens the AI window. Drop a file or paste a text, then click Start reading.
Formats it reads:
- free description, as text
- Pine Script v1 to v6
- MQL5
- PDF, Word, Excel, CSV
- image (PNG, JPG)
- audio (MP3) and video (MP4)
A read usually takes 2 to 3 minutes. You can close the window: you are notified when the strategy is ready.
100% custom conditions
There is no indicator catalogue and no template to fill in. Each rule in your source becomes a block written for it: a title, a readable sentence, a timeframe badge and its values.
Blocks are linked in three ways:
- AND: every condition is true on the same candle
- OR: any one path is enough
- THEN: an ordered sequence, with a maximum delay in candles
Details in Blocks and their logic.
You stay in control without the AI
- Every number, time or date on a block is edited in place, with no AI and no quota.
- A block's checkbox turns it on or off.
- A condition's timeframe changes from its badge, with no AI.
- Only a change of logic goes through the AI (the block's pencil).
The backtest
A backtest covers one asset, over the period you choose within the 2016-2026 history. It runs in seconds and counts spread and commission. You get the Backtrex Score, the metrics and every trade on the chart.
Each backtest freezes its own version of the strategy. Editing a block creates a draft and leaves past backtests untouched.
Honest results
A condition that reads the future cannot be added: the AI tells you why. Decisions are made on closed candles and entries happen at the open of the next candle. See Anti-repainting safeguards.
Export
From a backtested version, export your strategy as Pine Script v6 (TradingView), MQL5 (MetaTrader 5) or Python. See Export.
The usage gauge
AI has a cost, measured by a single percentage gauge, shown in the left menu (the Usage block) and in the AI windows.
- Two rows: Today and This week. The week resets on Monday at 00:00 UTC.
- Counts toward the gauge: reading a source, adding or editing a condition, an export.
- Never counts: backtests, block values, checkboxes, deleting.
Your first test is free with no card: it reads pasted text (description, Pine Script or MQL5). Files, video and audio are included in the trial.
Navigation overview
- Dashboard: your strategies, your backtests, the New strategy button and your score
- Strategies: your strategy list, each with its best score
- The builder: your blocks, then after the first backtest the chart and its trades
- Leaderboard: the best backtests from all Backtrex users
Next steps
Head to Your first strategy to go from your source to a first backtest.