• 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

Is there a way for add-on developers to save add-on specific settings in NT?

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

    Is there a way for add-on developers to save add-on specific settings in NT?

    Hi there,

    I am developing an add-on that needs user modifiable settings that are not related to any NT objects such as indicator or strategy etc...

    Does NT8 provide an API that I can use to store/retrieve add-on specific settings to/from?

    I plan on building some UI to allow the user to modify these settings. But just wondered if there was an out of the box way to store/retrieve them provided by NT8?

    Thanks for your time,

    codeOwl.

    #2
    Hello,

    Thank you for the post.

    There is nothing pre made as far as a structure that holds data for you in an addon, you could certainly create any structure you need using C#.

    Addons expose a few overrides, two of which are serialization overrides which can be used to save and load data from a workspace.
    http://ninjatrader.com/support/helpG..._interface.htm

    This gives you the ability to say X property needs saved and restored when the workspace is opened and closed. This does not provide any means to supply that data to anything other than the current addon though, anything "external" or visible to other scripts would need to be exposed and implemented through coding.

    If you can explain what you are trying to do in slightly more detail, I may be able to provide samples if any are related or provide more details.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Jesse,

      Thanks for the response mate. That is all I needed to know ;-)

      Regards,

      codeowl

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Leope, Today, 03:15 AM
      0 responses
      6 views
      0 likes
      Last Post Leope
      by Leope
       
      Started by Frook1951, Today, 03:09 AM
      0 responses
      5 views
      0 likes
      Last Post Frook1951  
      Started by unlobotrader, Today, 02:46 AM
      0 responses
      4 views
      0 likes
      Last Post unlobotrader  
      Started by greg6622, Today, 01:26 AM
      0 responses
      3 views
      0 likes
      Last Post greg6622  
      Started by Splex, Today, 12:04 AM
      0 responses
      4 views
      0 likes
      Last Post Splex
      by Splex
       
      Working...
      X