Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Condition Builder

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

    Condition Builder

    Good morning,
    I can not find the command to open the Condition Builder. With NInja7 I pressed the right mouse button. With Ninja8 what should I do? Attached The image.
    Roberto
    Attached Files

    #2
    Hello Roberto,

    Thanks for your post.

    The condition builder access through Ninjascript was not implemented in NinjaTrader8. You can accomplish the same effect by opening your code and then opening the strategy builder, navigate to the conditions builder window and create the condition, then click "show code" and then can copy from the view code and paste to your Ninjascript. Close the view code Ninjascript window. With the conditions builder window open you can repeat as many times as needed.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Paul, I can not understand. When I'm on my code how do I open a strategy builder.
      thank you.
      Roberto

      Comment


        #4
        Hello Roberto,

        Thanks for your reply.

        Sorry, I was not very clear.

        To edit your ninjascript you are going to the Control center and selecting New>Ninjascript editor.

        To open the strategy builder, you go to the control center and select New>Strategy Builder.

        I've created a short video to help clarify the process: https://Paul-ninjaTrader.tinytake.co...YzOV82NTY3ODIw

        The video gives you a better idea of why the condition builder was not implemented in Ninjascript, because the code being generated by the conditions builder now follows the best practices and subsequently may generate more than one line of code which NT7 did not Reference: https://ninjatrader.com/support/help..._practices.htm
        Paul H.NinjaTrader Customer Service

        Comment


          #5
          Thanks

          Perfect.
          Thanks Paul.

          Comment


            #6
            Thanks PaulH. Can the code generated by condition builder be used in coding an indicator?

            Comment


              #7
              Hello Pete77,

              Thank you for your note.

              While some of the code generated by the Strategy Builder could be copied and pasted into an indicator, not all code generated can be used in an indicator as some will be specific to strategies. But yes, for the most part, you could use the Builder to help you set up conditions and then copy them into a blank indicator. However, the Builder itself can only generate strategies.

              Please let us know if we may be of further assistance to you.
              Kate W.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by prdecast, Today, 06:07 AM
              0 responses
              3 views
              0 likes
              Last Post prdecast  
              Started by i019945nj, 12-14-2023, 06:41 AM
              3 responses
              60 views
              0 likes
              Last Post i019945nj  
              Started by TraderBCL, Today, 04:38 AM
              2 responses
              18 views
              0 likes
              Last Post TraderBCL  
              Started by martin70, 03-24-2023, 04:58 AM
              14 responses
              106 views
              0 likes
              Last Post martin70  
              Started by Radano, 06-10-2021, 01:40 AM
              19 responses
              610 views
              0 likes
              Last Post Radano
              by Radano
               
              Working...
              X