Disliked{quote} {image} You need to check if the volume of your transaction (lot) meets the norm and step for the specification of the instrument. If you are somehow calculating the lot size, you need to ensure it meets the norms. Also check if minlot or maxlot. double step = MarketInfo(Symbol(),MODE_LOTSTEP); int norm = 0; if (step==1) norm = 0; if (step==0.1) norm = 1; if (step==0.01) norm = 2; double maxLot = MarketInfo(Symbol(),MODE_MAXLOT); double minLot = MarketInfo(Symbol(),MODE_MINLOT); Invalid price can be for different reasons: 1. Prices for OrderSend()...Ignored
I saw at some point it sent order like 1K lots, then deleted it immidiately, reported invalid price so the lotsize calc does not based on SL=50, risk management 2% or fixlot (my fixlot=0.1)...why it starts with 1K lot mistake in gold? and make so many server msg, definitely this EA will be banned if run too long or whole day
Attached File(s)
abnorm gabbage V1.01 entry base VP method liquidityGrabmultiorders_pendingLIMIT.mq4
16 KB
|
106 downloads