Download MetaTrader 5
To add comments, please log in or register
How to test a program before buying?
steve
7
steve 2015.11.25 06:32 

Hey all, Newer coder here. I'm looking for advice on a trade manager I am writing. Currently it handles everything I do. I have one button on the chart to place an order. The EA does the rest. It determines if I want a buy or sell based on my strategy, it adjusts stops, closes out orders as needed, etc.

It all works well but now I am trying to add a bunch of reporting to it so I get emails about how my trading is going and such. However if I have it running on many charts I have to make sure I don't get the same email a bunch of times. (one for each instance of the EA). As I build it out this will cause more issues I'm sure so my question is this:


Would it be easier to make one EA run on a single chart and manage all the other pairs from there meaning I'd have to code it to do so. Or code each EA to cross talk with the others so they act as one. If the second option then what would you suggest for coding the communication between EAs? Writing out and reading files? Or is there some functions for that?

whroeder1
13602
whroeder1 2015.11.25 13:22  
alphaspec:

Would it be easier to make one EA run on a single chart and manage all the other pairs from there meaning I'd have to code it to do so.

Or code each EA to cross talk with the others so they act as one. If the second option then what would you suggest for coding the communication between EAs? Writing out and reading files? Or is there some functions for that?

/
To add comments, please log in or register