![]() |
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
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Member
Join Date: Aug 2009
Posts: 38
Thanks: 0
Thanked 0 times in 0 posts
|
Is there a way to turn autoscale off for oscillators that draw 0-100 values?
I don't mean the autoscale property for drawings on panels. I mean that if I have an oscillator that could range from 0-100 but it's currently always above 60, for example, then 60 becomes the bottom edge of the graph and you have no sense of context. I'd like to see all that blank space from 0 to 60 with the plot over the halfway point in the visual space. Make sense? How do I do that? |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
noevictorian, unfortunately changing the scale is not supported in NinjaTrader 6.5, however our upcoming version 7 would offer more options in this regard.
NinjaTrader 6.5 would scale this dynamically depending on the visible portion on your current osc / chart view...
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Aug 2009
Posts: 38
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks for the reply. Boy am I excited for NT7.
|
|
|
|
|
|
#4 |
|
Member
Join Date: Aug 2009
Posts: 38
Thanks: 0
Thanked 0 times in 0 posts
|
Can I ask you another question without starting a new thread for it. I've searched the forum and must be using the wrong search terms because I can't imagine it hasn't been asked and answered:
Can I reference the level of a specific line in a statement? For example I have overbought/oversold lines at 30 and 70... if a user changes these to 90 and 10 in the line configuration settings of the indicator, can I then reference their custom values in logic like this: if plot[0] > theirCustomLineValue Print("over the line"); right now I'm hardcoding my if logic but when they change it my logic doesn't match their chart. If they change the line to 90 and my logic is hardcoded: if plot[0] > 70 Print("over the line"); It's wrong. Suggestions? Or should I start a new thread to help others searching for this topic? |
|
|
|
|
|
#5 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
You would just need to define a user defined input level for this custom line, then it would work and be 'picked up' - http://www.ninjatrader-support2.com/...ead.php?t=5782
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#6 |
|
Member
Join Date: Aug 2009
Posts: 38
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks, Josh. I've basically done that. Maybe I should post my code. When I'm back at my desk I'll do just that. Because, yeah I thought it would be that easy but it's not working so I'm clearly screwing something obvious up.
Thanks |
|
|
|
|
|
#7 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
Ok, please do and we have a look later, thanks
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Saving charts drawings | yuvalw | Suggestions And Feedback | 7 | 07-19-2010 03:50 AM |
| Back Testing Strategy - Drawings Don't Show | Ranger | Strategy Analyzer | 6 | 03-12-2009 10:08 AM |
| Line drawings get cut off | trader_rick1234 | Charting | 5 | 02-05-2009 07:46 AM |
| Saving Drawings On Charts? | cbratton | Charting | 4 | 02-01-2009 11:35 AM |
| Ability to lock drawings on chart | VagyokC4 | Suggestions And Feedback | 1 | 09-22-2007 03:53 AM |