thanks
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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.Chris L.NinjaTrader Customer Service
- 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 knighty6508, 05-10-2024, 01:20 AM
|
4 responses
25 views
0 likes
|
Last Post
by knighty6508
Today, 05:29 AM
|
||
Started by OllieFeraher, 05-09-2024, 11:14 AM
|
6 responses
19 views
0 likes
|
Last Post
by OllieFeraher
Today, 04:00 AM
|
||
Started by PaulMohn, 05-02-2024, 06:59 PM
|
2 responses
44 views
0 likes
|
Last Post
by PaulMohn
Today, 03:51 AM
|
||
Started by ETFVoyageur, Today, 02:10 AM
|
0 responses
14 views
0 likes
|
Last Post
by ETFVoyageur
Today, 02:10 AM
|
||
Started by rayyyu12, Today, 12:47 AM
|
0 responses
9 views
0 likes
|
Last Post
by rayyyu12
Today, 12:47 AM
|
Comment