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 Gerik, Today, 09:40 AM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by RookieTrader, Today, 09:37 AM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by alifarahani, Today, 09:40 AM
      0 responses
      5 views
      0 likes
      Last Post alifarahani  
      Started by KennyK, 05-29-2017, 02:02 AM
      3 responses
      1,285 views
      0 likes
      Last Post NinjaTrader_Clayton  
      Started by AttiM, 02-14-2024, 05:20 PM
      11 responses
      186 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X