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 JesseOffshore, Today, 09:40 PM
      0 responses
      1 view
      0 likes
      Last Post JesseOffshore  
      Started by WHICKED, 04-26-2024, 12:56 PM
      4 responses
      138 views
      0 likes
      Last Post WHICKED
      by WHICKED
       
      Started by ezrollin, 02-26-2022, 11:14 PM
      7 responses
      207 views
      0 likes
      Last Post kenz987
      by kenz987
       
      Started by rocketman7, Today, 08:34 PM
      0 responses
      4 views
      0 likes
      Last Post rocketman7  
      Started by rt61968, 02-17-2018, 05:24 PM
      3 responses
      2,736 views
      0 likes
      Last Post MasterEtrad3  
      Working...
      X