Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

[Browsable(false)] for Plots?

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

    [Browsable(false)] for Plots?

    How can I prevent Plots from appearing in a custom indicator's properties in NT8?

    #2
    Hello,

    Thank you for the question.

    There is a way to turn off editing All plots for a script, that would be ArePlotsConfigurable : http://ninjatrader.com/support/helpG...nfigurable.htm

    Unfortunately there is no way to disable a specific plot from being configurable, only Properties would be able to be Browsable(false) currently.

    Potentially if your logic permits, you could use a Series rather than using a Plot for storing values. These would not show up in Plots but perform the same way as a Plot regarding setting a value to the series. http://ninjatrader.com/support/helpG...ightsub=series


    I look forward to being of further assistance.

    Comment


      #3
      Thanks Jesse.
      I wanted to use Plots to only maker the price on the yAxis, but set the default colors using other properties.

      Couldn't figure out how to get a custom Series to plot the price on the yAxis?
      If not I'll ArePlotsConfigurable = false for the Plots.

      Comment


        #4
        Looks like ArePlotsConfigurable = false is what I wanted... Plots Properties is not even visible (as desired).
        Thanks again.

        Comment


          #5
          Nothing seems to change for me when using ArePlotsConfigurable = false. I have tried this in a custom indicator and a NT off the shelf indicator. The plots still show up in the Indicator dialogue box and are able to be altered. I've also messed around with [Browsable(false)] in the properties section with no luck. Do these do the same thing? Maybe my understanding is incorrect, any help would be appreciated.

          Comment


            #6
            I just doubled checked to make sure I wasn't imagining it.
            OnStateChange
            when State==State.Default
            I have
            ArePlotsConfigurable = false;
            AddPlot(...);
            AddPlot(...);

            The Plots config parameters are not showing up on the Indicator Properties, as expected.

            Try removing the indicator from the chart after compiling the changes; then add it back.
            Last edited by CriticalTrader; 03-17-2016, 04:38 PM.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            566 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            330 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
            547 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            548 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X