For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See:

Bid-Ask Data to OHLC

  • administrators

    Use the link below to go the original post

    Click here to see the full blog post

  • This is a great example. Tyhanks for sharing. How would one goes about adding he number of Ticks that were aggregated in a bar (e.g Tickcount), Is it just a matter of creating a Volume column =1 at tick level? What should I do however if I also have Volume in my data and I want to have both information (for instance to get the average volume per Bid in a bar)?

Log in to reply