Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Automation ID

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

    Automation ID

    Hi Team,

    I'm a little lost trying to find the automation ID, or how to access the price levels on the DOM and the quantity up/down in limit orders at the DOM. In the Chart Trader was easy to find the Automation ID, but at the DOM I'm not able to find it. All that I try was failed. See attached pictures...
    What I need is to disable the price level cells at the dom and the quantity on limits based on a specific condition to prevent adding orders at the Dom Columns or change the quantity in the limits. Any help with this will be kindly appreciated.


    #2
    Hello Protech, thanks for writing in.

    Unfortunately looking into the WPF structure of the SuperDOM is beyond scope of support we can provide. We have an example here that adds buttons to the SuperDOM window which demonstrates navigating through the visual tree.

    https://ninjatraderecosystem.com/use...s-to-superdom/

    I also found this publicly available link with an example on iterating through a WPF visual tree:

    https://stackoverflow.com/questions/...indow/30020287

    In the case the SuperDOM data is not available through WPF, instead use an OnMarketDepth override to read the various price levels. We have an existing example here:
    https://ninjatrader.com/support/help...vel_ii_dat.htm

    Kind regards,
    -ChrisL

    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Hi NinjaTrader_ChrisR

      Thank you so much for your support on this and the links provided. It's a good start for working on this. Excellent team, always helping.

      Cheers

      Comment


        #4
        You can use tools available from/via Microsoft to look for Automation IDs, which may help you. Look at https://docs.microsoft.com/en-us/win...nspect-objects for Inspect, but you may also want to use https://accessibilityinsights.io/ referenced there as the follow-on product from Inspect. If you want to use Inspect, you will need to install a relevant Windows SDK kit. There is some mention of that in the Microsoft link provided here.
        Multi-Dimensional Managed Trading
        jeronymite
        NinjaTrader Ecosystem Vendor - Mizpah Software

        Comment


          #5
          Another general purpose tool to dig deep into any WPF app is snoop ... https://www.google.com/url?sa=t&rct=...HVsZ-IZ5n0wV7r

          Cheers,
          T.

          Comment


            #6
            Hi tgn55

            Thank you so much, a key tool that helps me to find what I was searching for.

            Comment


              #7
              Hi jeronymite

              Thank you for your support also. An awesome community with members like you!!

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by CortexZenUSA, Today, 12:53 AM
              0 responses
              1 view
              0 likes
              Last Post CortexZenUSA  
              Started by CortexZenUSA, Today, 12:46 AM
              0 responses
              0 views
              0 likes
              Last Post CortexZenUSA  
              Started by usazencortex, Today, 12:43 AM
              0 responses
              2 views
              0 likes
              Last Post usazencortex  
              Started by sidlercom80, 10-28-2023, 08:49 AM
              168 responses
              2,262 views
              0 likes
              Last Post sidlercom80  
              Started by Barry Milan, Yesterday, 10:35 PM
              3 responses
              10 views
              0 likes
              Last Post NinjaTrader_Manfred  
              Working...
              X