NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 04-23-2008, 01:50 PM   #1
mgbloomfield
Senior Member
 
Join Date: Dec 2006
Location: Seattle, Washington, USA
Posts: 150
Thanks: 0
Thanked 0 times in 0 posts
Default Make all Oscillator lines visible

I created a new Indicator with two Oscillators. The first one is set to 20 and the second one is set to -20. Both are red.

When the indicator is added to the chart (2nd panel), the Oscillator lines are not visible. However, if the plot line touches 20, then that Oscillator line will be visible. Ditto for -20.

The plot line itself will range from 100 to -100.

How do I force the 2nd panel to show both Oscillator lines when the indicator is added to the chart?
mgbloomfield is offline  
Reply With Quote
Old 04-23-2008, 02:11 PM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

We do not support fixed y scale at this time which would do what you wish. What you could do is add two more plots and have them at constant values fo 100, -100. This will then force the indicator panel to scale from 100 to -100.
NinjaTrader_Ray is offline  
Reply With Quote
Old 04-24-2008, 09:29 PM   #3
KBJ
Senior Member
 
Join Date: Mar 2007
Location: , Florida, USA
Posts: 663
Thanks: 36
Thanked 7 times in 6 posts
Default

I think this might solve what you're trying to do.

See this posting that I made last week: Is there a way to "fix" the Y axis?

Keep in mind that as Ray has stated, there is no supported way to this, so my technique is not guaranteed to work in future versions of NinjaTrader.
KBJ is offline  
Reply With Quote
Old 04-24-2008, 11:47 PM   #4
mgbloomfield
Senior Member
 
Join Date: Dec 2006
Location: Seattle, Washington, USA
Posts: 150
Thanks: 0
Thanked 0 times in 0 posts
Default

Excellent, that'll work very nicely.

Just have to watch out for the upgrades.
mgbloomfield is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Strategy Visible In Chart Trader And Dom Willl Strategy Development 7 09-15-2009 04:06 AM
Request: Bill Williams Awesome Oscillator & Accelerator Oscillator jeremymgp Indicator Development 26 11-04-2008 08:41 PM
Charting Problem--Rays / Lines are not visible on following day. ninja.man Charting 2 10-22-2007 03:41 PM
ZigZag not visible JonesWooHoo Charting 2 10-08-2007 05:42 PM
Visible bar MrBaffalo Indicator Development 2 01-18-2007 04:07 AM


All times are GMT -6. The time now is 11:59 AM.