Announcement

Collapse
No announcement yet.

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
      Yeah it is really unfortunate that SuperDOM data is not available through WPF. I am working on this today, but I need to finish cleaning my garage with Ryobi pressure washer https://gardeningfacts.org/best-pressure-washer/ryobi/ first. Hope I will figure it out after.
      Last edited by Gaumless; Yesterday, 08:09 PM.

      Comment


        #4
        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


          #5
          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.

          Comment


            #6
            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


              #7
              Hi tgn55

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

              Comment


                #8
                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 focus333, Today, 10:48 AM
                0 responses
                2 views
                0 likes
                Last Post focus333  
                Started by NinjaTrader_BrandonH, Today, 09:55 AM
                0 responses
                6 views
                0 likes
                Last Post NinjaTrader_BrandonH  
                Started by AH369, Yesterday, 05:37 AM
                3 responses
                19 views
                0 likes
                Last Post NinjaTrader_RyanS  
                Started by NinjaTrader_BrandonH, Today, 09:51 AM
                0 responses
                21 views
                1 like
                Last Post NinjaTrader_BrandonH  
                Started by Andrei60, Today, 09:23 AM
                0 responses
                2 views
                0 likes
                Last Post Andrei60  
                Working...
                X