Notice how, upon utilizing the code above, in the Experts tab you will see that there is sometimes a discrepancy between the MarketInfo(_Symbol,MODE_BID) and the actual price at which the orders are opened. Does not happen all the time. Why is this? Is this because of the lag? Any ideas?
That is called slippage. You can only open at the current market price.
Good to know. "Fill ins".