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 07-04-2007, 12:57 AM   #1
FireFly
Senior Member
 
Join Date: Apr 2007
Location: , ,
Posts: 150
Thanks: 0
Thanked 0 times in 0 posts
Default Drawing a 'ray' starting from CurrentBar?

Can I draw a 'ray' (as in the DrawRay method) starting from the CurrentBar into the empty space on the right?
In the DrawRay method I cannot use an endpoint <0 (which would be on the right of the Currentbar).
Is there a simple way to do this anyway?

Thanks!
FireFly is offline  
Reply With Quote
Old 07-04-2007, 03:35 AM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

>> Can I draw a 'ray' (as in the DrawRay method) starting from the CurrentBar into the empty space on the right?
Sorry no. This is on our list of future considerations already.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 05-01-2008, 08:46 AM   #3
FireFly
Senior Member
 
Join Date: Apr 2007
Location: , ,
Posts: 150
Thanks: 0
Thanked 0 times in 0 posts
Default

Hi,

I was wondering if this has already been implemented or if some kind of workaround is available for drawing a 'ray' starting from CurrentBar.
FireFly is offline  
Reply With Quote
Old 05-01-2008, 08:49 AM   #4
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

Having anchor points in the future is not currently supported.
NinjaTrader_Ray is offline  
Reply With Quote
Old 05-01-2008, 09:17 AM   #5
FireFly
Senior Member
 
Join Date: Apr 2007
Location: , ,
Posts: 150
Thanks: 0
Thanked 0 times in 0 posts
Default

I hope you guys will still implement this some day.
To me it doesn't seem to be such a big technical challenge to accept negative (=future) barnumbers for X1 in the DrawRay method. After all they are only used to calculate the slope of the line.
FireFly 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
Need help with Drawing text sisidemo Indicator Development 25 08-30-2007 12:01 PM
Charts not updating properly after starting Ninja MarlinTrader Charting 1 06-04-2007 07:25 AM
strategy/auto trade problem: stops/etc. initiate upon starting of strategy scriabinop23 Automated Trading 14 05-30-2007 12:29 PM
Drawing tools max1ci6 Charting 1 03-29-2007 01:15 AM
NT6 Drawing tools LG Charting 1 11-17-2006 08:22 AM


All times are GMT -6. The time now is 02:10 AM.