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 helpwanted, Today, 03:06 AM
      1 response
      7 views
      0 likes
      Last Post sarafuenonly123  
      Started by Brevo, Today, 01:45 AM
      0 responses
      7 views
      0 likes
      Last Post Brevo
      by Brevo
       
      Started by aussugardefender, Today, 01:07 AM
      0 responses
      5 views
      0 likes
      Last Post aussugardefender  
      Started by pvincent, 06-23-2022, 12:53 PM
      14 responses
      242 views
      0 likes
      Last Post Nyman
      by Nyman
       
      Started by TraderG23, 12-08-2023, 07:56 AM
      9 responses
      384 views
      1 like
      Last Post Gavini
      by Gavini
       
      Working...
      X