TradingView automation: custom webhook bot development
Fincode builds a bridge that takes alerts from your own TradingView account and sends orders to your own exchange account, under limits you set. It checks each webhook, drops duplicates, applies risk limits, logs every step and runs on your own server by default.
How it works
- 1
TradingView alert
A condition you defined in your own strategy or indicator is met.
- 2
Webhook message
The alert is sent as a message in JSON format.
- 3
Bridge software
The message is checked and passed through your risk limits.
- 4
Exchange API
The order goes to your own account; the result is logged and reported.
What you receive
- Bridge software, running on your own server or cloud account by default
- TradingView alert message templates
- Risk rules set to your limits, plus an emergency stop
- An audit log with Telegram or email notifications
- A testnet and failure-case report
- Technical documentation
Security principles
- Every alert message is checked
- We do not ask for withdrawal rights
- Risk limits are checked before each order
- Orders and system events are logged
Built around TradingView's documented limits
TradingView's help pages, read in November 2026, set these limits. See the full design in the example scenario.
Cancels a webhook if the server takes over three seconds
A thin receiver queues the request and replies at once.
Resends after most 5xx responses, up to three times
Each alert ID is processed once.
Delivers only to ports 80 and 443
HTTPS on port 443 only.
Sends from published IP addresses
IP allowlist, shared secret and optional client certificate.
TradingView strategy and alert automation
TradingView sends the alert. The bridge decides whether it becomes an order. Two kinds of alert are common.
Strategy alerts
A Pine Script strategy you wrote fires an alert on each order event, and the bridge turns the message into an order. See a TradingView webhook receiver in Python.
Indicator alerts
A condition on an indicator fires the alert, and your written rules set the quantity and limits. See how a TradingView webhook bot works.
What the bridge covers
Alerts must come from your own TradingView account. Paid signal feeds are not connected.
Webhook receiver
Server software designed to run around the clock that receives alert messages from TradingView.
Message checks
Every message is checked with a secret key and a source check; unrecognized requests are rejected.
Message templates
Alert messages follow one standard format, with fields such as symbol, side, quantity and order type. If needed, we also change how your Pine Script sends the alert; the conditions stay yours. See hiring a Pine Script developer.
Risk checks
Rules such as maximum position size, daily number of trades and loss limit are checked before an order is sent; duplicate alerts are filtered out.
Several of your own accounts
One alert can run on several of your own accounts, with position sizes you set. It cannot be used for other people's accounts.
Logging and notifications
Every alert, order and result is logged and reported in real time via Telegram or mobile notifications.
When a subscription tool is enough
If a subscription tool supports your exchange and you do not need custom checks, it is cheaper. A custom bridge fits when your platform is not supported, when you need your own risk rules, or when you want the code, keys and server under your own control.
Our guide to crypto trading bot pricing compares what subscription tools charge and include.
Before you start
TradingView's webhook feature is available on paid subscription plans. Current plan features should be checked on TradingView's website. TradingView's Help Center also says its alerts are not designed for automated trading (opens in a new tab), so the bridge has to handle late, repeated or missing alerts itself.
TradingView's Terms of Use (opens in a new tab), read on 5 November 2026, describe alerts and webhooks as licensed for display use and prohibit using them for automated trading, including through third-party products or services. Read those terms and take legal advice before relying on this route; it is your agreement with TradingView. If you would rather not depend on TradingView, trading software built from your written rules can work directly from exchange data.
A delay of a few seconds can occur between an alert and an order. For very short-term rules, trading software that works directly through the exchange API may be a better fit.
What we do not do
Fincode is a software company and does not provide investment advice, portfolio management or crypto asset services. Ready-made strategies, signals or trade recommendations, copy trading, management of customer accounts and profit sharing are not offered.
Questions about TradingView bridges
Does it work when my computer is off?
Yes. TradingView alerts run on TradingView's servers, and the bridge software runs on a separate server. Your computer does not need to be on.
Can it be used with existing indicators?
Alerts you set up in your own TradingView account, on a strategy or indicator, can be used with webhooks; the alert message only needs to follow the agreed template. Paid third-party signal feeds are not connected.
What if the same alert arrives twice?
The bridge is designed not to open a second order. Because TradingView can resend a notification up to three times after a 5xx response, the bridge stores each alert ID and never processes the same ID twice.
Can I put my exchange API key in the webhook message?
No. TradingView asks users not to send credentials in webhooks. The message carries only a separate secret known to the bridge; the exchange key stays on the server and has no withdrawal permission.
Can the same alert place orders on several accounts?
One alert can run on several of your own accounts, with position sizes you set. It cannot be used for other people's accounts.
How are timelines and costs determined?
They depend on the number of exchanges to be connected, the scope of the risk rules and the notification requirements. You get a written proposal before work starts. Fees depend on scope and effort, not on trading volume or results.
More from Fincode
Example scenarios
Example scenarios that show how this service is designed in typical projects. All examples
Related guides
Guides that explain the topics behind this service. TradingView webhook guides
Send a short project brief
The form or an email is enough. You do not need to share your rules yet.
- The exchange or platform you use
- What the software should do
- Your target timeline
- Project briefs and business inquiriesinfo@fincodelabs.com
- WhatsApp (messages only)+90 545 697 41 15 (opens in a new tab)