Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plot`s visible/hide/order in configuration panel Strategy/Indicator

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

    Plot`s visible/hide/order in configuration panel Strategy/Indicator

    Hi, how can I make the plots in the configuration panel invisible? How can these entries be ordered?

    Click image for larger version

Name:	Screenshot_1.jpg
Views:	383
Size:	7.3 KB
ID:	1157455

    [Display(ResourceType = typeof(Resource), Order = 0, GroupName = "",
    Properties can be ordered by "Order" and "GroupName", but how does this work with the plots?


    [Browsable(false)]
    the same applies to visible
    sidlercom80
    NinjaTrader Ecosystem Vendor - Sidi Trading

    #2
    Hello sidlercom80,
    Plots are ordered as they're added.
    Plots can be made invisible from configuration by using:-
    Code:
    ArePlotsConfigurable = false;
    Hope it helps!

    Comment


      #3
      Originally posted by s.kinra View Post
      Hello sidlercom80,
      Plots are ordered as they're added.
      Plots can be made invisible from configuration by using:-
      Code:
      ArePlotsConfigurable = false;
      Hope it helps!
      Hi, no that doesn't help me, the plots are now transparent, but I don't want to have the plots transparent, just don't make the entry visible in the configuration panel, as with the attribute (Browsable(false)]
      sidlercom80
      NinjaTrader Ecosystem Vendor - Sidi Trading

      Comment


        #4
        Hello,
        If you're using ArePlotsConfigurable = false; in no way it should make your plots transparent. Its meant to omit Plots section from indicator settings dialog completely. So, you don't have option to change plot settings from indicator settings dialog box.
        Note: this should be added in SetDefaults, & after adding it you will not be able to get the changes simply by F5; instead you need to remove your indicator & add it again to chart or you can reset it from bottom right corner of indicator settings.
        Plots can be made transparent by using PlotBrushes[0][0] = Brushes.Transparent; for example. So you can check your code for this.
        Refer snapshot, this is how this should omit Plots section from indicator settings dialog box.
        Hope it helps!

        Comment


          #5
          Hi s.kinra this may be the case with an indicator, but not with a strategy! in my strategy it looks like after inserting ArePlotsConfigurable = false;

          Click image for larger version

Name:	Screenshot_2.jpg
Views:	414
Size:	7.0 KB
ID:	1157633

          the plots are invisible on the chart but still visible in the backend. I want it the other way around, visible on the chart and invisible in the back.
          sidlercom80
          NinjaTrader Ecosystem Vendor - Sidi Trading

          Comment


            #6
            Hello,
            I just tested this on a test Strategy & is working as expected. Possibly you're not using AddPlot(); so the results may differ.
            Last edited by s.kinra; 05-26-2021, 03:07 AM.

            Comment


              #7
              Hi, yes now it worked, I had to overwrite the standard template otherwise he always loaded me the old template with the plots in it. Thank you for your help
              sidlercom80
              NinjaTrader Ecosystem Vendor - Sidi Trading

              Comment


                #8
                Originally posted by sidlercom80 View Post

                Click image for larger version

Name:	Screenshot_2.jpg
Views:	414
Size:	7.0 KB
ID:	1157633

                the plots are invisible on the chart but still visible in the backend. I want it the other way around, visible on the chart and invisible in the back.
                Hello,
                For template issue I already suggested to reset in Post # 4 & I am curious to know your invisible thing.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Mindset, 04-21-2026, 06:46 AM
                0 responses
                88 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by M4ndoo, 04-20-2026, 05:21 PM
                0 responses
                134 views
                0 likes
                Last Post M4ndoo
                by M4ndoo
                 
                Started by M4ndoo, 04-19-2026, 05:54 PM
                0 responses
                68 views
                0 likes
                Last Post M4ndoo
                by M4ndoo
                 
                Started by cmoran13, 04-16-2026, 01:02 PM
                0 responses
                118 views
                0 likes
                Last Post cmoran13  
                Started by PaulMohn, 04-10-2026, 11:11 AM
                0 responses
                67 views
                0 likes
                Last Post PaulMohn  
                Working...
                X