How Does It Work?
Every step of sending automatic orders from TradingView to Binance or MEXC — with visuals.
Overview — Automation in 5 Steps
Set Up Your Strategy on TradingView
You use a Pine Script strategy or a ready-made indicator on TradingView. When the strategy generates a buy/sell signal, TradingView captures it as an Alert.
In the TradingView alert "Message" field, paste the JSON format expected by AlgoCripto.
Use AlgoCripto's Alert Creator tool to automatically generate your JSON message.
Prepare the Alert Message
On AlgoCripto's Alert Creator page, select exchange, symbol, direction, leverage and stop/take-profit parameters. The tool generates ready-to-use JSON for you.
https://www.algocripto.com/api/webhook/tradingview/SIZIN-GUID-BURAYA
{
"borsa": "Binance",
"piyasa": "Futures",
"sembol": "{{"{{"}}ticker{{"}}"}}",
"yon": "{{"{{"}}strategy.order.action{{"}}"}}",
"oran": 10,
"kaldirac": 10
}
The GUID at the end of the Webhook URL is your unique identifier. Copy it from your Profile page. No extra user field is needed inside the JSON.
Add Webhook URL to TradingView
When creating a TradingView alert, paste AlgoCripto's webhook address into the "Webhook URL" field.
https://www.algocripto.com/api/webhook/tradingview/SIZIN-GUID-BURAYA
Note: TradingView's webhook feature requires a Pro or higher subscription.
Each time the alert fires, TradingView sends the JSON message to this URL as an HTTP POST.
AlgoCripto Processes the Webhook
When the webhook request is received, AlgoCripto performs these steps:
- API key is verified — user is identified
- Binance or MEXC is selected based on the "borsa" parameter
- Symbol, direction and leverage parameters are parsed
- Collateral amount is calculated based on the percentage
- Stop-loss and take-profit levels are calculated
- Market order is sent to the exchange
- Transaction result is saved to Webhook Log
The server runs 24/7. Your alerts work even while you sleep.
Order Opens on the Exchange
AlgoCripto connects to the Binance or MEXC API and opens a position with the specified parameters. No manual action is needed on your account.
Stop-Loss & Take-Profit orders are also sent simultaneously and automatically.
Track Your Transaction Log
All webhook requests and order results are recorded in the system. You can review every transaction from the Journal page.
- Successful order openings
- Failed requests and reasons
- Incoming JSON parameters
- Exchange response codes
Ready to Get Started?
Set up in minutes and automate your strategy.