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 Hwop38, 05-04-2026, 07:02 PM
              0 responses
              160 views
              0 likes
              Last Post Hwop38
              by Hwop38
               
              Started by CaptainJack, 04-24-2026, 11:07 PM
              0 responses
              308 views
              0 likes
              Last Post CaptainJack  
              Started by Mindset, 04-21-2026, 06:46 AM
              0 responses
              245 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by M4ndoo, 04-20-2026, 05:21 PM
              0 responses
              349 views
              0 likes
              Last Post M4ndoo
              by M4ndoo
               
              Started by M4ndoo, 04-19-2026, 05:54 PM
              0 responses
              179 views
              0 likes
              Last Post M4ndoo
              by M4ndoo
               
              Working...
              X