Step-by-Step

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

  1. Create your PineTrader account at pinetrader.io
  2. Verify your email
  3. Subscribe to desired plan
  4. Note down your License ID

Download Components

  1. Get MT5 Connector from your dashboard
  2. Save the Expert Advisor file (.ex5)
  3. Download the TradingView library

MetaTrader 5 Configuration

⚠️

These settings are crucial for the connector to work properly!

  1. Open Tools -> Options -> Expert Advisors
  2. Enable the following:
    • “Allow algorithmic trading”
    • “Allow DLL imports”
    • “Allow WebRequest”
  3. Add pinetrader.io to WebRequest allowed URLs
  4. Click OK to save changes

Expert Advisor Installation

The Expert Advisor only needs to be added to one chart.

  1. Open any chart in MT5
  2. Verify the algorithmic trading button shows a green play icon
  3. Drag and drop the Expert Advisor onto the chart
  4. 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

  1. Add PineTrader library to your indicators
  2. Configure webhook alerts in TradingView
  3. 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:

  1. Configure your trading parameters
  2. Set up your first strategy
  3. Learn about risk management

Need help? Join our Discord community or contact support.