Bell to Bell Strategies
See plans

Alerts on your phone: ntfy, a Discord webhook, email

Set up the ways Bell to Bell StratBoard and your strategies can reach you: a phone push with ntfy, a Discord webhook, email or text, and NinjaTrader's Alerts window.

Start hereLesson 7 of 13Four-minute readUpdated

Your strategies trade without you clicking anything, so it helps to hear from them. There are two separate sources of alerts, and you can use both.

  • Bell to Bell StratBoard tells you when something needs a look (a problem appears, a problem clears) and sends a short summary after the US close. It can also send each entry and exit, but that is off by default.
  • Each strategy can raise a NinjaTrader alert for every order it gives and every fill, and send the same alerts to a webhook.

This lesson sets up both. It assumes the board is installed (Installing Bell to Bell StratBoard). The board's Status, Setup check, Alerts, Accounts and Log are covered in The Alerts tab: notifications.

Set up the board's alerts

  1. In NinjaTrader's Control Center choose New, then Bell to Bell StratBoard.
  2. Click the Alerts tab. Its first line says: set up one or more ways to hear from the board, press its Send test, then Save.
  3. Set up one or more of the ways below. Each has its own Send test button. Press it before you go on.
  4. Under What to send, tick what you want (see below), then press Save.

When you save, the line next to the button says when it was saved and where alerts go, for example "Alerts go to: phone (ntfy), webhook". If it doesn't list a way you set up, that way isn't saved yet.

Phone push (ntfy)

  1. Install the free ntfy app on your phone.
  2. In the app, subscribe to a long, random topic of your own. Anyone who knows the topic can read your alerts, so treat it like a password.
  3. In the board, type the same topic in the Topic field and press Send test.

The Server field already holds ntfy's public server address. Leave it as it is. The board says "ntfy test sent - its result is on the Log page". Open the Log tab to see how the test went, and check your phone.

Discord or any webhook

In Discord, open Server settings > Integrations > Webhooks > New webhook, choose Copy webhook URL, and paste the address in the board's Webhook URL field. Slack and most other webhooks work too. The address must start with https://. Press Send test.

A webhook address works like a password: whoever has it can post to your Discord server. Don't share it.

Email or text

The board sends email and text through NinjaTrader's own share services, so you set one up in NinjaTrader first.

  1. In NinjaTrader choose Tools > Options > General > Share services and set up an Email or Text Message service.
  2. Back in the board, press Refresh list, then pick the service in the Share service field.
  3. Press Send test.

NinjaTrader's Alerts window

Tick A line in NinjaTrader's Alerts window, and with a sound if you want one. Press Send test. This needs no outside service, so it is the quickest way to see that the board itself works.

What to send

  • Problems are sent once when the board finds one and once when it clears.
  • Trades sends each entry and exit. It is off by default.
  • A summary after the close is one short message per day. The checkbox in the board shows the exact time.

Alerts from the strategies themselves

Each strategy has its own alert settings, in the group 2. Alerts and log in the strategy's settings (2. Alerts, chart and log on Breakout).

  • Alerts raises a NinjaTrader alert (the Alerts log and a sound), in real time, for every order the strategy gives and every fill.
  • Also alert on fills adds an alert when an order fills, with the trade's result.
  • Webhook URL also sends every alert to that address. It can be a Discord webhook, a Telegram bot's sendMessage address (with the Custom message format) or a trade bridge's. Empty means off.
  • Webhook message chooses the format: Text reads as a note (a Discord webhook gets it as a message), JSON carries every field, and Custom fills in your own template.

The strategy's description of Also alert on fills says to turn it off when the webhook goes to a bridge that places orders.

Alerts and the webhook are for your own use. The Terms don't allow passing them on to other people.

Check that it works

  1. Press Send test next to each way you set up, and confirm each message arrives where you expect it.
  2. Open the Log tab and look at the result line for each test. A line starting "not sent" tells you what is missing, for example no topic, no webhook address, or no share service picked.
  3. If a test never arrives, go to Troubleshooting by symptom, "An alert doesn't arrive".

The setup page has the same three steps in short form: Setup.

Back to Learn

Support