ForexProTools New Filter Not Allowing MT4 Access - page 3

 
Neill Thomas Campbell Forbes #:

I don't use any more than 2 EAs per terminal, yes they will call at the same time. Single EA terminals have the same issue.

How many terminals total on the same connection ?

 
Lorentzos Roussos #:

How many terminals total on the same connection ?

I run 7 terminals using this URL WebRequests.

 
Neill Thomas Campbell Forbes #:

I run 7 terminals using this URL WebRequests.

And all are mt4 

These are running your signals i suppose
 
Lorentzos Roussos #:

And all are mt4 

These are running your signals i suppose

Yes, all MT4. MT5 has embedded news.

I have run the EA on a different PC and is working no problem. Potentially they blocked the single point?

 
Neill Thomas Campbell Forbes #:

Yes, all MT4. MT5 has embedded news.

I have run the EA on a different PC and is working no problem. Potentially they blocked the single point?

Their server can't tell , i think . And these terminals are on a VPS ?

If the eas have not started on these terminals try closing the charts let some time go by and then run one ea in one terminal and see if it loads .

 
Lorentzos Roussos #:

Their server can't tell , i think . And these terminals are on a VPS ?

If the eas have not started on these terminals try closing the charts let some time go by and then run one ea in one terminal and see if it loads .

The terminals run on a dedicated PC at home.

I've tried the latest MT4 build as well without luck. I'll try open a single terminal, as you mention.

 
Same problem here. MT5 and MT4 ea(s) running on same VPS. But got error 5203 only from MT4 terminal. Any helpful suggestion, please share.
 
Mustapha Boukioud #:
Same problem here. MT5 and MT4 ea(s) running on same VPS. But got error 5203 only from MT4 terminal. Any helpful suggestion, please share.

Try running this , from one terminal , when nothing else is calling on the calendar from that ip.

#property strict
//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
  {

   
  while(!EventSetMillisecondTimer(44)){
       Sleep(144);
       }
  return(INIT_SUCCEEDED);
  }

void OnTick()
  {
  }
void OnTimer()
  {   
  EventKillTimer();
  ReadCBOE();
  ExpertRemove();
  }
string ReadCBOE()
  {

   string cookie=NULL,headers;
   char post[],result[],data[];     string TXT="";
   int res;
//--- to work with the server, you must add the URL "https://www.google.com/finance"  
//--- the list of allowed URL (Main menu-> Tools-> Settings tab "Advisors"): 
   string google_url="https://sslecal2.forexprostools.com";
//--- 
   ResetLastError();
//--- download html-pages
   int timeout=5000; //--- timeout less than 1,000 (1 sec.) is insufficient at a low speed of the Internet
   res=WebRequest("GET","https://sslecal2.forexprostools.com","Referer: https://www.investing.com/economic-calendar/\r\nUser-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 16_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Mobile/15E148 Safari/604.1\r\n",15000,data,result,headers); 
//--- error checking
   if(res==-1)
     {
      Print("WebRequest error, err.code  =",GetLastError());
      MessageBox("You must add the address ' "+google_url+"' in the list of allowed URL tab 'Advisors' "," Error ",MB_ICONINFORMATION);
      //--- You must add the address ' "+ google url"' in the list of allowed URL tab 'Advisors' "," Error "
     }
   else
     {
      //--- successful download
      //PrintFormat("File successfully downloaded, the file size in bytes  =%d.",ArraySize(result)); 
      //--- save the data in the file
      int filehandle=FileOpen("news-log.html",FILE_WRITE|FILE_BIN);
      //--- ïðîâåðêà îøèáêè 
      if(filehandle!=INVALID_HANDLE)
        {
         //---save the contents of the array result [] in file 
         FileWriteArray(filehandle,result,0,ArraySize(result));
         //--- close file 
         FileClose(filehandle);
         
         int filehandle2=FileOpen("news-log.html",FILE_READ|FILE_BIN);
         TXT=FileReadString(filehandle2,ArraySize(result));
         FileClose(filehandle2);
         Print("DONE");
        }else{
         Print("Error in FileOpen. Error code =",GetLastError());
        }
     }

   return(TXT);
  }
 
Mustapha Boukioud #:
Same problem here. MT5 and MT4 ea(s) running on same VPS. But got error 5203 only from MT4 terminal. Any helpful suggestion, please share.

My problem has now been fixed with a windows update and restart.