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

Ninja script reference

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

    Ninja script reference

    I would like to suggest a basic example script that would show marked up on the script what every part does and why?

    This would be good for newbies in ninja script to look and break down the logic of the workflow?

    The Strategy builder goes a long way to showing the code writing in the background, but a lot of people basically hasn't a clue what is happening in the script.

    It would be a good basic resource maybe it does exist already ?

    #2
    Hello fredfred123,

    Thank you for your suggestion.

    The helpguide is pretty detailed in this regard, you would want to see,


    Also see the following,


    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      Hi Alan

      That may look no doubt is simple, but I meant an actual basic script fully commented out what every part is ie

      The top part public class, the descriptions what they do?

      the IstantaniatedOnEachOptimizionIteration? what is that ?

      Just taking section by section with comments as you would see it from the Ninjascript editor when you view the code?

      What bits do the declarations, and what is necessary for the script to work for instance if viewed the code from the Ninjascript without any functionality put in it.

      The links you sent would tell me what an OnStateChange is but where in the script ?be good to see it used in a script with a comment?

      Bit like looking at the bricks and tiles on a house and explaining what they do but not where they all go. I think a few eyebrows will go up !
      Just a script to refer to for very beginners to start on before asking support questions.

      Not a complaint or criticism just a view point from a ninja script newbie idea.

      Comment


        #4
        Hello fredfred123,

        I will put in a feature request.

        IsInstantiatedOnEachOptimizationIteration section of our helpguide,


        Please let us know if you need further assistance.
        Alan P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by bortz, 11-06-2023, 08:04 AM
        47 responses
        1,611 views
        0 likes
        Last Post aligator  
        Started by jaybedreamin, Today, 05:56 PM
        0 responses
        9 views
        0 likes
        Last Post jaybedreamin  
        Started by DJ888, 04-16-2024, 06:09 PM
        6 responses
        19 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by Jon17, Today, 04:33 PM
        0 responses
        6 views
        0 likes
        Last Post Jon17
        by Jon17
         
        Started by Javierw.ok, Today, 04:12 PM
        0 responses
        22 views
        0 likes
        Last Post Javierw.ok  
        Working...
        X