thanks
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
do anything when any indicator cross any drawing tool like a Line
Collapse
X
-
do anything when any indicator cross any drawing tool like a Line
I want to put an arrow or any order when the blue line crosses the purple one down, I don't know if just is possible using the "strategy builder wizard" or maybe I have to use C# code
thanksTags: None
-
Hello polopolo, thanks for your question.
Unfortunately, you can not access drawing object information from the strategy builder. One would need to set up the drawing tool as an object
e.g. NinjaTrader.NinjaScript.DrawingTools.Line myLine = Draw.Line(this, "tag1", false, 10, 1000, 0, 1001, Brushes.LimeGreen, DashStyleHelper.Dot, 2);
or loop through the DrawObjects array to find a user drawn object.
Please let me know if I can assist any further.
- Likes 1
-
Any update about the question in this post?
Originally posted by NinjaTrader_ChrisL View PostHello polopolo, thanks for your question.
Unfortunately, you can not access drawing object information from the strategy builder. One would need to set up the drawing tool as an object
e.g. NinjaTrader.NinjaScript.DrawingTools.Line myLine = Draw.Line(this, "tag1", false, 10, 1000, 0, 1001, Brushes.LimeGreen, DashStyleHelper.Dot, 2);
or loop through the DrawObjects array to find a user drawn object.
Please let me know if I can assist any further.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
52 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
72 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
38 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
99 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
60 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment