Signal Authentication Guide
Premium Feature This feature is available exclusively to users on the Advanced and Professional plans, including trial users on the Advanced plan.
Signal Authentication is a security feature designed to protect the transmission of trading signals from TradingView to MetaTrader by using a secret key. It ensures that only authorized signals with the correct secret key are processed, enhancing the overall security of your trading operations.
How Signal Authentication Works
Signal Authentication adds an extra layer of protection to your signals by verifying that a secret key in the TradingView alert message matches the one set in the PineConnector Portal. If the key matches, the signal is executed on your MetaTrader terminal. If it doesn't, the signal is blocked and logged in the Signal Log for review.
Compatibility
- This feature is compatible with PineConnector MT4/5 EA version 3.15 and later.
- The secret key is case-sensitive.
Setting Up Signal Authentication
- Go to the Signals Tab on PineConnector Portal: Visit the Signals tab in your PineConnector Portal.
- Click on Signal Modifier Tab: Select the "Signal Modifier" tab located at the top left.
- Turn Signal Authentication On: Ensure that Signal Authentication is enabled in the Signals section.
- Choose Your Secret Key: Specify a secret key that will be used to authenticate your signals. It's recommended to use a key that includes a mixture of uppercase, lowercase, numbers, and special characters for enhanced security. The key should be at least 8 characters long.
- Save the Configuration: Once you've set your secret key, click "Save" to apply the configuration.
Using Signal Authentication in TradingView
Once you've configured Signal Authentication in the PineConnector Portal, you need to include the secret key in your TradingView alert message. This is done by adding the secret=
parameter to your alert syntax.
Example Syntax
LicenseID,buy,EURUSD,risk=1,secret=Xt7B4!pa92DQ
In this example:
- The secret key in the alert message is
Xt7B4!pa92DQ
. - If this matches the key set in the PineConnector Portal, the signal will be successfully sent to your MetaTrader terminal.
What Happens if the Secret Key is Missing or Incorrect?
- Missing Secret Key
- Incorrect Secret Key
If you have Signal Authentication enabled but the secret=
parameter is missing from your TradingView alert message, the signal will not be sent to your MetaTrader terminal. Instead, it will be withheld and logged in your Signal Log.
If the secret key in the TradingView alert message does not match the one set in the PineConnector Portal, the signal will be withheld. You can review the withheld signal in the Signal Log, which will display an error message indicating the mismatch.
Best Practices for Using Signal Authentication
- Use a strong secret key with a combination of letters, numbers, and symbols.
- Regularly update your secret key to enhance security.
- Avoid using easily guessable keys like "123456" or "password".
Troubleshooting
If your signals are not reaching your MetaTrader terminal:
- Check if Signal Authentication is turned on in the PineConnector Portal.
- Verify that the secret key in your TradingView alert message matches the one set in the PineConnector Portal.
- Review the Signal Log for any error messages related to Signal Authentication.