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 elirion, Today, 10:03 PM
              0 responses
              1 view
              0 likes
              Last Post elirion
              by elirion
               
              Started by RaddiFX, Today, 09:55 PM
              0 responses
              3 views
              0 likes
              Last Post RaddiFX
              by RaddiFX
               
              Started by Trader146, 03-29-2024, 01:22 PM
              4 responses
              24 views
              0 likes
              Last Post Trader146  
              Started by elirion, Today, 09:48 PM
              0 responses
              3 views
              0 likes
              Last Post elirion
              by elirion
               
              Started by set2win, 08-04-2021, 09:23 AM
              39 responses
              1,001 views
              0 likes
              Last Post WaleeTheRobot  
              Working...
              X