• 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

  • First
    started a topic Using strategy builder

    Using strategy builder

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

  • iosman
    replied
    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.

    Leave a comment:


  • NinjaTrader_PaulH
    replied
    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

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by nepenthean, Today, 12:36 PM
0 responses
3 views
0 likes
Last Post nepenthean  
Started by sun0781, Yesterday, 05:02 PM
1 response
19 views
0 likes
Last Post NinjaTrader_ChrisL  
Started by Emma1, Today, 12:14 PM
0 responses
2 views
0 likes
Last Post Emma1
by Emma1
 
Started by Hanstanz, Today, 04:44 AM
1 response
17 views
0 likes
Last Post NinjaTrader_ChrisL  
Started by Newtrader101, Today, 10:31 AM
0 responses
8 views
0 likes
Last Post Newtrader101  
Working...
X