Skip to content

Array out of range in DWX_ZeroMQ_Server_v2.0.1_RC8.mq4 #49

@Saruntaey

Description

@Saruntaey

I have been modified DWX_ZeroMQ_Server_v2.0.1_RC8.mq4 to be able to perform my strategy. My workflow as per below.

  1. The EA keep track on market. when something interesting occor it will execute python script.
  2. Python script connect to the same ports as setup in EA. then request the opened orders detail.
  3. Python script perform some task. then request the opened orders detail again to modify orders.
  4. After the order was modified the python script is terminated.
  5. The EA keep tracking the market again.

The problem is the EA may get request from somewhere ( default ports was used ). I don't know how. So these break the code as per attatched picture below.

err_msg
code

I am sure that this request didn't come from python script because EA status inform that it didn't execute the python script.

My question is :

  1. How this occur? and how to handle?
  2. When the EA get error as attatched picture, is it keep working or terminated?

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions