![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Dec 2007
Location: Dallas, Texas
Posts: 65
Thanks: 0
Thanked 0 times in 0 posts
|
Two questions:
1) Can you fix the Y axis to a set range. 2) I am trying to plot an oscillator with a value of 2.65. However, when the Y axis moves and rescales to whole numbers i.e. 1 - 6 the oscillator does not appear. Looks like the visible scale must include the oscillator value or there is no anchor point to plot the oscillator. Do I have to rescale my data myself? |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
1) No.
2) Not sure what you mean. Assuming this indicator is in its own panel, the plot should always be visible if its the only indicator in the panel.
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Dec 2007
Location: Dallas, Texas
Posts: 65
Thanks: 0
Thanked 0 times in 0 posts
|
"2) Not sure what you mean. Assuming this indicator is in its own panel, the plot should always be visible if its the only indicator in the panel."
What is happening is that as the values for the plot change the range goes from 1.1/3.6 to 1/8. At the lower range the scale is in decimals but as the range goes to 1/8 the scale switches to whole number. The oscillator appears on the graph at the lower scale at 2.65 but does not when the scale changes to whole numbers. I can send screen prints and code if you would like. |
|
|
|
|
|
#4 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
Yes, please post screenshots. Thanks.
Ray
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Logarithmic scale for chart y-axis? | JangoFolly | Charting | 13 | 05-04-2009 08:42 AM |
| Staggering the X-axis | BenHeaton | Charting | 2 | 02-06-2008 02:15 PM |
| Plans for 2 axis? | henry.omd | Charting | 1 | 01-13-2008 08:30 AM |
| Y axis range | dgregor5 | Charting | 1 | 12-14-2007 03:14 PM |
| Need 2nd Axis / Auto-scale group in price plot | aslane | Suggestions And Feedback | 1 | 05-26-2006 01:42 AM |