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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        163 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        313 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        245 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        350 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        179 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X