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 algospoke, Yesterday, 06:40 PM
              2 responses
              19 views
              0 likes
              Last Post algospoke  
              Started by ghoul, Today, 06:02 PM
              3 responses
              14 views
              0 likes
              Last Post NinjaTrader_Manfred  
              Started by jeronymite, 04-12-2024, 04:26 PM
              3 responses
              45 views
              0 likes
              Last Post jeronymite  
              Started by Barry Milan, Yesterday, 10:35 PM
              7 responses
              20 views
              0 likes
              Last Post NinjaTrader_Manfred  
              Started by AttiM, 02-14-2024, 05:20 PM
              10 responses
              181 views
              0 likes
              Last Post jeronymite  
              Working...
              X