• 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

Using strategy builder

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

    Using strategy builder

    Using strategy builder, is there any way to insure only 1 trader per direction, per day?

    #2
    Hello First,

    Thanks for your post and welcome to the Ninjatrader forums.

    Yes, this can be accomplished by using a bool variable (one that is either true or false) and setting its default state to true. In the condition sets for your entry orders, you would check to see if the bool is true, in the action sections of each set where you place your order, you would then set the bool false which would prevent any further orders on either side until the bool is reset to true.
    You can use another set to check to see if it is a new day or a new session and then set the bool to be true to once again allow a single trade per direction per day.

    Please see "Understanding the Inputs and Variables screen" on how to create a bool variable: https://ninjatrader.com/support/help...er_screens.htm

    If you haven't already, you may want to attend our free live webinar training on the Strategy builder: here is a link to the free strategy builder 301 webinar which is presented every other Thursday (next one is this Thursday): https://ninjatrader.com/Webinar/Strategy-Builder-301

    You may also want to review the recorded webinar of the Strategy Builder 301 if you have not previously been able to attend the live webinar: https://www.youtube.com/watch?v=BA0W...ZmVnauWXkWe0Nf

    Paul H.NinjaTrader Customer Service

    Comment


      #3
      I was looking for this post ( Using strategy builder) so long but didn’t find this solution, now I have finally found this solution, thanks for this awesome post.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by psquare, Today, 03:11 PM
      4 responses
      15 views
      0 likes
      Last Post psquare
      by psquare
       
      Started by ballboy11, Today, 03:20 PM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by tonynt, Today, 02:18 PM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_JoshG  
      Started by denalek2419, Today, 01:46 PM
      3 responses
      12 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Started by REI140205, Today, 12:58 PM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_Jim  
      Working...
      X