Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bid/Ask Volume combined with Hist Volume

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

    #16
    Bid & ask hist volume

    Hello,

    Anybody here can explain How the Logic work with this indicator please.

    Thank you

    Alain

    Comment


      #17
      Hello I need exactly this indicator but i need this:

      protected override void OnMarketData(MarketDataEventArgs e)
      {
      if (e.MarketDataType == MarketDataType.Ask)
      askPrice = e.Price;
      else if (e.MarketDataType == MarketDataType.Bid)
      bidPrice = e.Price;
      else if (e.MarketDataType == MarketDataType.Last)
      {
      if (askPrice > 0 && e.Price >= askPrice)
      buys += e.Volume;
      else if (bidPrice > 0 && e.Price <= bidPrice)
      sells += e.Volume;
      }
      }

      working on historical data - using cqg from nt. is it possible? and how do i get it?

      well i need on candle close get volume ask and volume bid on close of the candle.. or is there another way?
      thankx a lot
      Paul

      Comment


        #18
        Hello kujista,

        Thanks for your post.

        We are sorry this post has been missed and we will be investigating what had happened here so we can fix any issues that have caused this post to be missed.

        OnMarketData can only be used with Realtime data. In NinjaTrader 8, the Tick Replay feature can be enabled to allow for OnMarketData to be played back historically.

        Please see the link below for details.



        You can also use a Multi Time Frame approach in NinjaTrader 8 which would be less resource intensive than Tick Replay. Please see the example attached.

        Please let us know if we can be of further assistance.

        Attached Files

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, Yesterday, 10:06 AM
        0 responses
        21 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        18 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        14 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        9 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        40 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X