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 CarlTrading, 03-31-2026, 09:41 PM
          1 response
          47 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          23 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          33 views
          1 like
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          51 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          42 views
          0 likes
          Last Post CarlTrading  
          Working...
          X