NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Charting

Charting Support for NinjaTrader Advanced Charting.

Reply
 
Thread Tools Display Modes
Old 07-15-2010, 09:03 AM   #1
photog53
Senior Member
 
Join Date: Feb 2010
Location: Kansas
Posts: 142
Thanks: 4
Thanked 9 times in 5 posts
Default Drawing Tools...Rectangle

Ninja Trader 7.0.0.18

Is there a 'setting' for the Drawing Tools>Rectangle....that will allow it to continue extending to the right?
(NOTE: The 'Fib' Drawing Tools have a checkbox to extend to the right)

I draw "support/resistance' zones using the rectangle, and once set I would like the option to have these 'zones' keep extending right as price moves.
As it stands now I have to manually keep moving and extending these things.


Thanks....
photog53 is offline  
Reply With Quote
Old 07-15-2010, 09:24 AM   #2
NinjaTrader_Chip
NinjaTrader Customer Service
 
NinjaTrader_Chip's Avatar
 
Join Date: Dec 2009
Location: Denver, CO
Posts: 1,422
Thanks: 0
Thanked 0 times in 0 posts
Default

Hello photog53,

Thank you for your post.

If you are setting horizontal levels based on a rectangle drawing object, have you tried using the Ray drawing object? This would plot an extended line that you could re-position up or down as your support/resistance levels changed.

If this is not the case, please provide a screenshot so that I may better understand you query.

Thank you,
NinjaTrader_Chip is offline  
Reply With Quote
Old 07-16-2010, 09:56 AM   #3
photog53
Senior Member
 
Join Date: Feb 2010
Location: Kansas
Posts: 142
Thanks: 4
Thanked 9 times in 5 posts
Default

I have attached a quick screen grab for a visual......

What I have done in other charting systems, .and would like to do in Ninja.....is
to draw 'zones' of Support & Resistance that project forward.
I draw these early in the day, and then periodically check to see when Price action moves
into one of the 'zones'.

Single line Rays will extend but they extend only for a single price point. Multiple
Rays (top & bottom of a zone) don't have the visual impact of a colored Rectangle.

Ex: I draw the initial rectangle at 6am CDT. By 7am I have to manually extend
the 'zone' forward because the right edge stops at the point I initially drew the rectangle.
I would like a "checkbox" that would extend the rectangle automatically to the right as
price moves....rather than my having to manually extend it.

Thanks.............
Attached Images
File Type: jpg NT support1.jpg (83.2 KB, 53 views)
photog53 is offline  
Reply With Quote
Old 07-16-2010, 02:58 PM   #4
NinjaTrader_Chip
NinjaTrader Customer Service
 
NinjaTrader_Chip's Avatar
 
Join Date: Dec 2009
Location: Denver, CO
Posts: 1,422
Thanks: 0
Thanked 0 times in 0 posts
Default

Hello photog53,

Thank you for your response.

This would be possible but since the rectangular drawing tool is not purposed for this ‘extension’ then custom programming in NinjaScript would be necessary.

There is a growing library of user submitted custom indicators (100+) that can be downloaded from our support form. Please look in the NinjaScript File Sharing section of our support forum as you may find what you are looking for here:
http://www.ninjatrader-support.com/vb/index.php

If you have limited time or programming capabilities, you can discuss your requirements with any of our NinjaScript consultants.
http://www.ninjatrader.com/webnew/pa...injaScript.htm

Please let me know if I can answer any additional questions.
NinjaTrader_Chip is offline  
Reply With Quote
Old 07-16-2010, 03:16 PM   #5
photog53
Senior Member
 
Join Date: Feb 2010
Location: Kansas
Posts: 142
Thanks: 4
Thanked 9 times in 5 posts
Default

Too bad this isn't a targeted change. (I've heard this shortcoming bemoaned in more than
one trading room....mostly from people accustomed to the power of eSignal and other charting packages).

I can code C#.....and I imagine a DrawRectangle with a right edge at the CurrentBar/current time would work.

.....(you might want to reconsider adding a 'checkbox' to keep th Rectangle right edge always at currentbar or currenttime.
Thanks ..
photog53 is offline  
Reply With Quote
Old 07-16-2010, 03:25 PM   #6
NinjaTrader_Chip
NinjaTrader Customer Service
 
NinjaTrader_Chip's Avatar
 
Join Date: Dec 2009
Location: Denver, CO
Posts: 1,422
Thanks: 0
Thanked 0 times in 0 posts
Default

Hello photog53,

Definitely check out the NinjaScript file sharing section to see if you find this tool already available. I will forward this note to our development department for consideration.

Please let me know if I can answer any additional questions.
NinjaTrader_Chip is offline  
Reply With Quote
Old 07-18-2010, 07:09 PM   #7
photog53
Senior Member
 
Join Date: Feb 2010
Location: Kansas
Posts: 142
Thanks: 4
Thanked 9 times in 5 posts
Default

I've coded an indicator to draw these zones. it works on Ninja 7....and I've uploaded it to the "Indicators" portion of the Ninja Support website. It is called ColorZone2.

Calling up an indicator and keying the levels isn't quite as convenient as using a drawing tool....especially for ad hoc zones, but this will work for now.

My code allows color, opacity, and border color control...in addition to setting the two price levels (top & bottom) for the zone. Colors are serialized, so they should work OK.


As always...thanks for the quick responses...
photog53 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
drawing tools zaza5000 Version 7 Beta General Questions & Bug Reports 1 06-23-2010 02:32 AM
Drawing tools momtic Charting 3 05-21-2010 03:24 AM
Drawing tools Sidvish912 Charting 1 05-18-2010 03:07 AM
Fib Fann drawing tool please and other drawing tools have issues DancesWithBears Version 7 Beta General Questions & Bug Reports 1 02-06-2010 09:05 AM
Drawing rectangle not working stormze Indicator Development 3 05-16-2009 12:44 PM


All times are GMT -6. The time now is 12:10 PM.