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 > Application Technical Support > Miscellaneous Support > Historical Version 7 Beta Threads > Version 7 Beta General Questions & Bug Reports

Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports.

 
 
Thread Tools Display Modes
Old 08-11-2010, 11:04 AM   #1
MikeInMA
Senior Member
 
Join Date: Jul 2007
Location: Taunton, MA
Posts: 202
Thanks: 1
Thanked 0 times in 0 posts
Default Snapping horizontal lines to price

When Snap Mode is set to Price, are horizontal lines supposed to snap? If so, that doesn't appear to work in beta 19.

Specifically, if I use F6 to draw a horizontal line when Snap Mode is set to Price and then select the line to move it, it moves smoothly and I can position it anywhere. I would have expected the line to step from one valid price point to the next.
MikeInMA is offline  
Old 08-11-2010, 11:17 AM   #2
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

Can you please change the Snap mode to Bar and Price and see if this works more as you expect. As depending on how much data you are loading into the chart the snap to price can have a lot of prices to snap. As if there are several OHLC data points around one price point it could give the impression that is not snapping to price. In this case Snap to Bar and Price would need to be used to narrow down what bar your wanting to snap to.

Let me know if I can be of further assistance.
NinjaTrader_Brett is offline  
Old 08-11-2010, 11:31 AM   #3
MikeInMA
Senior Member
 
Join Date: Jul 2007
Location: Taunton, MA
Posts: 202
Thanks: 1
Thanked 0 times in 0 posts
Default

No, Bar and Price is not what I had in mind. And my prices are far enough apart that I would see the line stepping from price to price if it were doing so.

Suppose, for example, that I wanted to draw a line at a potentially significant price, like an old low or an old high, that is not the OHL or C of a particular bar. I hit F6 to draw my line, and then I want to drag it to my preferred price. If Snap Mode is set to Price, shouldn't my line move from valid price to valid price? If that's not the expected behavior – and that's certainly not what's happening – then what does Snap Mode Price mean with respect to horizontal lines?
MikeInMA is offline  
Old 08-11-2010, 11:49 AM   #4
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,


Please see the screenshot. You can see that I have moved this horizontal line. The points that it can snap to are every OHLC on the entire chart. For example in the screenshot. You can see where I wanted to get the low of the circled lowest point. Instead I got the High of the bar ahead of that and I'm not quite on the lowest low or snapped to the lowest low. As every price is valid when in snap to price mode.

Now in this situation if I was on snap to Price and Bar, and I had my curser on the bar I wanted to specifically snap to I could have got this point without having interference from the other High point that was so close by having my pointer on the bar that I was only interested in the low for.



Let me know if I can be of further assistance.
Attached Images
File Type: jpg snaptoprice.jpg (43.1 KB, 13 views)
NinjaTrader_Brett is offline  
Old 08-11-2010, 11:56 AM   #5
MikeInMA
Senior Member
 
Join Date: Jul 2007
Location: Taunton, MA
Posts: 202
Thanks: 1
Thanked 0 times in 0 posts
Default

