NinjaTrader Support Forum  

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 09-29-2009, 08:16 AM   #1
blarouche
Senior Member
 
Join Date: Apr 2009
Posts: 198
Thanks: 0
Thanked 0 times in 0 posts
Default Extending a rectangle

Hi all,

I would like to know if and how it is possible to extend a rectangle on the Chart right to the right edge of the screen.


Thanks

Bernard
blarouche is offline  
Reply With Quote
Old 09-29-2009, 09:00 AM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

Bernard,

You can only draw a rectangle to the right most bar unless you override the Plot method. Unfortunately doing so is outside the scope of what we can support, but there is an example you can see preinstalled with your NT as an indicator called CustomPlotSample.
NinjaTrader_Josh 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
Extending NinjaTrader for new brokers or data providers novatago General Programming 0 09-07-2009 11:56 AM
Extending a line while constraining the angle? Elliott Wave Charting 2 11-12-2008 06:37 AM
extending trendline to the right side. 12345 Charting 1 08-14-2008 12:37 PM
Extending a Line forward velocity General Programming 2 06-28-2008 12:37 PM
Extending drawn lines LG Charting 9 04-22-2007 09:32 PM


All times are GMT -6. The time now is 11:07 PM.