Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Fix Y Axis

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

    Fix Y Axis

    I have a summary indicator that collects information from my other indicators and outputs a stack of bubbles that show bullish, bearish or neutral.

    I need to "fix" the y-axis. For example, If I have 10 stacked bubbles, plotted at values of 1-10, then I want the y-axis to start at -1 and end at 11 so that the top and bottom row of bubbles aren't on the line separating this indicator from the others.

    I don't need to query for min/max values on the plot since I know them.

    Just need something like
    Y-AxisMin = -1;
    Y-AxisMax = 11;

    but I can't find the correct syntax


    #2
    Hello cre8able,

    The price margin (y-axis) cannot be controlled directly.

    But you can set the MinValue and MaxValue in OnCalculateMinMax for an indicator that has Auto scale enabled, and disable Auto scale for all other objects using that panel and scale.

    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      that worked
      thank you Chelsea

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      581 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      338 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      103 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      554 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      552 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X