Download MetaTrader 5

Why won't my EA open a trade using mini lots?

To add comments, please log in or register
Forex Trader
114283
Forex Trader  

Here is the code I use to enter the trade.

OrderSend(Symbol(),OP_BUY,.01,Ask,1,StopLoss,TakeProfit,"Buy Opened",0,0,CLR_NONE);

For some reason it will open 1 lot trades no matter what I put in as the volume. I'm totally confused over this one. It does it on my sells also.

To add comments, please log in or register