On an ES chart with Snap Mode set to Price, I hit F6 and got a horizontal line at 1089.425 (according to the line's properties). That is not a valid ES price. Then I grabbed the line and dragged it an arbitrary amount, and it came to rest at 1087.761. Definitely not a valid ES price. So what's my line snapping to? The answer appears to be Nothing.
MikeInMA is offline  
Old 08-11-2010, 02:43 PM   #6
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

What time frame chart are you using when you can reproduce this?
NinjaTrader_Brett is offline  
Old 08-11-2010, 06:53 PM   #7
MikeInMA
Senior Member
 
Join Date: Jul 2007
Location: Taunton, MA
Posts: 202
Thanks: 1
Thanked 0 times in 0 posts
Default

Further investigation seems to indicate that this problem is provoked by the presence of a particular third-party indicator. I'm waiting for a new release of this suite of indicators, and if the problem persists at that point I'll bring it to the attention of the vendor.
MikeInMA is offline  
Old 08-12-2010, 07:18 AM   #8
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

Sounds good for our records which indicator package do you have installed that you believe is causing this?
NinjaTrader_Brett is offline  
Old 08-12-2010, 10:58 AM   #9
393mach1
Junior Member
 
Join Date: May 2010
Posts: 11
Thanks: 0
Thanked 0 times in 0 posts
Default

hi, same problem here. mine is being caused by the "KeltnerChannel" indicator (the one that came with ninjatrader). its weird, it only happens on a chart of the ES. i also have a chart of the TF, and YM and they both work fine. i tried making a new chart for each contract and get the same results every time; snaps work fine for all charts until i add the KeltnerChannel, then just the ES stops snapping, but the other two work fine.
393mach1 is offline  
Old 08-12-2010, 11:13 AM   #10
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

Thank you for posting this.

This is reproducable on my side when an indicator is applied to a chart. What is occuring is that it is snapping to the price value of the indicator. I am checking with development to see if this is expected.

I look forward to assisting you further.
NinjaTrader_Brett is offline  
Old 08-12-2010, 11:33 AM   #11
MikeInMA
Senior Member
 
Join Date: Jul 2007
Location: Taunton, MA
Posts: 202
Thanks: 1
Thanked 0 times in 0 posts
Default

I'm glad this was reproduced without me having to rat out the indicator vendor! Anyway, I reproduced the issue using the Keltner channel because I was curious to see if the object the line was attached to somehow got changed. It did not.

As long as the line remains attached to the data series, it should only snap to valid values for the data series, doncha think...?
MikeInMA is offline  
Old 08-12-2010, 12:00 PM   #12
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

Heard back from development, this is expected as Snap to price means any plotted y value.

Let me know if I can be of further assistance.
NinjaTrader_Brett is offline  
Old 08-12-2010, 12:01 PM   #13
393mach1
Junior Member
 
Join Date: May 2010
Posts: 11
Thanks: 0
Thanked 0 times in 0 posts
Default

but why does it work as i expected on the TF and YM? is there any way to make it work correctly on the ES?
393mach1 is offline  
Old 08-12-2010, 12:08 PM   #14
MikeInMA
Senior Member
 
Join Date: Jul 2007
Location: Taunton, MA
Posts: 202
Thanks: 1
Thanked 0 times in 0 posts
Default

And what, then, does it mean that the horizontal line is attached to the data series? (Seems like that's being completely ignored.) If I wanted to snap to indicator values I'd attach the line to the indicator!
MikeInMA is offline  
Old 08-12-2010, 02:14 PM   #15
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

393,

This has to do with the instruments pricing format. Since the ES has 2 decimal points being it has this amount to be truncated to. Whereas on the YM this has no decimal value and the TF only has one decimal value therefor it truncates right to the decimal value that your expecting the ES does not.

MikeInMA,

Attach to is unrelated to its positioning. Attach to allows you to duplicate this drawing object on multiple charts.

Please see the following from the help guide:

http://www.ninjatrader.com/support/h...ub=Attach%2BTo

Attach to
Applies the drawing object to the selected instrument on a single chart or all charts with the same instrument. (see the "How to Enable a Global Drawing Object" section below)



Let me know if I can be of further assistance.
NinjaTrader_Brett is offline  
 

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
Bug: Horizontal grid lines interval breaks price display Specterx Version 7 Beta General Questions & Bug Reports 1 04-19-2010 08:24 AM
Horizontal Lines that show price jbhansen7 Indicator Development 3 01-29-2010 08:16 AM
Horizontal Grid Lines at Price Intervals Quicktrader10 Charting 1 01-05-2007 06:04 AM
Horizontal Lines guym Suggestions And Feedback 2 12-07-2006 08:32 AM
Spacing between horizontal grid lines on Price Chart Quicktrader10 Charting 2 09-28-2006 03:32 AM


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