As I understand this Ea, its purpose is to manage the whole account, regardless the pair on wich it is attached. The Magic seems to work, but there is no discrimination of the pair.
Ok, I guess I misunderstood the function of the Magic number. I was under the impression that this EA could be affixed to multiple charts in order to manage the orders specific to that pair. Guess not.
Thanks for the help, Michel. Please let me know if I can help you with anything in return.
Tried on several MT4 platforms, got same error message...4109 on all
Did you enable checkbox "Allow live trading" in the expert properties?
Now I can't post at all?
I just submitted a new post and it didn't even show up?! What gives?
Here was the post (I hope):
I've coded the following, (profit is defined in another part of the script) but the orders only close when I have "Ask Manual Confirmation" checked in the EA options. Otherwise, sometimes no orders close, sometimes 1 out of 4-6 open orders. What am I missing?
Alert("Profit is ",profit);
case OP_BUY : OrderClose(OrderTicket(),OrderLots(),MarketInfo(OrderSymbol(),MODE_BID),0,0);
case OP_SELL : OrderClose( OrderTicket(),OrderLots(),MarketInfo(OrderSymbol(),MODE_ASK),0,0);
Alert("Closing order # ",OrderTicket()," which is in position ",x);
Alert("Error # ",GetLastError());
Has anyone managed to fix this e-CloseByPercentProfit.mq4 or if you speak his language I think it's Russian could you ask him for a fixed version
No luck at all
None of the EA's or scripts throughout this post will close any of my open orders unless I turn on Manual Confirmation. I'm using MT4 through IBFX. Why won't this work?
You windows looks like this one?
Yes...that's how I'm set up. If I check the manual confirmation box, I get a pop up every time an order is supposed to close, I confirm it, and it closes. But without confirmation, the EA's and scripts will not close the orders.
I need simple EA for SL and TP
I need very simple EA for SL and TP.
For example : I open position manualy and EA open SL and TP automatically at the same time.
I was searching long time but I did't find so simple EA.
Could anybody help me ?