Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Horizontal Ray Drawing Tool
Collapse
X
-
Horizontal Ray Drawing Tool
There are multiple threads on this from the past but this feature has still yet to be implemented. Right now, both horizontal line and free-angle ray drawing tools exist but it would be extremely useful to have a horizontal ray tool. For example, for marking new levels that are only valid into the future. This is an exceedingly simple feature and there's really no reason why it shouldn't be implemented in the next release. Even if it's something like having to hold the shift key when drawing a normal ray to keep it horizontal, it would be extremely useful. Thank you for your consideration. -
I edited the line tool just last week to accommodate this. Replace the attached file in the drawing tools folder in Documents/Ninjatrader 8/../..
Then draw a ray, line, arrow or any other type of line with the shift key held and it will be constrained to horizontal
- Likes 1
Comment
-
I'm sorry, I'm not at all Familiar with NT7, so I can't help. It was very easy to implement though, it took less than 5 minutes to figure it out. Here's the code that does it, from the OnMouseDown method on the drawing tool:
Code:else if (EndAnchor.IsEditing) { dataPoint.CopyDataValues(EndAnchor); EndAnchor.IsEditing = false; if (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift)) { EndAnchor.Price = StartAnchor.Price; } }
Comment
-
Originally posted by reach4thelasers View PostI'm sorry, I'm not at all Familiar with NT7, so I can't help. It was very easy to implement though, it took less than 5 minutes to figure it out. Here's the code that does it, from the OnMouseDown method on the drawing tool:
Code:else if (EndAnchor.IsEditing) { dataPoint.CopyDataValues(EndAnchor); EndAnchor.IsEditing = false; if (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift)) { EndAnchor.Price = StartAnchor.Price; } }
If one of the Ninjatrader support team knows how to do this would be greatly appreciated!
Thanks
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by benmarkal, Yesterday, 12:52 PM
|
3 responses
22 views
0 likes
|
Last Post Today, 05:22 AM | ||
Started by helpwanted, Today, 03:06 AM
|
1 response
18 views
0 likes
|
Last Post Today, 03:35 AM | ||
Started by Brevo, Today, 01:45 AM
|
0 responses
11 views
0 likes
|
Last Post
by Brevo
Today, 01:45 AM
|
||
Started by aussugardefender, Today, 01:07 AM
|
0 responses
6 views
0 likes
|
Last Post Today, 01:07 AM | ||
Started by pvincent, 06-23-2022, 12:53 PM
|
14 responses
244 views
0 likes
|
Last Post
by Nyman
Today, 12:47 AM
|
Comment