hi mark: if i understand your question ( not sure that I do ). google for lee ready algorithm.<br /><br /><br /><p>On Apr 7, 2010, <strong>Brian G. Peterson</strong> <brian@braverock.com> wrote: </p><div class="replyBody"><blockquote style="border-left: 2px solid #267fdb; margin: 0pt 0pt 0pt 1.8ex; padding-left: 1ex">Mark Knecht wrote:<br />> Hi,<br />> I wonder if anyone has seen anything written publicly about<br />> estimating volume at price within backtest bars where you don't have<br />> any data other than up/down volume for the bar? For instance, when<br />> looking at 1 minute ES bars they are, on average maybe 6-8 price ticks<br />> tall. How might one estimate where the volume was in the bar for<br />> upticks and downticks? Clearly there's no was to be completely<br />> accurate, but maybe it's better than doing nothing.<br />> <br />> I'm playing with using sort of a skewed normal distribution which is<br />> interesting, but it doesn't take open and close into account. When I<br />> look at real data there's often a bit more up volume near the top when<br />> the price is trending strongly up, and more to the downside when the<br />> price is trending down. I could use other indicators for simple<br />> estimates of trend, and then do something based on that.<br />> <br />> Anyway, I'm just interested in reading something on the subject, if<br />> there's anything out there, before messing with R code.<br /><br />If I get some time, I'll dig through my collection of papers, because there is <br />literature on matching up Buy-driven versus sell-driven volume.<br /><br />However, all this literature is on tick data. You will likely need to acquire <br />a source for tick data before you can have any accuracy at all in any resulting <br />estimates.<br /><br /> - Brian<br /><br />-- <br />Brian G. Peterson<br />http://braverock.com/brian/<br />Ph: 773-459-4973<br />IM: bgpbraverock<br /><br />_______________________________________________<br />R-SIG-Finance@stat.math.ethz.ch mailing list<br />https://stat.ethz.ch/mailman/listinfo/r-sig-finance<br />-- Subscriber-posting only. If you want to post, subscribe first.<br />-- Also note that this is not the r-help list where general R questions should go.<br /></blockquote></div>