Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Fixed Vertical Scale with Dynamic Minimum and Maximum Values
Collapse
X
-
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? -
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
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
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
330 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
547 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
548 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment