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.
    JesseNinjaTrader Customer Service

    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 jaybedreamin, Today, 05:56 PM
            0 responses
            2 views
            0 likes
            Last Post jaybedreamin  
            Started by DJ888, 04-16-2024, 06:09 PM
            6 responses
            18 views
            0 likes
            Last Post DJ888
            by DJ888
             
            Started by Jon17, Today, 04:33 PM
            0 responses
            1 view
            0 likes
            Last Post Jon17
            by Jon17
             
            Started by Javierw.ok, Today, 04:12 PM
            0 responses
            6 views
            0 likes
            Last Post Javierw.ok  
            Started by timmbbo, Today, 08:59 AM
            2 responses
            10 views
            0 likes
            Last Post bltdavid  
            Working...
            X