Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

do anything when any indicator cross any drawing tool like a Line

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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

    thanks
    Attached Files

    #2
    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.

    Comment


      #3
      Thanks I let you know

      Comment


        #4
        Any update about the question in this post?
        Originally posted by NinjaTrader_ChrisL View Post
        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.

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