Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Creating an Indicator

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

    Creating an Indicator

    Hello ive a code for an indicator but i dont have the "ninjascript" option is there a way to do this?

    #2
    Hello bdelorm,

    Thanks for your post.

    If you are using a "Free" edition licence key, one of the limitations is that you cannot access Ninjascript, the selections will be grayed out.

    You would need to replace your free edition live trading license with the sim-only license key in order to access Ninjascript and then restart. You can then edit and test as needed. Once completed, in order to live trade you would need to reinstall your live license key and restart. Here is the sim key: @SIM-A82F-D583-40B1-AE74-B79F-705D-1952

    Ninjscript is the programming language of NinjaTrader. Ninjascript is based on C# Programming language and we recommend a good working knowledge of C#. We do not provide C# education/tutorials as these can be found on the internet in many places.

    If you are not familiar with C# and do not wish to learn to program, you can still create strategies (automated trading) without programming knowledge by using the Strategy Builder. The strategy Builder allows you to create basic to medium complexity strategies. The Strategy Builder will also convert your conditions and actions into viable C# code so that you get the same speed and performance as a Ninjascript created strategy. You can also view this code that is created and that can be very useful in learning Ninjascript as well. You can copy and paste code from the builder into another script.

    Here are the educational resource available on the strategy builder:
    Free live webinar every other Thursday at 4:00 PM EST, through this link to all webinars: https://ninjatrader.com/PlatformTraining
    Previous recording of the Strategy Builder 301 webinar:
    https://youtu.be/HCyt90GAs9k?list=PL...auWXkWe0Nf&t=2
    Help guide for the strategy builder: https://ninjatrader.com/support/help...gy_builder.htm

    To create an indicator or a non strategy builder strategy, you would need to use the indicator or strategy wizard. These will create the basic structures including the inputs and outputs. Here are is where you can find out further about the wizards: https://ninjatrader.com/support/help...?ns_wizard.htm

    Once you have created a Ninjascript strategy or indicator you would need to use the Ninjascript editor for further coding and debugging, here is a link to the overall Ninjascript editor: https://ninjatrader.com/support/help...t8/?editor.htm

    Here is a link to live webinars where you can find the Ninjascript editor and strategy builder, alternating on Thursdays: https://ninjatrader.com/PlatformTraining

    Here is a link to a recording of the Ninjascript editor webinar:
    https://www.youtube.com/watch?v=H7aD...We0Nf&index=14

    Here are various links to key help guide sections, each link will have further cascading links:

    https://ninjatrader.com/support/help...erence_wip.htm

    https://ninjatrader.com/support/help..._reference.htm

    https://ninjatrader.com/support/help..._resources.htm

    https://ninjatrader.com/support/help...ce_samples.htm

    https://ninjatrader.com/support/help.../nt8/?tips.htm


    In addition, you may want to review, use, or modify the freely available scripts from the NT user apps in the Ninjatrader Ecosystem. (Note this includes both NinjaTrader7 and Ninjatrader8 scripts that are not compatible with the other version, you can click the "show all" button for segregation)



    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

    Comment


      #3
      Hey Paul thanks for the response i have the code already so all i have to do copy and paste it... If I have the code already is it easy to copy and paste it?

      Comment


        #4
        Hello bdelorm,

        Thanks for your reply.

        If you have a complete .cs file then the answer would be "likely".

        If not in .cs file then it would greatly depend on your understanding of C# and Ninjascript.

        Comment


          #5
          Can I send you what the code looks like privately?

          Comment


            #6
            Hello bdelorm,

            Thanks for your reply.

            Please write into ScriptingSupport[at]NinjaTrader[dot]com, mark the e-mail Atten Paul, ticket# 3274909. In the body of the e-mail please include a link to this thread for reference.

            In the address above, replace [at] with @ and [dot] with . We write addresses that way in public forums to hopefully reduce the success of address bots.

            That said, please note that we cannot provide code writing or debugging services but can give generally advice to help you along the way.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            637 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            366 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            107 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            569 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            571 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X