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.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Snapping horizontal lines to price
Collapse
X
-
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.Tags: None
-
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.BrettNinjaTrader Product Management
-
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?
Comment
-
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.BrettNinjaTrader Product Management
Comment
-
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.
Comment
-
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.
Comment
-
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.
Comment
-
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.BrettNinjaTrader Product Management
Comment
-
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...?
Comment
-
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:
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.BrettNinjaTrader Product Management
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
628 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
360 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
564 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
568 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment