Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicators visible

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

    Indicators visible

    Hi,
    When you uncheck an indicator visible box, is the indicator still calculating but not displaying on chart or is it as if wasnt loaded onto chart at all?

    #2
    Hello derivtrader,

    Thanks for your post.

    No, the indicator will not process at all when the Visible check box is "Unchecked" in the User Interface.

    Last edited by NinjaTrader_PaulH; 09-11-2019, 01:54 PM. Reason: Changed Checked to Unchecked.

    Comment


      #3
      You mean the Visible check box is unchecked?

      Comment


        #4
        Hello derivtrader,

        Correct, I'll correct my post, thanks.

        Comment


          #5
          This is not what I'm seeing. I uncheck 'Visible' for the indicator and the Print calls are still printing to the output window. The indicator *is* processing, just not shown. How to make that it won't process?
          (without removing it from the list in the Indicators window)

          Thank you

          Comment


            #6
            Hello didbob,

            Thanks for your post.

            Here is what I see: https://Paul-ninjaTrader.tinytake.co...M18xNjAxMDA4OQ

            Please see if you can replicate the same.

            Comment


              #7
              Hi Paul. Thank you for the video link.

              My Print calls are not in OnBarUpdate but in OnStateChange->State.Configure. When the indicator loads it reads from several external files and spits out information to the output window. When not needed, I would like the indicator to stay in the list so its position in the list and placement on the chart are remembered. Otherwise I have to manually position it and drag to set its size every time I load it, which is inconvenient. At the same time, I do not want this information printed every time I open the Indicators window to change a parameter in another indicator (which is often). Thus, I would like the indicator to stay in the list but be disabled (not process meaning not load) until such time that I activate it.

              How to accomplish that?

              Thanks.

              Comment


                #8
                Well, so I simply added my own 'Enabled' property. It's not the same as if there was a built-in property that spared calling the indicator at all, and it means I have to check/uncheck both 'Visible' and 'Enabled' each time, and it means if I want the achieve the same with other indicators I have to add a custom Enabled property to each of them.

                But it will do for now. It's too small a thing to make a feature request for.

                Kind regards.

                Comment


                  #9
                  I wonder why to use such a misleading word "Visable" to describe an Add-on's functionality.
                  Why not just simply put this on top of the config panel and rename it as Enable/Disable?!

                  Comment


                    #10
                    Hello digibob,

                    Thanks for your reply.

                    Glad you were able to find a solution.

                    Another alternative would be to check this.InVisible In OnStateChange(): https://ninjatrader.com/support/help...?isvisible.htm This is set by the visible check box.

                    Comment


                      #11
                      Hello timko,

                      Thanks for your post.

                      I can only advise that that is how it has been named through the different NinjaTrader8 versions.

                      Comment


                        #12
                        Hi Paul. I was not aware of that property in code. So I don't have to add an Enabled property to each of my indicators, just the one-line check in OnStateChange. Thanks.

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by argusthome, 03-08-2026, 10:06 AM
                        0 responses
                        72 views
                        0 likes
                        Last Post argusthome  
                        Started by NabilKhattabi, 03-06-2026, 11:18 AM
                        0 responses
                        43 views
                        0 likes
                        Last Post NabilKhattabi  
                        Started by Deep42, 03-06-2026, 12:28 AM
                        0 responses
                        25 views
                        0 likes
                        Last Post Deep42
                        by Deep42
                         
                        Started by TheRealMorford, 03-05-2026, 06:15 PM
                        0 responses
                        29 views
                        0 likes
                        Last Post TheRealMorford  
                        Started by Mindset, 02-28-2026, 06:16 AM
                        0 responses
                        60 views
                        0 likes
                        Last Post Mindset
                        by Mindset
                         
                        Working...
                        X