Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Is it possible to edit the Properties window of an existing indicator?

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

    Is it possible to edit the Properties window of an existing indicator?

    Hi,

    I have gained access to a few custom indicators where I would just want to edit some of the formatting on the Properties window.

    Is this possible to edit on an existing indicator or would I have to re-create it from scratch?

    I know how to open the Editor and modify the code, but the settings in the Properties window I can't seem to access from there.

    Disclaimer: I'm a complete newbie when it comes to code.

    Thanks in advance.

    Johnny

    #2
    Hello Johnny,

    The adjustable parameters in the Indicator or Strategy Window properties are public inputs in the script.

    Most system indicators will have public inputs defined in the #region Properties region.

    For example the SMA has a Period public input defined on lines 83 to 89.

    Below is a link to a forum post about this.


    And a link to a forum post about getting started with NinjaScript.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thanks a lot, Chelsea!

      I did search through the code myself, but somehow missed the "Region" part.

      Have a great day!

      Johnny

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by DanielTynera, Today, 01:14 AM
      0 responses
      2 views
      0 likes
      Last Post DanielTynera  
      Started by yertle, 04-18-2024, 08:38 AM
      9 responses
      40 views
      0 likes
      Last Post yertle
      by yertle
       
      Started by techgetgame, Yesterday, 11:42 PM
      0 responses
      9 views
      0 likes
      Last Post techgetgame  
      Started by sephichapdson, Yesterday, 11:36 PM
      0 responses
      2 views
      0 likes
      Last Post sephichapdson  
      Started by bortz, 11-06-2023, 08:04 AM
      47 responses
      1,615 views
      0 likes
      Last Post aligator  
      Working...
      X