Forum

How do I get one EA to see the action of another?

Here is what I want to do, but I just cannot seem to get it right : I have 2 EA's, both trading one symbol - for reasons that are not really important, I want the first EA to identify the condition at which an open trade on the symbol should close, but I want the actual close to be undertaken by the

OrderModify() - need some help please

I am trying to modify an order that is current/open. To keep the changes that I want to make very simple at this stage (I am just trying to get the code right) all that i am attempting to do is find the order and then change the arrow colour to blue, but I get an OrderModify error code 4109

Using OrderSelect() to find the text that i have printed to a log file

{ bool Result; int i,Pos,Error; int Total= OrdersTotal (); if (Total> 0 ) { for (i=Total- 1 ; i>= 0 ; i--) { if ( OrderSelect (i, SELECT_BY_POS, MODE_TRADES) == TRUE && //what do I put in the code here to find the Print text in the log?=="my logged print text") {EA

Delay between trades

I am trying to accomplish 3 things with this piece of code : 1) I want to check the order history and identify the last closed trade of a specific signal associated with the chart/EA. 2) I want to be able to correctly identify the symbol associated with the chart/EA, even though other EA's are

Delay between trades

I am trying to accomplish 3 things with this piece of code : 1) I want to check the order history and identify the last closed trade of a specific signal associated with the chart/EA. 2) I want to be able to correctly identify the symbol associated with the chart/EA, even though other EA's are