Alerts & Webhooks

Automatically Build JSON Messages with the WebhookMessage TradingView Library

The WebhookMessage Pine Script library built your TradersPost JSON alert message for you. It is deprecated and no longer supported, so build the JSON message directly instead. This walkthrough is kept for reference.

Mike Christensen

Co-Founder / CSO

1 Min Read
BluSky — The Future of Trading. Prop firm futures trading. Sign up at BluSky.pro.
Update history
  1. Major update

    Because the WebhookMessage library is deprecated and no longer supported, the guidance now points to building the alert message as JSON directly rather than to the library.

Update: this library is deprecated

The WebhookMessage library is deprecated and no longer supported, so the approach below is kept for reference only1. Build your alert message as JSON directly instead.

References

1 WebhookMessage Library | Documentation - TradersPost

  • Alerts & Webhooks Nov 20, 2026

    Trade Multiple Currency Pairs With One Strategy

    Learn how to run one forex strategy across several currency pairs: one TradingView alert per chart, pair limits, per-pair sizing, and correlation risk.

  • Video
    Alerts & Webhooks Nov 20, 2026

    Automate Forex Trades From TradingView to OANDA

    Send TradingView forex alerts to OANDA through a webhook: alert JSON, unit sizing, fill-or-kill orders, bracket exits, market hours, and safe testing steps.

  • Alerts & Webhooks Sep 18, 2026

    TradingView Broker Integration Explained

    How TradingView's Broker Integration API connects brokers to the platform, what data and trading endpoints require, and how webhook automation fits in.

  • Alerts & Webhooks Sep 16, 2026

    TradingView Webhook Alerts Documentation Explained

    What TradingView's official webhook documentation actually specifies: account requirements, payload rules, delivery limits, and where the docs stop.

Ready to put what you read into practice?

Free 7-day trial

Set-up in 3 minutes

Paper account for testing

By continuing, you agree to the TradersPost Terms of Service and Privacy Policy. This site is protected by reCAPTCHA.