AlgoBarsX | A Trading Language You Can Read Out Loud Skip to content

A trading language you can read out loud

Write a trading idea in a few short lines. The same lines draw on your chart, test on past prices, send your alerts and place your trades. Write it once. Use it everywhere.

  • $0 a month
  • No credit card
  • Free unlimited backtests

Trading involves risk of loss. AlgoBarsX is software. It does not give financial advice or predict results.

ema-cross.abx Compiled, 0 errors
1strategy "EMA Cross"
2market: EURUSD
3bars: 15m
4
5input fast = 20
6input slow = 50
7
8when crosses_above(ema(close, fast), ema(close, slow)):
9buy risk: 1%, stop: 25 pips, target: 2R
10
11when crosses_below(ema(close, fast), ema(close, slow)):
12close_all

What this script says

EMA Cross is a strategy that trades EURUSD on 15-minute bars.

You can change 2 inputs: fast (default 20) and slow (default 50).

When the EMA of the close over fast bars crosses above the EMA of the close over slow bars, 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.

When the EMA of the close over fast bars crosses below the EMA of the close over slow bars, it closes all trades.

Generated from the compiled script, not written by hand. If the English is wrong, the code is wrong.

One script. Four places.

Every part of AlgoBars reads the same script. So a rule means the same thing on the chart, in a test, in an alert and in a live trade.

On the chart

Plots, levels, boxes and marks are drawn straight from the script.

In the backtest

Orders fill by 24 written rules. We check them against 37 exact test cases.

In your alerts

How often it checks, repeats and stops is set right in the script. No extra forms.

In live automation

The same rules place and manage orders through your own broker account. You stay in control of it.

Mistakes caught before anything runs

AlgoBarsX checks every line before a single bar runs. Wrong names, mixed-up units, a price where a distance should be: it catches them all. Each message says what is wrong and how to fix it. Many fix in one click.

ema-cross.abx 1 error
error

These are the compiler's real messages. Each of its 50 diagnostic codes is stable: a code is never reused for a different meaning.

Bring the scripts you already wrote

Paste a script from another platform. AlgoBarsX reads it, rebuilds it and checks that it works. Every line gets a note. If something can't convert, it tells you.

  • Pine Script
  • MQL4 and MQL5
  • NinjaScript
  • EasyLanguage
  • thinkScript
  • Python: backtrader, freqtrade, pandas
What you paste Pine Script
1//@version=5
2strategy("EMA Cross", overlay=true)
3fast = input.int(20, "Fast")
4slow = input.int(50, "Slow")
5if ta.crossover(ta.ema(close, fast), ta.ema(close, slow))
6strategy.entry("Long", strategy.long)
7if ta.crossunder(ta.ema(close, fast), ta.ema(close, slow))
8strategy.close("Long")
What you get back ema-cross.abx
1strategy "EMA Cross"
2market: EURUSD
3bars: 1h
4
5input fast = 20
6input slow = 50
7
8when crosses_above(ema(close, fast), ema(close, slow)):
9buy size: 1 lot, tag: "Long"
10
11when crosses_below(ema(close, fast), ema(close, slow)):
12close_all tag: "Long"

A note on every line

7 lines: 4 exact · 2 adapted · 2 decisions for you
Exactfast = input.int(20, "Fast")input() became an input
Adaptedif ta.crossover(ta.ema(close, fast), …)an if that places orders became a rule
Your callstrategy.entry("Long", strategy.long)strategy.entry() had no size of its own, so it became one lot: set the size or risk you want

Pine Script, MQL, NinjaScript, EasyLanguage and thinkScript are trademarks or products of their respective owners and are named only to describe compatibility. AlgoBars is not affiliated with, sponsored by or endorsed by any of them.

137 functions. Nothing to install.

Indicators, stats, market structure and drawing tools are built in. Each one is explained right in the editor as you type.

built-in functions
137
commands, 26 of them for drawing
38
units: pips, points, percent, R, money, lots, bars, duration
8
events, from bar close and tick to fill and exit
8

Measured on the engine: about 105,000 bars a second through ten indicators, 195,000 through a full backtest, and roughly a million 1-minute bars a second when resolving the price path inside bars.

Risk is part of the grammar

Percent, pips, R and dollars are real units here. Your stop, target and trade plan sit right under the order they belong to. The whole plan is in one place.

One order, fully managed
1buy risk: 0.5%, stop: lowest(low, 10) - 5 points, target: 3R:
2breakeven at: 1R
3partial 50% at: 2R
4trail by: atr(14) * 1.5, after: 2R
5exit after: 60 bars
  • Filled. The stop sits 1R below the entry.
  • 1R reached. The stop moves to the entry price.
  • 2R reached. Half the position closes.
  • The stop now trails the best price by 1.5 ATR and only ever tightens.
  • Price falls back to the trailed stop. The rest closes.

Mechanics only. A made-up path measured in R, not a result or a forecast.

Size an order by what you are willing to lose

State the risk as a percent of the balance or as money, with the stop and the target. Position size follows from them, rounded down to the lot step. If the broker's minimum lot would carry more than you asked for, the trade is marked “above requested risk”.

buy risk: 1%, stop: 25 pips, target: 2R
sell risk: $200, stop: highest(high, 10) + 2 pips, target: lowest(low, 50)

Rules the engine holds itself to

A backtest is only useful if it can't cheat. Our tests check these rules on every build. They describe how the software works, not how any strategy will do.

