Thanks!
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Is there a way to "fix" the Y axis?
Collapse
X
-
Is there a way to "fix" the Y axis?
I'd like to have the Y axis on my charts 'fixed' so that the scale remains the same regardless of what the current or past prices are. If the price moves outside my fixed Y axis range, it would just go off the chart and I'd have to vertically scroll or change the axis scale to see it. Is this possible?
Thanks!Tags: None
-
PepeIlegal has written the Vertical Scrolling Script to fix the Y-Axis:
Comment
-
And this will work with an individual indicator to keep it from rescaling, but not the price panel...
The above was added to my copy of the Ergodic to keep it from rescaling itself all the time. With these values it will always display from -100 to +100 (the theoretical limits for the indicator) whether or not there are any values plotted close to these extremes.Code:public override void GetMinMaxValues(ChartControl chartControl, ref double min, ref double max) { min = -100; // As far south as it can go. max = +100; // Set a top limit too. }
Comment
-
For indicators you can simply add the indicator "Constant Lines" to the indicator's panel, select the values and make the lines transparent.
Best trading,
Jorge
Comment
-
I put this in the Suggestion forum quite sometime ago, but don't see it listed there anymore. Perhaps I just overlooked it, but I for one would sure appreciate this enhancement. TS has it, but they (last time I saw it), had it set that when it was locked to a size, it would also AutoCenter, which I thought made no sense at all. Anyway, just my 2 cents worth.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
83 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
47 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
29 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
32 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
66 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment