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

data box

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

    data box

    hi, is there a way i can query the data box?

    #2
    Hello pman777,
    Unfortunately there are no supported way of doing it.

    If you want to get the indicator values, you can loop through the Indicator array using the unsupported ChartControl class

    Code:
    ChartControl.Indicators
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      that may work for what I'm trying to accomplish. Is there any documentation or examples you can direct me to regarding this class?

      Comment


        #4
        Hello pman777,
        The ChartControl class is not supported and thus not documented.
        JoydeepNinjaTrader Customer Service

        Comment


          #5
          What exactly are you trying to accomplish?

          Comment


            #6
            Thanks Dave ... I have an old indicator that I use but I dont have access to its code ... it's basically a custom moving average. I want to access it's value and build a range band around it. Was wondering if I could achieve this by accessing it's value via the data box or ChartControl, but not sure how to do that.

            Comment


              #7
              Ah, ok. Yeah, I don't know how that could be done... You could poke around in that Indicator list described earlier to see if there are some plot members in there that you could peek at. That's about the only idea I have, assuming that the indicator doesn't publicly expose it's calculated values...

              Comment


                #8
                Originally posted by pman777 View Post
                Thanks Dave ... I have an old indicator that I use but I dont have access to its code ... it's basically a custom moving average. I want to access it's value and build a range band around it. Was wondering if I could achieve this by accessing it's value via the data box or ChartControl, but not sure how to do that.
                Does that indicator have only one Plot?

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Irukandji, Yesterday, 02:53 AM
                2 responses
                17 views
                0 likes
                Last Post Irukandji  
                Started by adeelshahzad, Today, 03:54 AM
                0 responses
                3 views
                0 likes
                Last Post adeelshahzad  
                Started by CortexZenUSA, Today, 12:53 AM
                0 responses
                3 views
                0 likes
                Last Post CortexZenUSA  
                Started by CortexZenUSA, Today, 12:46 AM
                0 responses
                1 view
                0 likes
                Last Post CortexZenUSA  
                Started by usazencortex, Today, 12:43 AM
                0 responses
                5 views
                0 likes
                Last Post usazencortex  
                Working...
                X