A limit order gets executed only when the limit price you have chosen is reached and a match is available for your order value. Also, orders are executed on a price-time priority basis. This means, all orders placed before you at the same limit price will get executed first, and then your order will get executed if there is a match available for your order value.