getting previous bid and ask price

how can I get previous bid and ask price in mql4?
You don't. Remember the current values for next tick.