• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How does an end user configure an AddOn?

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

    How does an end user configure an AddOn?

    I never thought about it before, but I can easily imagine that some AddOns could have useful user configuration. So how does an end user configure an AddOn?

    --EV

    #2
    Hello ETFVoyageur,

    Please define what you mean as "end user configuration".
    Patrick H.NinjaTrader Customer Service

    Comment


      #3
      Users can configure indicators in the Indicators dialog

      What is the equivalent for a user to configure an AddOn?

      --EV

      Comment


        #4
        Hello ETFVoyageur,

        Thank you for your patience.

        There is no AddOns window as you would have for a Strategy, Indicator, Market Analyzer Column, SuperDOM Column, etc.

        AddOns are their own unique windows that you create. You would likely want to include a properties menu of your own in the AddOn, or possible create a "parent" AddOn window that manages other AddOn windows.

        The point is it is up to you to handle these as the AddOns are for custom windows uniquely designed by the developer of said window.
        Patrick H.NinjaTrader Customer Service

        Comment


          #5
          I have addons that have no GUI presence. They just perform a service in the background. In particular, they do not create a window. How would you suggest I handle user configuration for them?

          I guess I could add an entry to one of the menus, and use that to pop up a dialog. I just wanted to find out what standard, if any, NT foresees for this. Do you have a better idea than this (add an entry to a standard menu)?

          --EV

          Comment


            #6
            ETFVoyageur,

            You could create an indicator that passes parameters to those AddOns or create them as indicators.
            Patrick H.NinjaTrader Customer Service

            Comment


              #7
              Thanks ... that's an interesting thought. That reminds me of one thing -- do AddOns get serialized? If an addon is configurable, then it should get serialized. What would be ideal is:
              • Always there, without explicit user action. AddOns have this, but indicators do not. An indicator sounds awkward, since the indicator would be associated with a a chart, and charts come and go. I guess that would not be to bad as long as the user associated the indicator with the chart template(s) always used.
              • Gets window creation / destruction notification. AddOns have this, but indicators do not. I now of no workaround for the indicator, other than the indicator communicating with an AddOn.
              • Sensible way for a user to configure it -- either could offer that. Indicators via Indicators Dialog, and AddOn via an addition to the Tools menu.
              • Gets serialized, so user configuration is sticky. Indicators have this. Do AddOns get serialized?

              If AddOns do not get serialized, then perhaps I could figure out a judicious combination of both that would meet the need.

              --EV

              Comment


                #8
                Hello ETFVoyageur,

                Thank you for your response.

                AddOns would be serialized with the workspace if you are utilizing the workspace persistence: http://ninjatrader.com/support/helpG..._interface.htm
                Patrick H.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by timcjpfx, Today, 03:52 AM
                0 responses
                1 view
                0 likes
                Last Post timcjpfx  
                Started by tonynt, Today, 01:42 AM
                0 responses
                7 views
                0 likes
                Last Post tonynt
                by tonynt
                 
                Started by NT-Roland, Yesterday, 04:36 PM
                0 responses
                3 views
                0 likes
                Last Post NT-Roland  
                Started by Newtrader101, Yesterday, 03:40 PM
                2 responses
                13 views
                0 likes
                Last Post Newtrader101  
                Started by Branpo, Yesterday, 02:58 PM
                2 responses
                15 views
                0 likes
                Last Post Branpo
                by Branpo
                 
                Working...
                X