PineConnector EA Guide

PineConnector MT5 EA Control Panel (default settings)

 

Parameter
Remarks
Login
License ID
Your License ID is the long number string found in the intranet.
Main EA Settings and Options
Target type
  • Pips indicated on your TradingView alerts message
  • Price indicated on your TradingView alerts message
Volume type
  • Specified volume indicated on your TradingView alert message
  • Percentage of account balance (ensure you specify a stop-loss)
Pending Order Price
  • Pips from current market price
  • Price Specified from TradingView alert
Pyramiding
    • Off
      • Restrictions imposed to new trades 
      • If a trade of the same symbol is already opened, all new incoming alerts will not be opened
    • On
      • No restrictions imposed to new trades.
      • All new alerts will be opened
    • On - If symbol and direction in profit
      • Conditional restriction imposed to new trades
      • New market and pending orders will only be opened if profit from all positions with the same symbol and direction is positive

     

    Pyramiding = Off

    1. Long EURUSD open, Incoming long EURUSD alert will not open
    2. Short EURUSD open, Incoming short GPBUSD will open normally since they are different symbols
    3. If one of your Pending Orders gets filled, all other Pending Orders in the same direction and symbol will be cancelled
      1. A buystop and a buylimit EURUSD pending orders in play. The buystop gets filled, the buylimit gets cancelled automatically.
    4. If you have an ongoing position, all pending orders in the same direction and with the same symbol will not be executed.
      1. A buy EURUSD position is open. All buystop and buylimit orders received will not be executed.

       

      Pyramiding = On

      1. EURUSD open. Incoming EURUSD alert will be opened.
      2. Only an EURUSD short open. Incoming GPBUSD short. GBPUSD will open normally.

       

      Pyramiding = On - If symbol and direction in profit

      1. Sum of all long EURUSD floating profit is negative. Incoming buy, buystop and buylimit EURUSDs will not be open.
        1. Sample expert output:
      2. Sum of all long EURUSD floating profit is negative. Incoming long GBPUSD will open since symbol is different.
      3. Sum of all long EURUSD floating profit is negative. Incoming short EURUSD will open since direction is different.
      Hedging (Close on Reverse)
      • True - opening a trade with the same symbol in the opposite direction will close the first trade and then open the second order.
      • False - opening a trade with the same symbol in the opposite direction will NOT close the first trade.

       

      Hedging = TRUE 

      1. Long EURUSD open. Incoming short EURUSD. Long EURUSD gets closed first. Short EURUSD opens.
      2. Long EURUSD open. Incoming short GBPUSD. Long EURUSD untouched. Short GBPUSD opens.

       

      Hedging = FALSE 

      1. Long EURUSD open. Incoming short EURUSD. Nothing happens to the long EURUSD. Short EURUSD opens.

      *If you are looking to close the Long EURUSD and not open another position,
      the appropriate command will be "closelong" or "closeshort".

      Other EA Settings and Options
      EA and License Details
      • Display Full EA and License Details
      • Display only the License Expiry Date
      EA Magic Number
      • Default Magic Number of 76
      • Alternate Magic Number of 77
      • Alternate Magic Number of 78

       

      You may use different Magic Numbers to run different strategies on the same trading account. Please note that you will require multiple licenses to run, whereby you will have multiple License IDs as well.

      ​​​ 
      This means:
      • Strategy 1 -> runs on License ID 1 with magic number 76-> opens and closes based on alerts of strategy 1
      • Strategy 2 -> runs on License ID 2 with magic number 77-> opens and closes based on alerts of strategy 2

      For instance, on the same Trading Account. You would like to run a Moving Average Crossover Strategy on EURUSD 15 mins and 60 mins. The trade opens and closes will not be the same time despite being on the same symbol. 

      You will be required to use the Magic Number feature to run both strategies concurrently on the same Trading Account.
      Broker Set (MT5 EA only)
      • Broker Set A (Default)
      • Broker Set B (Unsupported Filling)
        • For those who face the Error 4756 Unsupported Filling Mode for Brokers such as ICMarkets
        • Compatible for clients who were using the "FM Mode" MT5 EAs

      Related Links

      2. Syntax