Jump to content
Medved Trader Forums

Recommended Posts

 Was looking to use  last trade size but don't see it in the list of choices.  Is this something you have to add, like  we did for bid/ask size?

 Started to try and calculate it from volume, but not exactly sure how to do it in C## and it would be a lot simpler directly  accessed

 

Share this post


Link to post
Share on other sites

LastSize is not something that is available on each candle, and that is really what the scanning is centered around. We have a number of symbol level vs candle level fields available under SymbolData.* like SymbolData.High52, but note that the value there is the last value available for the symbol, not whatever it was at the given candle.  We do not include LastSize there. since that really is kind of useless for scanning - Scans are not guaranteed to execute with every tick.

Not sure why you need to calculate volume, or what volume you are trying to calculate. In general it is better to use the indicators to compute stuff for you,. volume included.

Share this post


Link to post
Share on other sites

 I see. Thought it would be equiv to Bid/Ask size, which seems to work well enough .

 

I'll look at  using some of the built in indicators to get what I want.

 

I have another request I'll put in a new topic

 

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...