# Your rulebook, written as code.

> A prop firm lives by its rules: daily loss, max drawdown, position limits. In AlgoBarsX those rules are lines at the top of every script, and the platform can carry your name.

Source: https://algobarsx.com/for/prop-firms/

## What gets in your way.

- **Rules that are easy to break** A loss limit in a PDF does not stop a trade.
- **Traders who cannot test** Good hands-on traders often cannot code their own idea to check it.
- **Building a platform is costly** Most firms cannot fund their own tools.

## How AlgoBarsX helps.

- **Limits that act** When `max_daily_loss` is hit, trades close and entries stop until the next day. `max_drawdown` pauses the strategy until a person restarts it. [Read more](https://algobarsx.com/docs/guards/)
- **Traders test their own ideas** Plain-word code, read back in English, tested on past prices and replayed trade by trade. [Read more](https://algobarsx.com/strategies/)
- **Honest testing** Fills follow written rules. When unsure, the stop wins. A spent account ends the test. [Read more](https://algobarsx.com/docs/#execution-rules)
- **Account-aware alerts** Alerts can watch equity, margin level and today's result, not only the chart. [Read more](https://algobarsx.com/alerts/)
- **Your brand** AlgoBars offers a white-label platform for prop firms and brokers. [See white label](https://algobars.com/brokers)
- **Shared playbooks** Give traders sealed house strategies and versioned libraries. [Read more](https://algobarsx.com/docs/abx-files/)

## Limits live in the code, where everyone sees them.

Caps sit at the top of the script. When the daily loss limit is hit, open trades close, waiting orders are cancelled, and new entries stop until the next day. A drawdown limit pauses the strategy until a person restarts it.

```algobarsx
strategy "Language Tour"
    markets: EURUSD, GBPUSD
    bars: 15m
    evaluate: bar_close
    max_open: 3
    max_open_per_side: 2
    direction: both
    opposite: reverse
    pyramiding: 3
    min_distance: 20 pips
    max_daily_loss: 3%
    max_drawdown: 10%
    trade_only: within sessions london, new_york
```


> **What to check with us first.** AlgoBarsX is in beta, so syntax and features may still change. There is no public API yet. Ask us about anything your firm needs in writing, such as where data is kept, audit logs, single sign-on, uptime and support hours. We will tell you plainly what exists today, what is planned, and what we do not do. Your licences, approvals and client rules stay your job.

## Good questions.

**Do the limits replace our risk system?** No. They are a strong first line inside each strategy. Keep your own account-level controls too.

**Does AlgoBars hold client money?** No. AlgoBars is software, not a broker. It links to accounts at supported brokers. It never holds money and it does not give advice.

**Will live results match a backtest?** No. Tests use past prices and leave out spread, fees, swaps and slippage. Past results do not tell you what will happen next.

**What does beta mean for us?** The language works and passes 678 tests on every build. It is still being improved, so some syntax and features may change. Plan for that.

## Important

Trading is risky and you can lose money. AlgoBars is software, not a broker or an adviser. Backtests are hypothetical and leave out spread, fees, swaps and slippage. AlgoBarsX is in beta.
