last bid or last ask

 

When i want to have the last Course i can write Close[1] but how can i get the last bid Bid[1] is not available,

would be very thankful for help (i'm a newbie at the coding)

 
Remember the current bid before returning. It will be the last bid on the next tick.
 
William Roeder:
Remember the current bid before returning. It will be the last bid on the next tick.
can you show me a short code example?
 
  1. MT4: Learn to code it.
    MT5: Begin learning to code it.

    If you don't learn MQL4/5, there is no common language for us to communicate. If we tell you what you need, you can't code it. If we give you the code, you don't know how to integrate it into your code.

  2. noSkill06s: can you show me a short code example?
    Show us your attempt (using the CODE button) and state the nature of your problem.
              No free help 2017.04.21
 
noSkill06s:

For your information, I deleted your posts, not William Roeder, he is not a moderator and cannot delete posts.

Mr Roeder's posts may be blunt, but your posts were uncivil and so were deleted.