Related video (legacy interface): TradingView to MetaTrader with PineConnector. Use the updated written V2 instructions on this page for current alerts.
Before you begin: Start with the Smart Trader onboarding checklist and the V2 automation overview. Never use a live account until you have confirmed symbol, order quantity, all intended entry/exit types and risk settings with a demo or minimum-size test.
6. PineConnector Verified Adapter
Use this route when you want the V2 script to generate PineConnector commands directly. The script builds messages in PineConnector’s documented structure:
| LicenseID,Command,Symbol,Parameters |
|---|
The V2 adapter can generate buy/sell entries, close commands, partial-volume closes and combined close/open reversal commands. TradingView’s alert Message must remain {{strategy.order.alert_message}}.
Setup
-
Install/configure PineConnector and connect it to the intended MetaTrader account on demo first.
-
Confirm the exact broker symbol including suffix/case.
-
In the V2 strategy, select PineConnector Verified Adapter.
-
Enter your PineConnector License ID in PineConnector License / Custom Routing ID.
-
Set Adapter / Custom Symbol Override if the broker symbol differs from TradingView.
-
Set the quantity multiplier so TradeSmart quantity becomes the intended MetaTrader lot quantity.
-
Optionally add supported PineConnector parameters in PineConnector / Custom Extra Parameters.
-
Create the TradingView alert using Order fills only and
{{strategy.order.alert_message}}. -
Use PineConnector’s webhook URL as documented in its portal/docs.
-
Test with the minimum broker lot size.
| Most dangerous PineConnector setting Quantity units. The V2 adapter sends entry size as vol_lots. If TradingView quantity is not already equal to the MetaTrader lots you want, the multiplier must convert it correctly. A value that looks small in TradingView can be enormous in lots. |
|---|
Reversal behavior
In one-step reversal mode, the adapter can use PineConnector combined close-and-open commands. These are convenient but still depend on the EA, broker and account accepting both parts. For a first deployment, close-first Safe Mode is easier to verify and recover from.
Partial exits
For partial exit events, the V2 adapter uses PineConnector’s partial-volume close behavior. Verify the exact volume removed and broker lot rounding on demo. Minimum lot size and lot step can change the actual executable close size.
Based on the TradeSmart V2 Premium Universal Automation Guide, September 2026 edition. Provider interfaces can change; compare provider instructions before real-money deployment. This guide describes V2 framework strategies, not every legacy V1 integration.
Practical connection checklist
- Install the PineConnector MetaTrader EA on the intended demo MT4/MT5 terminal and confirm it is connected to the right broker account.
- Obtain your actual PineConnector License ID and confirm the broker’s symbol naming (for example, suffixes on EURUSD or NAS100).
- In TradeSmart V2 set Use Automation ON, PineConnector Verified Adapter, Automation Safe Mode ON, and provide the License ID.
- Use Adapter / Custom Symbol Override only when TradingView’s symbol differs from the destination. Verify Adapter / Custom Quantity Multiplier explicitly: the adapter uses lot-based volume semantics and the wrong multiplier can create excessive exposure.
- In TradingView create a strategy alert with Order fills only and Message exactly
{{strategy.order.alert_message}}; paste the webhook URL from PineConnector’s official setup, not a guessed endpoint. - Test a small demo long entry and full close; then short, partial reduction and reversal if your strategy supports them. Confirm actual lots, broker suffix and order log.
- Recreate the alert following any script-input/quantity-symbol change and keep a clear emergency-stop plan (pause alert, disable EA and check positions).
Official PineConnector guides: TradingView alert configuration · License, alert syntax and webhook reference · TradingView integration with Pine Script.
Download the complete TradeSmart V2 Automation Guide
Download the complete September 2026 universal guide (DOCX). This is the complete source handbook covering all providers and safety checks.
These illustrations apply to the linked V1 tools; they are not instructions for Premium V2 automation.