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.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      You mean the Visible check box is unchecked?

      Comment


        #4
        Hello derivtrader,

        Correct, I'll correct my post, thanks.
        Paul H.NinjaTrader Customer Service

        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.
            Paul H.NinjaTrader Customer Service

            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.
                    Paul H.NinjaTrader Customer Service

                    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.
                      Paul H.NinjaTrader Customer Service

                      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 Haiasi, Today, 06:53 PM
                        1 response
                        4 views
                        0 likes
                        Last Post NinjaTrader_Manfred  
                        Started by ScottWalsh, Today, 06:52 PM
                        1 response
                        15 views
                        0 likes
                        Last Post NinjaTrader_Manfred  
                        Started by ScottW, Today, 06:09 PM
                        1 response
                        5 views
                        0 likes
                        Last Post NinjaTrader_Manfred  
                        Started by ftsc2022, 10-25-2022, 12:03 PM
                        5 responses
                        256 views
                        0 likes
                        Last Post KeyonMatthews  
                        Started by Board game geek, 10-29-2023, 12:00 PM
                        14 responses
                        244 views
                        0 likes
                        Last Post DJ888
                        by DJ888
                         
                        Working...
                        X