Jump to content
Medved Trader Forums
Jason

Using Bid and Ask in Paintbar?

Recommended Posts

Is it possible to retrieve the bid and ask in a paintbar? Such as retrieving them every X seconds and performing calculations with the values?

Share this post


Link to post
Share on other sites

Paintbar has access to SymbolData.Bid / Ask. but that is the current bid/ask, not the bid/ask at the given bar. cannot retrieve at the bar level

 

Share this post


Link to post
Share on other sites

I think that would work just fine. The part about polling it every X seconds and collecting the data for display like an indicator is a little daunting to me though. I thought it would be interesting to see how spread changes over time like during higher points of volatility, near points of support/resistance etc. You could construct an EMA out of it.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...