Bridge signals

Bridge Tool forwards external alerts (MT4, AmiBroker, and other external platforms) to your connected Indian broker through Algocrab. This is separate from the chart code editor — you configure a bridge strategy card and POST JSON to the webhook URL.

Webhook URL

Copy the URL from Bridge Tool → Webhook Url in the app. Production endpoint:

https://algocrab.com/api/webhooks/bridge

Signal types

signalTypeMeaning
entryOpen a new position (buy or sell per side field)
exitClose the current open position
targetClose position — profit target hit (same as exit for options)
stoplossClose position — stop loss hit
reverseClose existing position and open opposite side
strike-entryOptions bridge — open CE/PE position
strike-exitOptions bridge — close open option position

Minimum payload

{
  "bridgeId": "<from strategy card credentials>",
  "instrumentKey": "<from strategy card credentials>",
  "side": "buy",
  "signalType": "entry",
  "price": 0,
  "qty": 1
}
  1. Create and save a bridge strategy on Bridge Tool.
  2. Click Show Credentials → copy Bridge ID and Instrument Key.
  3. Click the { } button next to the webhook URL to open the payload template.
  4. Set signalType and side per your indicator logic.
  5. Paste the JSON into your MT4 or external alert POST body.

Options bridge

For options buying strategies, external indicators typically send:

  • strike-entry — open CE (buy signal) or PE (sell signal)
  • strike-exit — close when exit, target, or stoploss fires
  • reverse — close and flip direction

Platform SL vs bridge signals

Bridge strategies can also have platform stop loss and target configured on the strategy card (same Step 3 fields). Alternatively, your external indicator can send stoploss / target / exit signal types when its own logic fires.

Bridge requires internet — the webhook POST must reach Algocrab servers. Broker must be Connected and the bridge strategy Running.

Related docs