Build · Alerts

Alerts that know when to stay quiet.

An alert watches for something and sends you a message. In AlgoBarsX the alert also carries its own rules: how often to check, whether it may repeat, how long to wait, and when to stop.

  • $0 a month
  • No card needed
  • Not a trial

An alert that watches your account.

This one checks every minute. It tells you when today's loss passes 2% of the account, or when your margin level gets low. Then it waits 4 hours before it may speak again.

  • check says how often to look
  • repeat and cooldown stop it from nagging you
  • The message can include live numbers
daily-risk-guard.abx
1alert "Daily risk guard"
2check: every 1m
3repeat: every time
4cooldown: 4h
5
6when history.today.pnl < -(2% of account.balance) or account.margin_level < 150%:
7notify "Daily P&L {history.today.pnl:$0.00}, margin level {account.margin_level:0}%"
What the compiler says this does

Daily risk guard is an alert that checks every 1 minute, can fire every time its condition is met and waits 4 hours between alerts.

When today's closed profit or loss is below minus 2% of the account balance or the margin level is below 150%, it sends the notification "Daily P&L {history.today.pnl:$0.00}, margin level {account.margin_level:0}%".

Watch anything you can describe.

Price and indicators

A cross, a breakout, a divergence, a squeeze. If you can write the condition, you can be told about it.

See the example

Your own account

Balance, equity, margin level, open trades and today's result are all values an alert can read.

See the example

Inside the bar

Check every minute, not just at the close, for fast moves and spikes.

See the example

Sessions and gaps

Know when a session opens with a gap, or when a market wakes up.

See the example
Where messages go. In this version, alert messages arrive inside the AlgoBars app and in AI chat.

Good questions.

Why did my alert only fire once?

Its own settings decide. The default is once per bar. cooldown sets the shortest gap between messages and expires turns the alert off.

Do I need to know how to code?

No. The code reads like plain words, it reads itself back in English, and you can type your idea in plain English and press Convert to AlgoBarsX.

Is an alert a trade signal?

No. An alert tells you that something you described has happened. It is not advice, and what you do next is up to you.

Write your first alert today.

Pick an example. Change the numbers. Switch it on.

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.