Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

First Ninja Script Question

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

    First Ninja Script Question

    Hi All,

    sorry about the simplicity of this question, but I'm having a crack at my first Ninja Script indicator.

    I'm looking at one of the Ninja Script built in indicators as a reference... namely the "KeyReversalUp" indicator.

    When I look at the code I can see a region at the end called "NinjaScript generated code. Neither change nor remove"... this code has three sections... an indicator section, a market analyser section and a strategy section.

    Can someone explian to me, in reference to the indicator specifically, what this section of code does...?? It's not clear to me.

    Also, can anyone point me to any useful discussion on how to use DataSeries...??

    Many Thanks.

    #2
    Unfortunately this is beyond what we provide support for. You NEVER should touch this code region.

    On the dataseries: I suggest working through the tutorial on the docs http://www.ninjatrader-support.com/H...verview18.html

    Comment


      #3
      Sure. I understand that Dierk. It's just that when I create my own indicator using the wizard, I don't see this section of code produced by NinjaTrader.

      I don't want to change this code, I'm just wondering if it is some of the main code for the actual calculation of the indicator in question... if not then that answers my question and I will completely ignore it....?

      Many Thanks.

      Comment


        #4
        NT generates this code as you save your indicator code.

        Comment


          #5
          Gotcha. Thanks Dierk. That's what I need to know.

          Comment

          Latest Posts

          Collapse

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