Getting Started

EA Installation

Syntax Guide

Analytics

Test Alert

Test Alert

Send a Manual or Test Alert

icon
Webhook Address If you are looking to send alerts to the PineConnector portal and EA, please use the following webhook address: https://webhook.pineconnector.com

This example will guide you through the process of sending a test alert from TradingView to purchase 1 lot of EURUSD on your MetaTrader terminal.

1. Find the Symbol

To find the "EURUSD" symbol, open your Symbol List by pressing CTRL+U. The symbol to be used is located on the left side (as shown in the red box in the example below).

image
💡
Broker-Specific Symbol Names Please note that your broker may have different symbol names configured in MetaTrader. The symbol name might be EURUSD.i or EURUSD.mini for example. It's important to use the exact symbol name as listed by your broker, taking into account case sensitivity. Using the wrong symbol is a common reason for trades not executing.

2. Create a TradingView Alert

Create a new alert on any chart (e.g., Coinbase’s BTCUSD M1; the data source for the chosen symbol, doesn't matter, as the objective is simply to have an alert trigger for testing purposes):

  • Access the Alerts panel by clicking the alarm clock icon located in the right-hand toolbar.
  • Click the ‘+’ (Create alert) button to open the new alert dialog box.
image
💡
Keyboard Shortcut

Alternatively, you can quickly create an alert in TradingView by pressing Alt+A (Windows) or Option+A (Mac). Try it!

3. Configure the Alert

In the alert pop-up window, you'll need to configure several settings across different tabs. Follow these steps:

3.1. Settings Tab

In the Settings Tab, configure the alert as follows:

image

Condition:

  • Set the first dropdown to Price.
  • Set the second dropdown to Greater Than.
  • Enter 0 in the value field. (This ensures the alert triggers continuously for testing purposes, as the price will always be greater than 0).

3.2. Message Tab

image
  1. Alert Name (Optional):
    • You can leave the alert name blank or provide a custom name.
    • Example: PineConnector Test Alert
  2. Message Body:
    • The alert message must follow the PineConnector syntax:
    • LicenseID,command,symbol,risk=X
    • Example:
    • 6161199464661,buy,EURUSD,risk=1
      💡
      Understanding the Example Message:
      • 6161199464661: This is your License ID.
        • To find your License ID: Visit the "Licenses" tab on your PineConnector Portal. Copy the License ID for the account(s) you wish to send alerts to. If a License ID is linked to two connected accounts, both accounts will receive the same alert, which should result in the same trading outcome for both accounts (e.g., opening a new position for a specific symbol).
        • image
      • buy: This is the command (e.g., buy, sell, closelong, selllimit).
      • EURUSD: This is the symbol.
        • Important: You must use the symbol format specific to your broker, as detailed in Step 1 of the overall setup guide. You can try other symbols like GBPJPY, US100, or NAS100, ensuring they match your broker's format.
      • risk=1: This sets the volume of the position.

3.3. Notifications Tab

image
  • Webhook URL:
    • Check the box for Webhook URL.
    • In the text field, enter:
    • https://webhook.pineconnector.com
  • Other Notifications (Optional):
    • You can also activate other notification options (e.g., "Notify in app," "Send email") if desired.

3.4. Expected Behavior

Based on the example configuration, you can expect:

  • Instant Trigger: The alert should trigger immediately because the condition (Price > 0) will always be true.
  • Delivery: The alert, containing the message 6161199464661,buy,EURUSD,risk=1, will be sent to the PineConnector server.
  • Processing: This message will then be pushed to your MetaTrader terminal and processed by the PineConnector EA according to your EA settings.
  • Outcome: A buy position for EURUSD with a 1 lot size (or equivalent based on risk=1 and your EA settings) is expected to open.

4. Verify Alert Triggers

After setting up an alert, it's important to verify that it has been triggered. This can be done by checking the Alerts Log in TradingView, where all fired alerts are recorded.

image
image

5. Confirm Signal Receipt

You should see a new entry for the signal you just generated in the Signals Log in your PineConnector Portal. This entry will have timestamps indicating when our server received the signal and when the PineConnector EA processed it.

Open Signal Log →

image

6. Confirm Trade Execution

In your MetaTrader terminal, check the "Trade" tab (usually at the bottom) to confirm that a buy position for EURUSD (at 1 lot, if using default settings) has been opened. This assumes that the default Volume Type in your PineConnector EA settings has been used.

image
💡
Troubleshooting Trade Issues If you encounter an error or your trades are not triggering, consult the Error Guide for potential causes and solutions: Error Guide

Additionally, in the "Experts" tab within MetaTrader, you can observe the detailed processing of the alert message by the PineConnector EA. This log provides insights into how your EA settings are being applied and can be very helpful for diagnosing any issues if a trade does not execute as expected.

image
💡
Monitoring for Success We recommend regularly checking the “Experts” tab to understand how the EA processes your alert messages, particularly when testing new syntax or adjusting EA settings.
image