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

Dying to Know Why Hidden Auto-Generated Code Needed

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

    Dying to Know Why Hidden Auto-Generated Code Needed

    Trying to learn exactly how NS works. I have read through some of the simple tutorials in the manual and they were helpful but I'm curious to know what is going on in the following blocks of code. I don't quite follow. I would appreciate an explanation of what's going on on each block of code and why.

    Thanks anyone! Even short answers will be appreciated.

    Attached Files

    #2
    Unfortunately this is beyond the scope of what we provide support for.

    Note: You NEVER should EVER change any line of the code section hidden.

    Comment


      #3
      They're creating a cache so that if you request the same indicator multiple times they don't have to recreate it. Not sure why you would care about that, if you are trying to learn about NT there are a lot more useful things to look at first.

      Comment


        #4
        I'm trying to learn about C#, not necessarily just NT. I've learned most of the core features that I would use within NT so this was more of a programming question.

        Dierk, I know not to edit any of this code as this would royally screw me over.

        Pete, Thank you for your response. I see now why they need to cache the indicator.

        Comment


          #5
          Can we see the internals of the IndicatorBase class?

          Ok so I can see that as I try to learn this stuff I'm coming up with too many questions that obviously you guy's can't support.

          A broader question:

          So of the questions I have come up with (and not asked out of consideration for your time) have related to methods or properties stored inside the "IndicatorBase" class. I haven't found a way to open the IndicatorBase class to inspect all the internal methods such as the Add() method of the IndicatorBase class. Is there a way to do this so I can inspect and dig deep down in the code of NT? For example, I would like to open the Add() method and see exactly how it works.

          Or is that hidden from us (the dumb users)?

          Comment


            #6
            Unfortunately we are unable to provide info of NT internal implementation.

            Comment


              #7
              Ah ok. That's fine. I'll just have to rely on the documentation.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by algospoke, Yesterday, 06:40 PM
              2 responses
              23 views
              0 likes
              Last Post algospoke  
              Started by ghoul, Today, 06:02 PM
              3 responses
              14 views
              0 likes
              Last Post NinjaTrader_Manfred  
              Started by jeronymite, 04-12-2024, 04:26 PM
              3 responses
              45 views
              0 likes
              Last Post jeronymite  
              Started by Barry Milan, Yesterday, 10:35 PM
              7 responses
              22 views
              0 likes
              Last Post NinjaTrader_Manfred  
              Started by AttiM, 02-14-2024, 05:20 PM
              10 responses
              181 views
              0 likes
              Last Post jeronymite  
              Working...
              X