hi , I have wrote an expert to close my trade on moving average . I wanted to know if any of you has ever tried to run an expert on two diffrent pairs at the same time ? is it possible to do that ?
thanks
thanks
2 MT4 Plate forms running at the same time - mirror a chart 0 replies
Running 2 EAs at the same time within one EA 6 replies
Same EA running on two different charts 1 reply
Running mutiple EA at the same time. 2 replies
many pltaforms running in the same time 3 replies
int start()
{
if(Symbol()==Symbol()&&Period()==Period()){ rest of code ... }
return(0);
}
DislikedIt also doesn't look like it would address the problem of what do do when the EA is looping through orders.Ignored
DislikedYeah, but it works. Or, it keeps the EA specific to the chart (symbol) and time frame that I open it on. Basically it's checking the chart and saying keep all the "new" orders specific to these parameters (on chart).Ignored
QuoteDislikedThe only time it's a problem is when you open more than one chart using same symbol and time frame ... although this can be rectified (opening "additional" orders) by specifying maximum order count within the EA.
DislikedWhich it would do by default anyway so as I say the code is redundant.Ignored
QuoteDislikedWhich is the problem the OP is trying to address. I've already suggested a solution and I think he's solved his problem now so no need for further discussion.
Lux
Dislikedthanks , but I open my trades manually and then I use expert to manage and close them . since I open my trades manually I can't give them magical numbers . do u know any other solutions?
thanksIgnored