Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to use Level2 data in a my indicator

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

    How to use Level2 data in a my indicator

    Hello
    Can you dive me an information about how to use a data from DOM (Level 2 data) in my indicator.
    For example, the current price is 15.00 and i want to get an information about quantity of orders on 15.02 price level from DOM - how to do it?

    #2
    Hello,

    You can use OnMarketDepth in order to obtain this information:



    We have a reference sample which shows how to obtain information from the market depth collection:

    MatthewNinjaTrader Product Management

    Comment


      #3
      Cumulative Market Depth

      I will use this thread for a followup question.

      Using the position and volume methods under marketdeptheventargs. Is it possible to get a cumulative value, say 5 positions in depth for both Bids and Asks. To see which is greater than the other? Perhaps even, Bids are 10% greater than Asks, therefore do this or that.

      Been so long since I wrote my last scripts and my last computer crashed. Any help in how this might be coded would be appreciated.

      Thanks,
      Rhy.

      Comment


        #4
        Hello Rhy,

        Yes, you would be able to accomplish this. We do have a reference sample on how to build your own level 2 data book. This would be a good start to seeing how Market Depth works with the script -
        http://www.ninjatrader.com/support/f...ead.php?t=3478
        Cal H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        161 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        310 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        245 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        350 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        179 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X