Buying the bid and selling the ask - page 2

 
You can get actual bid after RefreshRates

Or MarketInfo(Symbol(),MODE_BID)

Your printed bid is non actual. Price can change very fast