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.


    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 jaybedreamin, Today, 05:56 PM
      0 responses
      3 views
      0 likes
      Last Post jaybedreamin  
      Started by DJ888, 04-16-2024, 06:09 PM
      6 responses
      18 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by Jon17, Today, 04:33 PM
      0 responses
      1 view
      0 likes
      Last Post Jon17
      by Jon17
       
      Started by Javierw.ok, Today, 04:12 PM
      0 responses
      6 views
      0 likes
      Last Post Javierw.ok  
      Started by timmbbo, Today, 08:59 AM
      2 responses
      10 views
      0 likes
      Last Post bltdavid  
      Working...
      X