Say it. It writes it.
Type your idea in plain English. Press Convert to AlgoBarsX. You get real code you can read and change.
Free to use · Now in beta
AlgoBarsX is a simple coding language for traders. You type a rule. It reads the rule back to you in plain English. Then you test it on past prices.
strategy "My First Rule"market: EURUSDbars: 15mwhen crosses_above(ema(close, 20), ema(close, 50)):buy risk: 1%, stop: 25 pips, target: 2RWhen the 20-bar EMA of the close crosses above the 50-bar EMA of the close, it buys at market, risking 1% of the balance, with a stop 25 pips from the entry and with a target 2R from the entry.
2R means a target twice as far as your stop. These words come from the real AlgoBarsX compiler. Every mix of buttons on this page was checked by it.
Like it? Write your own rule next.
Create my free accountType it yourself. Or write what you want in plain English and press Convert. It writes the code for you.
AlgoBarsX turns your code into plain English. If the words are wrong, the code is wrong. You fix it before it runs.
See how your rule did on past prices. Watch the test play back, trade by trade. When you are ready, run the same script on a demo or live account.
Forgot a unit? Spelled a name wrong? AlgoBarsX tells you what is wrong and how to fix it. Many fixes take one click.
Try it. Press the button in the box.
strategy "EMA Cross"market: EURUSDbars: 15mwhen crosses_above(ema(close, 20), ema(close, 50)):buy risk: 1%, stop: 25, target: 2Rstop 25 has no unit. Did you mean 25 pips?
You do not have to be a coder. These help you at every step.
Type your idea in plain English. Press Convert to AlgoBarsX. You get real code you can read and change.
See each trade open and close. Watch the balance move. It shows you what really happened, bar by bar.
Wrote it for the euro? Run it on gold. You pick the market, the bar size and the trade size when you start it.
Use the same simple code to make all of these.
Rules that buy, sell and manage your trades.
Your own lines and marks, drawn on the chart.
A message when something happens. You choose how often.
Tables and panels, right on your chart.
Check how much you could lose before you trade.
Write a piece of code once. Use it again, or share it with your team.
Paste your code. AlgoBarsX rewrites it and gives you a note on every line. Always read the result before you use it.
//@version=5strategy("RSI Dip", overlay=true)len = input.int(14, "RSI Length")r = ta.rsi(close, len)if ta.crossover(r, 30)strategy.entry("L", strategy.long)if ta.crossunder(r, 70)strategy.close("L")plot(ta.ema(close, 200), color=color.orange)strategy "RSI Dip"market: EURUSDbars: 1hinput len = 14r = rsi(close, len)when crosses_above(r, 30):buy size: 1 lot, tag: "L"when crosses_below(r, 70):close_all tag: "L"plot ema(close, 200), color: orangeOther product names belong to their owners. We name them only to show what you can import. AlgoBars is not part of those companies.
A test is only useful if it is honest. These are rules the engine follows every time.
A rule can never see a future price. Not even by mistake.
Same script. Same data. Same result.
Sometimes one bar hits both your stop and your target. If the data cannot show which came first, the test counts the stop.
If your test account runs out of money, the test ends right there. It will not keep going with money you no longer have.
Tests do not include spread, fees, swaps or slippage. Real trading has all of them. So your real results will be different. A good test does not mean you will make money.
$0a month
Every feature is open. You get 250 AI credits each month. Credits pay for AI, tests and auto trades. Buy more only if you want to.
Create my free accountPick the page that sounds like you. Each one says how AlgoBarsX helps, and what it does not do yet.
Turn your plan into code you can read.
Share what you built. Keep how it works.
Teach with code students can read.
Typed units and tests you can repeat.
Your rulebook, written as code.
Research the whole desk can read.
Tools your clients will use.
Rules your whole firm can stand behind.
No. The code reads like plain words. It also reads itself back to you in English. And the AI can write it for you.
Yes. It is $0 a month with no card. It is not a trial. You only pay if you want more credits.
No. Tests use old prices and leave out costs like spread and fees. Past results do not tell you what will happen next.
No. AlgoBars is software, not a broker. It links to your own broker account. It never holds your money. It does not give advice.
AlgoBars is the trading platform that AlgoBarsX runs on. One free account gives you both.
It works, and we are still making it better. Some things may change.
Start with one rule. Read it back. Test it. It is free.
Create my free account$0 a month · No card needed · Not a trial
Trading is risky. You can lose money. It is not right for everyone.