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 Perr0Grande, Today, 08:16 PM
      0 responses
      0 views
      0 likes
      Last Post Perr0Grande  
      Started by elderan, Today, 08:03 PM
      0 responses
      3 views
      0 likes
      Last Post elderan
      by elderan
       
      Started by algospoke, Today, 06:40 PM
      0 responses
      10 views
      0 likes
      Last Post algospoke  
      Started by maybeimnotrader, Today, 05:46 PM
      0 responses
      9 views
      0 likes
      Last Post maybeimnotrader  
      Started by quantismo, Today, 05:13 PM
      0 responses
      7 views
      0 likes
      Last Post quantismo  
      Working...
      X