Alireza Javadi / Publications
Forum
Problem with several order placement
I have a simple EA. It works as follow: If there is no open order, It should place one BUY. But it place several Buy at the same time. I dont know why!! void OnTick () { int a; int b; if (NoOpenOrder()) { if (FirstOrder==Buy) a= OrderSend ( "EURUSD.e" , 0 , 0.1 , MarketInfo (