Getting Started
This page will help you set up quickly and efficiently. Please follow each step in order, and feel free to refer back if needed.
1. Verify Compatibility with Your Operating System
PineConnector is compatible with the following Operating Systems:
- Windows: 10 and 11.
- Windows Server: 2016, 2019 and 2022.
- MacOS: Possible but potentially unstable—consider using a Windows VPS.
Tip for MacOS Users: Utilize Windows App for better navigation of your VPS. Need help? View the VPS Setup guide.
The following Operating Systems are not compatible:
- Windows 8 or older: Upgrade to Windows 10 or 11.
- Windows Server 2012: Upgrade to Windows Server 2016, 2019, or 2022.
- MetaQuotes VPS: Use an alternative VPS provider, like the PineConnector VPS.
- Press the Windows logo key + R to open the Run dialog box.
- Type
winver
into the Open box. - Click OK or press Enter.
This action will display the "About Windows" box, showing the version and build number of the Windows operating system installed on your computer.
Identify the best location for your broker:
2. Ensure that you have TradingView Essential Plan or Higher
To automate your TradingView strategies, indicators, or scripts, you will require TradingView Essential, Plus, Premium, Expert, Elite, or Ultimate. Being on any of those plans will enable you to send webhook alerts.
3. Setup PineConnector EA on Your MetaTrader Terminal
Once you have ensured that you’re using a compatible Operating System, setup the PineConnector Expert Advisor (EA) on your MetaTrader 4 or MetaTrader 5 terminal, please refer to the respective guides:
4. Send in a Test Alert
After setting up the PineConnector EA on your MT4/5 terminal, send a few test alerts to verify that your connection is properly established and to familiarize yourself with the workflow, ensuring everything operates smoothly before executing live trades.
Test It Out
For your test alert, we recommend sending a simple buy order for EURUSD with 1 lot using the following syntax:
LicenseID,buy,EURUSD,risk=1
For this example, the License ID is 6161199464661. Accordingly, the syntax used will be:
6161199464661,buy,EURUSD,risk=1
If done correctly, you should see a buy position for EURUSD with 1 lot open on your terminal.
5. Familiarize Yourself with the PineConnector Syntax
Syntax is the way you write alert messages to configure and trigger specific actions in your MetaTrader terminal. Understanding and correctly using the PineConnector syntax is essential for effective automation of your trading strategies.
We recommend that you familiarize yourself with the following key syntax commands and components:
- Commands (Market Orders):
- Other Parameters:
Try These Out
The following are examples of syntax you should try:
- With different symbols — explore other FX symbols and non-FX symbols as per your Symbol List.
LicenseID,buy,GBPUSD,risk=1
LicenseID,buy,BTCUSD,risk=1
LicenseID,buy,US100,risk=1
- With a stop loss (SL):
LicenseID,buy,EURUSD,risk=1,sl=30
- With a take profit (TP) — note that other parameters such as
sl=
andtp=
can be arranged in any order.
LicenseID,buy,EURUSD,risk=1,tp=50
LicenseID,buy,EURUSD,risk=1,tp=50,sl=30
LicenseID,buy,EURUSD,risk=1,sl=100,tp=200
- With a different command:
LicenseID,sell,EURUSD,risk=1
6. Familiarize Yourself with Various EA Options
After successfully sending test alerts, familiarize yourself with various EA options to implement your trading strategies with minimal or no coding.
We recommend that you explore the following EA Options as they are the most frequently used:
Experiment with different settings by sending test alerts to see how changes affect trade execution. For instance, change the Target Type from pips to percentage to observe different target placements, or switch from Lots to Percentage of Balance for volume computation based on stop-loss and risk values.
7. Implement the SuperTrend Strategy
The SuperTrend Strategy is a widely used trend-following system and a great way to explore what PineConnector can do. Like a moving average crossover, it tracks market direction to generate straightforward buy and sell signals. It’s flexible enough to work for both short-term scalping and longer-term trading.
If you’re new to trading automation or just getting started with PineConnector, this strategy is a great place to begin. It provides hands-on experience, a step-by-step process, and a solid starting point for your trading automation journey.
8. Setup a Secret Key
The Signal Authentication feature is a security mechanism designed to ensure the secure transmission of trading signals from TradingView to MetaTrader. By configuring a secret key, you can add an extra layer of security to your trading signals. This ensures that signals are only executed if the secret key in your TradingView message matches the one defined in the PineConnector Portal.
This feature helps prevent unauthorized access and ensures that only signals with verified authentication are executed, enhancing the overall security of your trading operations.
In the following example, we have added PineApple
as the secret key.
With the Signal Authentication feature turned on, you will have to add the secret component in your syntax, which looks like the following:
LicenseID,command,symbol,risk=1,secret=PineApple
From our example above, the new syntax will be:
6161199464661,buy,EURUSD,risk=1,secret=PineApple
Since the Secret Key is case-sensitive, the following will not be accepted:
6161199464661,buy,EURUSD,risk=1,secret=pineapple
6161199464661,buy,EURUSD,risk=1,secret=PINEAPPLE
6161199464661,buy,EURUSD,risk=1,secret=pINEaPPLE
9. Configure TradingView Script and Alerts
Once you understand the EA options and PineConnector Syntax, configure your TradingView indicator/strategy script and create alerts. Ensure the alerts trigger the appropriate trades on your MT4/5 terminal.
If you’ve implemented the SuperTrend strategy, you can take it a step further by improving it, using a community strategy from TradingView, or creating your own!
Here are some Alert Setup Guides which may be helpful:
- Without access to the script code: No-Code Guide
- With access to the script code: Low-Code Guide
10. Fine-Tune and Grow Your Setup
Getting started with PineConnector is an exciting first step in your trading automation journey, but the real progress comes from ongoing refinement and adaptation. This final step isn’t about finishing—it’s about continuously learning, testing, and improving as you grow more comfortable with your setup.
- Monitor Your System: Regularly check the PineConnector Signal Logs and your MetaTrader Experts tab to confirm everything is working as expected.
- Adjust as Needed: Experiment with EA settings like risk levels, trade sizes, or execution preferences to see what delivers the best results for your strategy.
- Evolve Your Strategy: Revisit your TradingView scripts to tweak stop-loss, take-profit, or other parameters. Every small adjustment teaches you something new.
At first, you’ll naturally keep a closer eye on things, and that’s part of building confidence. Over time, as your system stabilizes, you can step back and let the automation handle more of the heavy lifting.
Remember, trading is a dynamic process, and PineConnector is here to adapt alongside you. Keep testing, keep learning, and don’t hesitate to revisit earlier steps. You’re building a system tailored to you—and that’s something to be proud of. We’re here to support you every step of the way.
Sign up with our recommended broker as a new client, and enjoy 3 months of the PineConnector Starter Plan. Contact support to claim your bonus.
On this page
- Getting Started
- 1. Verify Compatibility with Your Operating System
- 2. Ensure that you have TradingView Essential Plan or Higher
- 3. Setup PineConnector EA on Your MetaTrader Terminal
- 4. Send in a Test Alert
- Test It Out
- 5. Familiarize Yourself with the PineConnector Syntax
- Try These Out
- 6. Familiarize Yourself with Various EA Options
- 7. Implement the SuperTrend Strategy
- 8. Setup a Secret Key
- 9. Configure TradingView Script and Alerts
- 10. Fine-Tune and Grow Your Setup