Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

FriendlyName

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

    FriendlyName

    Hi,
    My list of personal indicators is very large. Is there a way to use a friendly name so that I can see Indicator0001BusyPrice as Indicator00001_BusyPrice?
    thanks,
    David

    #2
    Hello David,

    Thanks for your post.

    You could set the Name property of the indicator to be "Indicator00001_BusyPrice" in OnStateChange() when the State == State.SetDefaults.

    Note that indicators will display in the Indicators window based on the Name property that is set in the State.Defaults section of code in the script.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Hi Brandon,
      Thanks,
      I was hoping i could find a way to see Indicator00001_BusyPrice in the ninjascript editor indicators window.
      David

      Comment


        #4
        Load Indicator0001BusyPrice into a simple editor, such as Notepad++, find/replace all occurrences of Indicator0001BusyPrice in the code with Indicator0001_BusyPrice, save as Indicator0001_BusyPrice. Then delete the original Indicator0001BusyPrice.
        eDanny
        NinjaTrader Ecosystem Vendor - Integrity Traders

        Comment


          #5
          Hello David,

          Thanks for your notes.

          eDanny has provided some great information on this topic.

          The indicator class name would need to be changed and any other use of that indicator name should be changed along with the .cs file name.

          <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          650 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          370 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          109 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          574 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          577 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X