array out of range

To add comments, please log in or register
willmbanfield
7
willmbanfield  

Hello


I have an EA which sends ticks in real time to a publishing socket server.


This has run fine for ~6 months, but suddenly I am getting 'array ot of range 'ZeroMQ.mq4' (194,16). Please see referenced section of code below:


/* 02-08-2019 10:41 CEST - HEARTBEAT */
   if(compArray[0] == "HEARTBEAT")
      InformPullClient(pSocket, "{'_action': 'heartbeat', '_response': 'loud and clear!'}");

Does anyone have any idea why this is?

William Roeder
20665
William Roeder  
willmbanfield: Does anyone have any idea why this is?
  1. Because compArray[] has no size.
  2. Do you really expect an answer? We can't see your broken code — we can only guess. There are no mind readers here and our crystal balls are cracked.
To add comments, please log in or register