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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
656 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
371 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
109 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
574 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
579 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment