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

Automatically Inserting Actions and Conditions In NinjaScript

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

    Automatically Inserting Actions and Conditions In NinjaScript

    I notice that in the Ninja 6.5 and 7.0 Help Guide under “Automatically Inserting Actions and Conditions” section, the NinjaScript Editor can automatically generate code for you by accessing the right mouse button click context menu sub menu's "Insert Action..." and/or "Insert Condition...".

    I do not have any these selections at all on both my 6.5 and beta7.0.19

    I have tried many, many, many times… after typing “if (“ and right clicking the mouse, I do not have a “Insert Action” or “Insert Condition” selection available. Every thing else is there per the help guide.

    Is there a secret button somewhere to turn this on?????

    After many attempts to create simple indicators I find this very, very frustrating. From some of the other post, it appears that the selections are available.

    ???????
    J

    #2
    Joshua, these options are only available while editing a strategy.
    AustinNinjaTrader Customer Service

    Comment


      #3
      Meaning: select edit, Indicator.. correct? I am in edit. Please clarify.

      Comment


        #4
        To clarify, you can only access those options while editing a strategy (Tools -> Edit NinjaScript -> Strategy). If you are working on an indicator, those options will be unavailable.
        Attached Files
        AustinNinjaTrader Customer Service

        Comment


          #5
          I am trying to do this in Edit Indicator. Should I be in Edit Strategy? It is an indicator that i am trying to build.

          Comment


            #6
            Ahhh, I see no wonder. Thanks for your prompt replies! I will give it another go.

            J

            Comment


              #7
              Sorry, let me be more clear. You cannot use "Insert Action" or "Insert Condition" while editing an indicator. It must be done while editing a strategy. You can, however, have a strategy editor window open, insert as many conditions/actions as you want, and then copy + paste the code into your indicator.
              AustinNinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by benmarkal, Yesterday, 12:52 PM
              3 responses
              23 views
              0 likes
              Last Post NinjaTrader_Gaby  
              Started by helpwanted, Today, 03:06 AM
              1 response
              19 views
              0 likes
              Last Post sarafuenonly123  
              Started by Brevo, Today, 01:45 AM
              0 responses
              11 views
              0 likes
              Last Post Brevo
              by Brevo
               
              Started by pvincent, 06-23-2022, 12:53 PM
              14 responses
              244 views
              0 likes
              Last Post Nyman
              by Nyman
               
              Started by TraderG23, 12-08-2023, 07:56 AM
              9 responses
              388 views
              1 like
              Last Post Gavini
              by Gavini
               
              Working...
              X