Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Fixed Vertical Scale with Dynamic Minimum and Maximum Values

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

    Fixed Vertical Scale with Dynamic Minimum and Maximum Values

    I want to set the chart right scale properties to fixed and dynamically compute the maximum and minimum values. The maximum and minimum values would be based upon the current day's high and low values and would update after each bar. The values of the current day's high and low are easy to get, but I can't find how to access the required chart properties. In the xml file I see the properties are listed as 'FixedPanelMaxRight” and “ FixedPanelMinRight”. How do I get to the fixed chart maximum and minimum values so that the chart's vertical scale will update dynamically? Am I correct that I this would be done through an indicator?

    #2
    Hello TheCatMan,

    Unfortunately there are not supported properties that allow you to specify the chart scale. You may consider using indicator ConstantLines to set the upper and lower bounds of the scale. Setting color of these lines to the same color as the chart background means they won't be visible, but will still affect the chart scale.

    As a hint, type in a NinjaScript editor "this.ChartControl." to see some unsupported properties.
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    566 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    330 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    547 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    548 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X