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 MacDad, 02-25-2024, 11:48 PM
            7 responses
            157 views
            0 likes
            Last Post loganjarosz123  
            Started by Belfortbucks, Today, 09:29 PM
            0 responses
            6 views
            0 likes
            Last Post Belfortbucks  
            Started by zstheorist, Today, 07:52 PM
            0 responses
            7 views
            0 likes
            Last Post zstheorist  
            Started by pmachiraju, 11-01-2023, 04:46 AM
            8 responses
            151 views
            0 likes
            Last Post rehmans
            by rehmans
             
            Started by mattbsea, Today, 05:44 PM
            0 responses
            6 views
            0 likes
            Last Post mattbsea  
            Working...
            X