Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Testing for Drawing Object

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

    Testing for Drawing Object

    Is there any way to test for the existance of a drawing object like down and up trangles that are in the indicator panel?

    Thanks,
    Mike

    #2
    Unfortunately this is not supported.
    RayNinjaTrader Customer Service

    Comment


      #3
      What you could do is run a bool when your strategy/indicator draws an object. If that bool is true then there is an object somewhere. If its false then there are none.
      Josh P.NinjaTrader Customer Service

      Comment


        #4
        Unfortunately, the indicator that I am watching was developed by someone else and the code is locked. So, I have no way of inserting code into that indicator. I have a custom indicator that I've written and would like it to test for the existance of the triangle that was displayed by that other indicator.

        thanks,
        Mike

        Comment


          #5
          You are going to have to ask the original author to expose some variable that evaluates to true when it draws a triangle then. With that variable you can determine if the object was drawn or not.
          Josh P.NinjaTrader Customer Service

          Comment


            #6
            That's what I figured but thought I'd ask just in case.

            Thanks,
            Mike

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            571 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            331 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            101 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            549 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            549 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X