ON trade function executing on wrong pair

 

So firstly iv made this EA using FXdreema becuase i cant program but iv hit a issue.


If i have for example two charts open the the EA waits for a pending order to be hit on eg eurusd and once hit on trade function then places two more pending orders on the chart. based on filters like Buy and group number.

So that part works fine until you add the EA to another Chart.

Then when the pending is hit on the chart SAY GBPUSD, EURUSD chart adds two more pending to its chart and GBPUSD does Nothing. Even though EURUSD already added its pending's.

Even though it has to check group number and current symbol before running the next block.

So one chart is trigger the other EA to run? how is this possible.

Is there a custom code i need to run to clear variables stored in mt5?.


Pointing me in the right direction would really help.

 

Meagan Truda: So firstly iv made this EA using FXdreema becuase i cant program but iv hit a issue.... Pointing me in the right direction would really help.

I suggest, you use FXdreema's Forum for your query and not here. It is a 3rd party tool, so you should direct your request for guidance there, and have other users of the builder assist you.