What happens inside one bar

  1. A 15-minute bar reaches both the stop and the target. Which came first?
  2. The engine opens the bar and walks the 1-minute bars inside it, in order.
  3. Here the stop was reached first, so the stop fills. The later touch of the target counts for nothing.
  4. When finer data cannot tell, the stop fills. The engine never picks the flattering answer.

No look-ahead

A bar never sees a later bar. Our tests change the future and check that the past did not move.

Same answer every time

The same script, inputs and bars give the same result, to the last digit.

Higher bar sizes stay honest

A 4-hour value shows up only after its candle closes. A 5-minute rule can't peek early.

Indicators always update

Indicators update on every bar, even inside a step that did not run. Readings are never stale.

A spent account stops the test

When the test account has nothing left, the backtest ends at that bar and says so. It never reports trades made with money that was already gone.

Costs are stated, not hidden

Backtest profit is the raw price move. Spread, fees, swaps and slippage are left out, so live results will differ.

built-in functions
137
example scripts
61
automated tests
678
bars a second in a backtest
195k

Backtest results are hypothetical and based on historical data. Past performance does not guarantee future results.

From first draft to a live account

The language is one part. The Terminal around it keeps your work, explains your results and runs the script where you choose.

A report that explains itself

How it went, what it cost and how the trades behaved, then breakdowns by the rule that opened each trade, how it ended, which confirmations agreed, side, tag and month. Drawdown, MAE and MFE, and the spread of results in R are included.

Every run is kept

Each run is saved with the code that produced it. Bring back an earlier build and compare it with what came after, so trying an idea never costs you the last one.

Generate a starting point

Generated strategies are assembled from pieces of the language that are known to compile, then compiled and backtested. One is handed back only once it has actually traded, and the same seed gives the same script. It is a draft to study, not a recommendation.

Share it open or sealed

Save a script as an .abx file. An open file carries its code. A sealed file runs on someone else's account without showing the code, yet still states its name, what it trades, its inputs and its plain-English description.

Live runs wait for the broker

A trade exists only once your broker confirms it, and an instruction is never sent twice. After a restart the runner picks up where it left off, with open trades, their stops and half-finished setups intact.

Demo follows the same rules

Demo deployments fill orders under the same written execution rules as the backtest, so practice behaves the way the test did. Live prices, spread and broker execution still differ from both.

Say it in plain English

Type what you want in the editor. When it reads as a description and not as code, a Convert to AlgoBarsX button appears and writes the script for you to read and change.

Watch the backtest play back

Trades appear as they open and settle as they close, and the balance moves with them. If the account ran out, the replay stops where the test stopped, because nothing after that happened.

One script, any market

The market, the bar size and the trade size belong to the deployment, not the script. A strategy written for EURUSD on the hour can run on gold on five-minute bars by changing two fields. Demo or live is stated plainly.

Replay runs the strategy, not just the candles

Chart replay feeds bars to the same runner a live deployment uses and fills orders under the same rules, so what appears on the chart is what the script would have done.

Edits to a live script are explained first

Before you change a script that is already running, the Terminal tells you what the edit would change once it is live. The explanation comes before the change, never after.

The code behind every card

Strategies, indicators and alerts built with AlgoBarsX show their script from the card, ready to open in the Terminal and edit. Sealed ones say so, and still show their description.

AlgoBars is free. $0 a month.

Every feature is free. Backtests are free and unlimited. You get 250 free strategy build credits every month. Credits only pay for AI: when AI builds a script for you, AI analysis, and auto-trading on outside brokers. Top up only if you want more.

Create your free account
  • No credit cardNothing to enter at sign-up.
  • Not a trialThere is nothing to cancel.
  • No feature paywallsCharts, backtests and the builder are included.
  • Pay only for AI usageWriting, importing and backtesting your own scripts is free.

Straight answers

Do I need to know how to code?

No. AlgoBarsX reads like a trading plan. Every script is also turned back into plain English, so you can check it says what you meant. Or let the AI write it for you.

Will live results match my backtest?

No, and you should not expect them to. Backtests are hypothetical. They use past prices and leave out spread, fees, swaps and slippage. Past performance does not guarantee future results.

Does AlgoBars hold my money?

No. AlgoBars is software, not a broker. It connects to your own account at a supported broker. We never hold, manage or touch your money. We do not give financial, investment or trading advice.

Can I bring my existing scripts?

Yes. Bring Pine Script, MQL4 and MQL5, NinjaScript, EasyLanguage, thinkScript or Python. Each line is marked: copied exactly, changed with a note, or left for you to decide.

Is backtesting free?

Yes. Backtests are free and unlimited on every account. Test any market and bar size we have data for. Profit is the raw price move, with no spread, fees, swaps or slippage added.

What does it cost?

$0 a month, with every feature unlocked. You get 250 free strategy build credits every month. Writing, importing and testing your own scripts is free. Credits only pay for AI use, including auto-trading on outside brokers. No credit card needed. Not a trial.

What does beta mean here?

The checker, backtester and importer are built and covered by 678 automated tests. While AlgoBarsX is in beta, some features may still change.

Can I share a strategy without showing the code?

Yes. Save it as a sealed .abx file. Others can run it but can't read the code. It still shows its name, what it trades, its inputs and a plain-English summary, so no one runs it blind.

What happens if a live strategy restarts?

Nothing is lost. The runner saves your open trades, stops and half-done setups. After a restart it warms up the indicators and picks up where it stopped. A trade only counts once your broker confirms it.

Write your first rule today

Open the Terminal. Paste a script or pick one of 61 examples. Read back exactly what it does.

Create your free account $0 a month · Free unlimited backtests · No credit card Trading involves significant risk of loss and is not suitable for everyone.
Call or Chat Now