NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Suggestions and Feedback > Suggestions And Feedback

Suggestions And Feedback New feature suggestions and feedback.

Reply
 
Thread Tools Display Modes
Old 08-23-2008, 05:37 AM   #1
tobbe
Member
 
Join Date: Feb 2008
Posts: 36
Thanks: 0
Thanked 0 times in 0 posts
Default Angle errors when moving lines

To be able to extend trendlines and maintain the angles etc (building channels) with NT you have to resort to copying and pasting line segments. Doing that, the individual line segments often become unaligned, it looks like one end of the line 'snaps' to some invisible grid and the angle of the line (slope) is changed. If you move the line some more, sometimes it 'snaps' back to it's original angle.

I can't describe this in any better way. I've attached a small image showing how one line (the top one) has been copied and pasted onto the chart, and then moved into position. No other change has been made. Look closely and you'll see that they no longer have the same angles (you might have to enlarge the image).

If you draw somewhat complicated channels etc this is very annoying since longer trendlines don't match and look broken. Even if you have succeeded in drawing what looks like a correct chart, sometimes lines become unaligned if the y-scale is changed.

If you want to see the "wobble" effect, draw a longish line on the chart with about 45 degrees angle to the time axis and slowly drag it up and down, observing the endpoints.
Attached Images
File Type: png nt-line-alignment.png (1.4 KB, 56 views)
tobbe is offline  
Reply With Quote
Old 08-23-2008, 12:50 PM   #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

Hmm. The grid it snaps to is the bars. It will try to extend and match up to have the end points be in the center of the bars. I made many copy pastes but can't seem to see what you are seeing.
Attached Images
File Type: jpg AAPL 8_20_2008 (1 Min).jpg (97.4 KB, 13 views)
NinjaTrader_Josh is offline  
Reply With Quote
Old 08-24-2008, 04:11 AM   #3
tobbe
Member
 
Join Date: Feb 2008
Posts: 36
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by Josh View Post
Hmm. The grid it snaps to is the bars. It will try to extend and match up to have the end points be in the center of the bars. I made many copy pastes but can't seem to see what you are seeing.
Here's another way to illustrate the same problem. I've used two lines to construct a longer line with the same angle towards the horizontal axis. Then I changed the vertical scale, and suddenly the two line segments are off by a pixel or two.

Note, this does not happen all the time, but often enough to become a source of frustration. Imagine when this happens in a chart like this http://www.elitetrader.com/vb/attach...postid=2037384 or like this http://www.elitetrader.com/vb/attach...postid=2039125 which are constructed by a large number of small line segments. Unfortunately this is the only way to construct channels in NT since there is no way to extend a line while maintaining it's angle etc.

NT is a great piece of software, but it still lacks a lot when it comes to drawing support, and I don't mean this "bug". If memory serves I posted before that it would be good to take a look at some of your competition for ideas .
Attached Images
File Type: png line-angle-error.png (36.9 KB, 18 views)
tobbe is offline  
Reply With Quote
Old 08-24-2008, 05:38 AM   #4
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

Thanks for your suggestion. We'll add it to the list of future considerations.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 08-26-2008, 07:01 AM   #5
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

This is the nature of copied trendlines. Each line has two anchor points which dicate the pixel the lines fall on base on the y-scale. For comparison, I quickly tested this on eSignal with the exact same result you experienced.
NinjaTrader_Ray is offline  
Reply With Quote
Old 09-08-2008, 01:08 PM   #6
tobbe
Member
 
Join Date: Feb 2008
Posts: 36
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by NinjaTrader_Ray View Post
This is the nature of copied trendlines. Each line has two anchor points which dicate the pixel the lines fall on base on the y-scale. For comparison, I quickly tested this on eSignal with the exact same result you experienced.
Thanks for taking your time to look into this. Maybe this is a chance to make NT better than the competition (you already are in many areas). Anyway, I have never used eSignal, but never experienced this kind of problem using qcharts (now an eSignal product) or QT etc.

If it was possible to change line length while maintaining the line angle this would be a non-issue. I think I suggested that in some other post.
tobbe 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
angle of indicaor stephenszpak Indicator Development 8 06-08-2008 02:56 PM
Saving Drawn Lines and Fib Lines jfalbert19 Charting 6 04-01-2008 07:45 PM
Calc an angle? Burga1 Indicator Development 1 01-29-2008 09:52 AM
Slppe/Angle of indicator AO76 Indicator Development 6 07-09-2007 10:22 PM
Need help with a condition to check the angle of an MA NinjaTrader_Ray Strategy Development 2 06-08-2007 02:00 PM


All times are GMT -6. The time now is 03:26 PM.