Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Get Bid/Ask/Delta Data in Chart

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Get Bid/Ask/Delta Data in Chart

    Hi, I'm wanting to get bid/ask tick data in my charts, so that I can do some swing calculations. Is there a way to retrieve this in Ninjascript?

    #2
    Hi, thanks for posting.

    There are two ways to get historical and real time bid/ask data points. The first is using Tick Replay, we have a guide here, and the BuySellVolume indicator within the platform by default is a good example implementation. The second way is to use a 1 tick data series, eliminating the need to use Tick Replay. I attached an implementation of BuySellVolume that uses a 1 tick series to get buy/sell tick volume.

    Kind regards,
    -ChrisL
    Attached Files

    Comment


      #3
      Awesome...thank you...delta volume is simply buying volume - selling volume, right?
      Is there a way to get cumulative delta volume?
      Last edited by shildebrand324; 02-08-2022, 07:07 PM.

      Comment


        #4
        Hi, thanks for the follow up. Delta volume is buy - sell volume. Our calculation for Cumulative Delta is closed source but available to use through NinjaScript with a LifeTime license using the Cumulative Delta indicator. Any custom calculation would need to be researched further.

        Best regards,
        -ChrisL

        Comment


          #5
          Yeah, I have life time license, but was hoping to develop something that didn't require for folks that don't have it.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          68 views
          0 likes
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          150 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          162 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          100 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          288 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Working...
          X