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

Comment