Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Limit 1 trader per day using strategy bruilder

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

    Limit 1 trader per day using strategy bruilder

    Hi. Sorry if this has been answered before but I could not find an answer for this. Is there anyway we can limit number of trades using strategy builder?

    Thank you!

    #2
    I found this thread and it should help...

    https://ninjatrader.com/support/foru...d.php?t=102707

    This is how I think it should be done:

    1) In the Strategy Builder, Conditions and Actions; add a new group and call it e.g. "BarsSinceEntry"
    2) Set condition set to "If Any" in the drop down
    3) Add "BarsSinceEntryExecution(0,""0)=-1 [this will check if there has been placed any orders before this one]
    4) Add ""BarsSinceEntryExecution(0,""0)>=20 [20 is the amount of bars before the condition set is triggering next entry. E.g. if you have a daily time frame strategy, 20 bars is equal to 20 days before it takes another entry]

    Comment


      #3
      In the Conditions window:

      Left Column (select):
      Misc>Bars since entry

      Right Column (select):
      Misc>Numeric Value

      Comment


        #4
        Hello Kapa1,

        Thank you for your note.

        I have not tested Demo9044's suggestion however, the following sample demonstrates how this could be done in the editor,

        https://ninjatrader.com/support/foru...ad.php?t=19182

        Please let us know if you need further assistance.
        Alan P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by szferi, Today, 02:04 AM
        0 responses
        2 views
        0 likes
        Last Post szferi
        by szferi
         
        Started by MidenThur, Today, 12:52 AM
        0 responses
        6 views
        0 likes
        Last Post MidenThur  
        Started by seseoraf, Today, 12:51 AM
        1 response
        6 views
        0 likes
        Last Post charmingishagarg  
        Started by Rosario, Today, 12:50 AM
        0 responses
        4 views
        0 likes
        Last Post Rosario
        by Rosario
         
        Started by kemoyums, Today, 12:38 AM
        0 responses
        3 views
        0 likes
        Last Post kemoyums  
        Working...
        X