Announcement

Collapse
No announcement yet.

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 Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              579 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              334 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              101 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              554 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              551 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X