Pip, AI trade agentSoonSuggests or enters, inside your rulesEvery bot with a TradingView source has a webhook address. Anything that can send a web request with a little JSON can use it: a script, a screener, a scheduled job.
The address +https://api.traderframe.io/v1/alerts/trading-view/6721e4?secret=••••••••Copycurl -X POST "https://api.traderframe.io/v1/alerts/trading-view/6721e4?secret=••••" \ -H "Content-Type: application/json" \ -d '{"symbol": "XAUUSD", "side": "buy"}' From a terminal or a shell script.
The bot id and secret are shortened and hidden here.
The body says which market and which way. Size, stop and target come from your bot’s own settings, so a request can never trade bigger than you set. Try a few.
The body +{ "symbol": "XAUUSD", "side": "buy" }symbolThe bot’s marketneededsidebuy or sellneededentryThe price for a Limit orderLimit onlyanything elseSize, stop and target are the bot’signoredHow the bot reads each example on a Gold bot that trades XAUUSD.
Requests to this address land in the bot’s Signals tab under TradingView, since it is the TradingView source’s address. Each shows placed, or held back by your own rules. Pick a row to see why.
Signals tab +Inside your trading hours, under today’s trade count, under the daily loss limit. The bot placed it with its own size, stop and target.
A few of one day’s signals on an example Gold bot. Every rule here is one you set on the bot.
Three things to get right in your code.
Before you start +Send the body as JSON with the symbol and the side.
A wrong secret is refused. Keep the full address out of shared code.
To signal two bots, send one request to each address.
Not today. Add TradingView as the bot’s source and use its address. It takes a request from any app, and the Signals tab lists it under TradingView.
No. TradingView’s paid plan is only needed to send alerts from TradingView itself.
No. Size, stop and target always come from the bot. Extra fields are ignored.
There is no close request. Send the opposite side to a bot set to follow the signal, or let the bot’s stop and target close it.
Nothing is placed, and it isn’t saved for later.
No. Webhook signals are on every plan, Free included.
A request from your own script goes to a bot on your broker account, checked against your hours and limits every time.