Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Grabbing information from a tool that has been drawn on chart...
Collapse
X
-
Grabbing information from a tool that has been drawn on chart...
Is there anyway to get information on e.g.: a rectangle that has been drawn on the chart using one of the NT Drawing Tools? I understand how to draw a rectangle using C# and overriding Plot(), however, I was hoping to use the existing Rectangle drawing tool in the NT tools menu and just grabbing the information from that. Do-able? I send my request out to fellow C# programmers as I will assume this is *unsupported*. And please, technical responses only
Tags: None
-
Hello,
Yes this is possible if I'm understanding your question correctly and we have an example of doing this with other drawing objects here: http://www.ninjatrader.com/support/f...tid=-1&lpage=1
Let me know if I can further assist.LanceNinjaTrader Customer Service
-
Thank you, I will look into it. I think what I may be looking for I figured out:Originally posted by funk101 View PostIs there anyway to get information on e.g.: a rectangle that has been drawn on the chart using one of the NT Drawing Tools? I understand how to draw a rectangle using C# and overriding Plot(), however, I was hoping to use the existing Rectangle drawing tool in the NT tools menu and just grabbing the information from that. Do-able? I send my request out to fellow C# programmers as I will assume this is *unsupported*. And please, technical responses only
foreach (object c in ChartControl.ChartObjects)
{
Print(c.ToString());
}
Comment
-
Yeah, that's the ticket. ThanksOriginally posted by NinjaTrader_Lance View PostHello,
Yes this is possible if I'm understanding your question correctly and we have an example of doing this with other drawing objects here: http://www.ninjatrader.com/support/f...tid=-1&lpage=1
Let me know if I can further assist.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
81 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
41 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
64 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
66 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
54 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment