Guide
TradingView Bot
Turn TradingView alerts into automated orders on dYdX perpetual markets.
The TradingView Bot allows you to connect your TradingView strategies or alerts directly to your dYdX account. When an alert is triggered on TradingView, Coinner receives it via webhook and automatically places the corresponding order on dYdX using the rules you define.
Trading flow
How TradingView automation works
- You create alerts on TradingView using indicators, strategies, or custom scripts.
- TradingView sends alert data to Coinner via a secure webhook URL.
- Coinner validates the alert, applies your sizing and risk rules, and places the trade on dYdX.
- Orders are executed automatically without manual intervention.
This allows you to run TradingView-based strategies 24/7 in the cloud, even when you are offline.
Available settings explained
Market
Select the dYdX perpetual market where orders will be executed.
Alert Webhook URL
A unique webhook endpoint generated by Coinner and used inside TradingView alerts. Copy the URL and message shown after creating the bot into your alert, and keep the token private to prevent unauthorized orders.
Order Size
Size of each TradingView-triggered order.
Maximum Position Size
Caps total exposure the bot is allowed to build, even if alerts continue firing.
Take Profit (%)
Automatically closes the entire position when the average entry price reaches the defined profit target.
Stop Loss (%)
Automatically closes the entire position if price moves against the average entry beyond the defined threshold.
Continue After TP / SL
Controls the bot behavior after a position is closed.
- Disabled → bot stops listening to alerts.
- Enabled → bot continues listening and executing new alerts.
Alert payload requirements
TradingView alerts must include the required order direction information in the webhook message. Coinner validates incoming alerts before execution to prevent malformed or unauthorized orders.
Example payload formats will be provided in the setup section.
Step-by-step creation flow
- Create a TradingView strategy or alert condition.
- Copy the Coinner webhook URL and message provided after creating the bot into your TradingView alert configuration.
- Define order size, position limits, and optional TP/SL settings.
- Activate the bot and enable the TradingView alert.
- Monitor executions and position changes from the Coinner dashboard.
Important behavior notes
- The bot executes trades only when alerts are received.
- If Take Profit or Stop Loss is enabled, the bot closes the entire position using the exchange’s average entry price.
- If TP/SL is disabled, positions are opened and closed only based on incoming alerts.
- Mixing manual trades with TradingView bots on the same market may lead to unexpected position changes.
Risk notes
- TradingView alerts may trigger late due to chart resolution or network delays.
- High-frequency alerts can result in rapid order execution and increased risk.
- Strategy logic errors on TradingView will be mirrored directly into real trades.
- Always backtest your alerts or test with small size before scaling.
