FAQ — TradingView
Leverage, SL/TP, email alerts, and message format with TradeAdapter.
On this page #
How to configure leverage and use 100% of account balance #
- Leverage is configured on the broker side. Once enabled, it increases your buying power and you can send larger orders from TradingView.
- To use 100% of your balance, set it in your strategy settings (Strategy Properties), e.g. with
default_qty_type = strategy.percent_of_equityanddefault_qty_value = 100in Pine Script, or the equivalent in the TradingView interface.
How to set Stop-Loss and Take-Profit Levels using TradeAdapter #
All risk management (SL/TP) must be in your Pine Script strategy on TradingView. Use the profit, limit, loss, and stop parameters in the strategy.exit() function.
Example:
//@version=5
strategy(title = "simple strategy exit example")
if open > high[1]
strategy.entry("long", strategy.long, 1)
strategy.exit("exit", "long", profit = 10, loss = 5)
Documentation for strategy.exit(): TradingView Pine Script Reference.
TradingView Email Alert Setup #
The Email Alert is the alternative to Webhook when you don’t have a PRO/PRO+ TradingView plan, and it allows automation with TradeAdapter.
- Get your TradeAdapter email address: In your TradeAdapter Profile you’ll find the address for email alerts.
- In TradingView: Profile Settings → SMS / Email section → Add Email.
- Paste the TradeAdapter email address and click Get Code.
- Go back to your TradeAdapter profile, refresh the page, and copy the code that appears below the email address.
- Paste that code into the TradingView verification window and submit. You should see a successful verification message.
If your TradingView interface is not in English, the email verification code may fail; try switching to English temporarily to verify, then switch back.
How to connect TradingView with Broker using TradeAdapter “Email Alert” #
- Get your TradeAdapter “Email Alert” address from your Profile. You can only receive TradingView alerts at this address.
- Add that address in TradingView: In your TradingView profile, “Add email”, paste the TradeAdapter address, “Get code”. Check your TradeAdapter profile for the code that appears, copy it, and paste it in TradingView → Submit. You should see a successful verification message.
- In your alerts, under Notifications, use that email address as the destination. Important: use only one notification option (Webhook or Email), not both, or you will send the same signal twice.
TradingView Alert Message Format issue #
This error appears when the alert message in TradingView does not match the template required by your broker in TradeAdapter. The exact template is on your broker’s instructions page (e.g. Binance).
You can check what your strategy sends in TradingView under Alerts → Alert Log. Use your broker’s Message Generator (e.g. Binance Message Generator) to build the correct JSON.
The alert Message field must be valid JSON with the fields your broker requires (api key, secret, exchange, ticker, time, order_contracts, order_action, order_price, etc.). If the issue continues, contact support (Telegram or email from tradeadapter.com/support).