Complete Setup Guide
This guide will walk you through the entire process of setting up PineTrader for automated trading with TradingView and MetaTrader 5.
Expected setup time: 5-10 minutes
Prerequisites
- MetaTrader 5 installed
- Active broker account
- PineTrader subscription
- TradingView account
Installation Process
Account Setup
- Create your PineTrader account at pinetrader.io
- Verify your email
- Subscribe to desired plan
- Note down your License ID
Download Components
- Get MT5 Connector from your dashboard
- Save the Expert Advisor file (.ex5)
- Download the TradingView library
MetaTrader 5 Configuration
⚠️
These settings are crucial for the connector to work properly!
- Open Tools -> Options -> Expert Advisors
- Enable the following:
- “Allow algorithmic trading”
- “Allow DLL imports”
- “Allow WebRequest”
- Add
pinetrader.io
to WebRequest allowed URLs - Click OK to save changes
Expert Advisor Installation
The Expert Advisor only needs to be added to one chart.
- Open any chart in MT5
- Verify the algorithmic trading button shows a green play icon
- Drag and drop the Expert Advisor onto the chart
- Configure EA settings:
- In Common Tabs.Tab: Check “Allow algorithmic trading”
- In Inputs Tabs.Tab: Enter your License ID and preferred settings
- Optional: Save your settings template
Verification
Look for these indicators of successful installation:
- Blue hat icon on chart (
MT5-connector_vX.X
) - Connection status in Toolbox -> Experts Tab
- “Waiting for trades” status message
- Order notifications in Experts Tabs.Tab
TradingView Integration
- Add PineTrader library to your indicators
- Configure webhook alerts in TradingView
- Test connection with a demo trade
Troubleshooting
🚫
Common issues and solutions:
- No connection: Check WebRequest settings
- Not connection: Make sure you add the Connector to only one Terminal only once.
- Orders not executing: Verify License ID
- EA not showing: Restart MT5
- Alert errors: Check webhook format
Best Practices
💡
- Start with a demo account
- Test all settings before live trading
- Monitor the Experts Tabs.Tab for status updates
- Keep MT5 running to receive trades
- Regularly check for connector updates
Next Steps
After successful setup:
Need help? Join our Discord community or contact support.