Hello, I Need help with unexpected token errors!...........I don't understand the problem here.

 
//+------------------------------------------------------------------+
//|                                                BINARY MT2 TETSING.mq4 |
//|                                                    Forex trading |
//|                                              https://youtube.com |
//+------------------------------------------------------------------+
#property copyright "Forex trading"
#property link      "https://youtube.com"
#property version   "1.00"
#property strict

enum broker {
   All = 0,
   IQOption = 1,
   Binary = 2,
   Spectre = 3,
   Alpari = 4,
   InstaBinary = 5,
   OptionField = 6,
   CLMForex = 7,
   GCOption = 9,
   StrategyTester = 10,
   Tournaments = 20
};

enum martintype {
   NoMartingale = 0, // No Martingale    
   OnNextExpiry = 1, // On Next Expiry
   OnNextSignal = 2,  // On Next Signal
   Anti_OnNextExpiry = 3, // Anti-/ On Next Expiry
   Anti_OnNextSignal = 4, // Anti-/ On Next Signal
   OnNextSignal_Global = 5,  // On Next Signal (Global)
   Anti_OnNextSignal_Global = 6 // Anti-/ On Next Signal (Global)
};


#import "mt2trading_library.ex4"   // Please use only library version 13.52 or higher !!!
   bool mt2trading  (string symbol, string direction, double amount, int expiryMinutes);
   bool mt2trading  (string symbol, string direction, double amount, int expiryMinutes, string signalname);
   bool mt2trading  (string symbol, string direction, double amount, int expiryMinutes, martintype martingaleType, int martingaleSteps, double martingaleCoef, broker myBroker, string signalName, string signalid);
   int  traderesult (string signalid);

#import



// Inputs Parameters            
input broker Broker = All;
input string SignalName = ""; // Signal Name (optional)
input string IndicatorName = ""; // Indicator File Name
input double TradeAmount = 1;            // Trade Amount 
input int ExpiryMinutes = 5;          // Expiry Time [minutes]
input martintype MartingaleType = NoMartingale; // Martingale
input int MartingaleSteps = 2; // Martingale Steps          
input double MartingaleCoef = 2.0; // Martingale Coefficient



//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+

datetime SendOnce;
int signalID;
string asset;


int OnInit()
{
         //Initialize the time flag
         SendOnce = TimeCurrent();
         
         MathSrand(GetTickCount());
         if (MartingaleType == OnNextSignal || MartingaleType == Anti_OnNextSignal)
              signalID = IntegerToString(GetTickCount()) + IntegerToString(MathRand());    
              
         else if (MartingaleType == OnNextSignal_Global || MartingaleType == Anti_OnNextSignal_Global)     
              signalID = IntegerToString(AccountInfoInteger(ACCOUNT_LOGIN) 
                         + IntegerToString(TerminalInfoInteger(TERMINAL_BUILD)) 
                         + AccountInfoString(ACCOUNT_NAME);    //terminal wide_id
              
         if (StringLen(Symbol()) >= 6)
            asset = StringSubstr(Symbol(),0,6);
         
         else if 
            asset = Symbol();
            
            return 1;
}
//+------------------------------------------------------------------+
//| Expert deinitialization function                                 |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
  {
//---
   
  }
//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
  {
//---
       //FUNCTION TO TRADE
       Comment ("Ok");
       
  }
//+------------------------------------------------------------------+
 
Please
  1. MT4 code belongs to the MT4 thread at the bottom
  2. describe an error with the indication of the code line and the exact wording of the error - make it easy for those you want them to help you.
 

You have unbalance brackets. However, what is worse, is why are you converting and concatenating into a string and then assigning it to an integer?

    int signalID;
    ...
                  signalID = IntegerToString(GetTickCount()) + IntegerToString(MathRand());    
    ...
                  signalID = IntegerToString(AccountInfoInteger(ACCOUNT_LOGIN) // <- Missing closing bracket
                             + IntegerToString(TerminalInfoInteger(TERMINAL_BUILD)) 
                             + AccountInfoString(ACCOUNT_NAME);    //terminal wide_id