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!
See more
See less

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 rbeckmann05, Yesterday, 06:48 PM
            1 response
            12 views
            0 likes
            Last Post bltdavid  
            Started by llanqui, Today, 03:53 AM
            0 responses
            6 views
            0 likes
            Last Post llanqui
            by llanqui
             
            Started by burtoninlondon, Today, 12:38 AM
            0 responses
            10 views
            0 likes
            Last Post burtoninlondon  
            Started by AaronKoRn, Yesterday, 09:49 PM
            0 responses
            15 views
            0 likes
            Last Post AaronKoRn  
            Started by carnitron, Yesterday, 08:42 PM
            0 responses
            11 views
            0 likes
            Last Post carnitron  
            Working...
            X