Create Your Alerts

1

Create the alert on your chart

On your chart, click the "Alert" icon in the top toolbar (it looks like a clock).

2

Configure the "Create Alert" menu

In the "Create Alert" menu, configure the following:

  • Condition: Select your script's name (e.g., "My DCA Bot").

  • On the MESSAGE tab - Alert Name: Give it a clear name (e.g., "BTC Bot Orders").

3

Message (the most critical part)

This is the most critical part. The message is the "code" that tells your service what to do (e.g., buy or sell) and how much.

  • Delete everything in the default message box.

  • Paste the Webhook Message for Trade Start Signal JSON you received from the 3Commas Configuration page. It should look similar to the following:

4
alert message.json
{  "secret": "******************************************************************************************************",  "max_lag": "300",  "timestamp": "{{timenow}}",  "trigger_price": "{{close}}",  "tv_exchange": "{{exchange}}",  "tv_instrument": "{{ticker}}",  "action": "{{strategy.order.action}}",  "bot_uuid": "*******************************",  "strategy_info": {    "market_position": "{{strategy.market_position}}",    "market_position_size": "{{strategy.market_position_size}}",    "prev_market_position": "{{strategy.prev_market_position}}",    "prev_market_position_size": "{{strategy.prev_market_position_size}}"  },  "order": {    "amount": "{{strategy.order.contracts}}",    "currency_type": "base"  }}
5

Webhook URL (The "Automation" Part)

On the NOTIFICATIONS tab - This is the link provided by your automation service (Topstep, 3Commas, etc.). Paste your webhook URL into the "Webhook URL" box.

6

Create the alert

Click "Create".

7

Last updated