Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

CustomHorizontalLinesSpace Addon

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

    CustomHorizontalLinesSpace Addon

    Hello

    I do not know if this is the right forum to this question, but it is not possible to reply in UserApp Submission one.

    Anyone knows how to make this addon work? I have installed and it does not appear in my indicator list.

    Thanks in advanced

    #2
    Hello Rosario,

    Thanks for your post.

    When testing the AddOn on my end I also do not see the indicator noted on the User App Share page listed in the Chart > Indicators list.

    I suggest reaching out to the developer of the AddOn directly to get information about how to use this script in NinjaTrader.

    You could find the developer of the script (PaulMohn) noted on the User App Share page you shared a link to.

    This forum thread will also be open for other community members to share their insights on the topic.
    <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
      Originally posted by Rosario View Post
      Hello

      I do not know if this is the right forum to this question, but it is not possible to reply in UserApp Submission one.

      Anyone knows how to make this addon work? I have installed and it does not appear in my indicator list.

      Thanks in advanced
      Hi,

      SharpDXHelperExample should be listed instead of _CustomHorizontalLinesSpace from the chart indicators menu.



      NinjaTrader_BrandonH what's the way to rename the chart menu indicator name to _CustomHorizontalLinesSpace?

      Comment


        #4
        Originally posted by PaulMohn View Post

        Hi,

        SharpDXHelperExample should be listed instead of _CustomHorizontalLinesSpace from the chart indicators menu.

        https://i0.wp.com/ninjatraderecosystem.com/wp-content/uploads/2023/12/CustomHorizontalLinesSpace.jpg?resize=2535%2C1030& ssl=1

        NinjaTrader_BrandonH what's the way to rename the chart menu indicator name to _CustomHorizontalLinesSpace?
        Hi Paul,

        I added this add on using the import feature, got the following warning. Selected yes, restarted. No indicators under _CustomHorizontalLinesSpace or SharpDXHelperExample

        Click image for larger version

Name:	image.png
Views:	144
Size:	6.8 KB
ID:	1293998

        Click image for larger version

Name:	image.png
Views:	137
Size:	11.7 KB
ID:	1293999
        ​​

        Comment


          #5
          Originally posted by rickesh View Post

          Hi Paul,

          I added this add on using the import feature, got the following warning. Selected yes, restarted. No indicators under _CustomHorizontalLinesSpace or SharpDXHelperExample

          Click image for larger version

Name:	image.png
Views:	144
Size:	6.8 KB
ID:	1293998

          Click image for larger version

Name:	image.png
Views:	137
Size:	11.7 KB
ID:	1293999
          ​​
          Do you have any Log tab error showing on Control Center > Log tab?
          If yes please post a screenshot or copy the error message.
          That will help for a potential update.

          Thanks.

          Comment


            #6
            Hello PaulMohn,

            Thanks for your notes.

            A NinjaScript indicator will display in the Indicators window based on the 'Name' property you set in OnStateChange() State.Defaults.

            If you want the indicator's name in the Indicator window to be 'CustomHorizontalLinesSpace' you could set Name = "CustomHorizontalLinesSpace"; in OnStateChange() when the State == State.Default.

            <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


              #7
              Originally posted by NinjaTrader_BrandonH View Post
              Hello PaulMohn,

              Thanks for your notes.

              A NinjaScript indicator will display in the Indicators window based on the 'Name' property you set in OnStateChange() State.Defaults.

              If you want the indicator's name in the Indicator window to be 'CustomHorizontalLinesSpace' you could set Name = "CustomHorizontalLinesSpace"; in OnStateChange() when the State == State.Default.
              Is that the case with an indicator inside an addon?

              Comment


                #8
                Hello PaulMohn,

                Thanks for your notes.

                The file name of an indicator file should be set to the same name that you are using for the 'Name' property in State.SetDefaults().

                For example, the indicator file name should be "CustomHorizontalLinesSpace" and the Name property in State.SetDefaults() should also be set to "CustomHorizontalLinesSpace".

                This is the best practice so that there is no confusion between the file name of the indicator and the "Name" property which determines the name the indicator displays with.

                If the indicator is called SharpDXHelper, you should rename the file to "CustomHorizontalLinesSpace" and make sure the "Name" property is set to the same name as the indicator file.
                <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


                  #9
                  This explained the needed solution (including the related indicator in the addon export):


                  The attached .zip should work. I'll update the User Apps share version too.

                  rickesh
                  Rosario

                  thanks for the heads ups.

                  Attached Files

                  Comment


                    #10
                    Originally posted by PaulMohn View Post
                    This explained the needed solution (including the related indicator in the addon export):


                    The attached .zip should work. I'll update the User Apps share version too.

                    rickesh
                    Rosario

                    thanks for the heads ups.
                    Works perfectly, thanks

                    Comment

                    Latest Posts

                    Collapse

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