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 kinfxhk, 07-14-2026, 09:39 AM
            0 responses
            123 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by kinfxhk, 07-13-2026, 10:18 AM
            0 responses
            104 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by kinfxhk, 07-13-2026, 09:50 AM
            0 responses
            83 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by kinfxhk, 07-13-2026, 07:21 AM
            0 responses
            103 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by kinfxhk, 07-11-2026, 02:11 AM
            0 responses
            83 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Working...
            X