Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Strategy Wizard Question NT 7

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

    Strategy Wizard Question NT 7

    Not sure how an additional condition is written in the Wizard. My initial (Set 1) condition works fine. I added a second condition in Set 2, however, the strategy isn't including the second condition. When including additional conditions, I presume the section below is left blank because the initial condition (Set 1) has the Buy/Sell trigger. Is there a video or example somewhere showing how to properly add additional conditions? Thanks.

    #2
    I just figured it out and got it to work. I would still like some references for adding conditions though. Thanks

    Comment


      #3
      Hi JerryA, thanks for your post.

      I do know know of a video that shows multiple conditions specifically, but the sets represent groups of conditions so your code will look like this with 2 sets:

      if(<condition set 2>)
      {
      ]

      if(<condition set 2>)
      {
      }

      This can be seen if you click "View Code" from the builder. The sets will run contiguously, one after the other.

      Kind regards.
      Chris L.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Kaledus, Today, 01:29 PM
      5 responses
      12 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by Waxavi, Today, 02:00 AM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_LuisH  
      Started by alifarahani, Today, 09:40 AM
      5 responses
      23 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by gentlebenthebear, Today, 01:30 AM
      3 responses
      16 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by PhillT, Today, 02:16 PM
      2 responses
      7 views
      0 likes
      Last Post PhillT
      by PhillT
       
      Working...
      X