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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×