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 funk10101, Today, 09:43 PM
      0 responses
      2 views
      0 likes
      Last Post funk10101  
      Started by pkefal, 04-11-2024, 07:39 AM
      11 responses
      36 views
      0 likes
      Last Post jeronymite  
      Started by bill2023, Yesterday, 08:51 AM
      8 responses
      44 views
      0 likes
      Last Post bill2023  
      Started by yertle, Today, 08:38 AM
      6 responses
      25 views
      0 likes
      Last Post ryjoga
      by ryjoga
       
      Started by algospoke, Yesterday, 06:40 PM
      2 responses
      24 views
      0 likes
      Last Post algospoke  
      Working...
      X