Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Include DataSeries in AutoScale for Custom Plots

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

    Include DataSeries in AutoScale for Custom Plots

    I have an indicator that does the plotting in a custom Plot() routine. The data that is plotted is contained in DataSeries objects, and there are no actual Plots since it is all custom. This all works, except that the autoscale for the indicator panel does not pick up the DataSeries objects (I assume since they are not Plots).

    Is there any way to add a DataSeries object to the autoscale list?

    #2
    Unfortunately not. One workaround idea could be to draw two draw objects at the desired vertical scale min/max values, set AutoScale for these objects to true and set the color to transparent.
    RayNinjaTrader Customer Service

    Comment


      #3
      Ok, I was afraid of that.

      I will just dump them back into dummy Plots then. I was hoping there would be a cleaner way to do it.

      I don't really want a bunch of dummy plots to show up in the properties. Can a plot be hidden in the indicator property panel via some XML magic?

      Thanks.

      Comment


        #4
        Unfortunately not that I am aware of.
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        81 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        41 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        64 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        66 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        54 views
        0 likes
        Last Post CarlTrading  
        Working...
        X