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 sjsj2732, 03-23-2026, 04:31 AM
        0 responses
        73 views
        0 likes
        Last Post sjsj2732  
        Started by NullPointStrategies, 03-13-2026, 05:17 AM
        0 responses
        313 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        310 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        148 views
        1 like
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        111 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Working...
        X