Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Volume vs getCurrentBidVolume() or getCurrentAskVolume()

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

    Volume vs getCurrentBidVolume() or getCurrentAskVolume()

    I am working on an algorithm with volume and sales.

    with the time and sales as soon as a contract is bought or sold does the getCurrentBidVolume() get the last ticks volume or the whole volume of the candle. IE 1 min, 5 minute, range etc.

    what I want will result a delta value for myself. if at the end of Close[0] if the volume is negative then there were more bids than asks and vice versa.

    i will be working on calculate bar on close as false

    #2
    T&S is in the past.

    That is not current.

    Do you see otherwise?

    Comment


      #3
      Hello ballboy11, and thank you for your questions.

      Originally posted by ballboy11 View Post
      does the getCurrentBidVolume() get the last ticks volume or the whole volume of the candle
      The result of the attached script is

      getCurrentBidVolume is the last tick's volume
      Originally posted by ballboy11 View Post
      What I want will result in a delta value for myself. If, at the end of Close[0], the volume is negative, then there were more bids than asks, and vice versa.
      Please review the documentation here on creating a Level 2 book. We are happy to help with any specific questions that come up. I have included an example to help you get started.

      Attached Files
      Jessica P.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      599 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      344 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      103 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      558 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      557 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X