View Single Post
  #1 (permalink)  
Old 12-11-2006, 03:29 PM
pooshkin pooshkin is offline
Junior Member
 
Join Date: Oct 2006
Posts: 25
pooshkin is on a distinguished road
help me fix my ea

Hello
the idea is this :
only 1 trade per symbol allowed.
i use to do it like this:
int total = OrdersTotal();
if(total != 0 )
{
return(0); // dont trade
}
else
trade

but the problem is that i have other open position from manual trades\other EA
i need that the ea will open only 1 trade per symbol.

please help, thanks!
Attached Files
File Type: mq4 boo01.mq4 (5.2 KB, 12 views)

Last edited by pooshkin; 12-11-2006 at 03:32 PM.
Reply With Quote