• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 Bmatarese, Today, 03:27 PM
              1 response
              7 views
              0 likes
              Last Post NinjaTrader_ChrisL  
              Started by Kei78, Today, 03:26 PM
              1 response
              11 views
              0 likes
              Last Post NinjaTrader_Zachary  
              Started by Jorge.andres.o, Today, 03:44 PM
              0 responses
              5 views
              0 likes
              Last Post Jorge.andres.o  
              Started by r3n3v, Today, 03:43 PM
              2 responses
              6 views
              0 likes
              Last Post r3n3v
              by r3n3v
               
              Started by bosajin, Today, 02:06 PM
              1 response
              15 views
              0 likes
              Last Post NinjaTrader_ChrisL  
              Working...
              X