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 Lance El Camino, Today, 04:14 PM
        1 response
        13 views
        0 likes
        Last Post s.kinra
        by s.kinra
         
        Started by jtrading82, Today, 04:56 PM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_ShawnB  
        Started by dmking, Today, 06:00 PM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_EricB  
        Started by WHICKED, Today, 03:23 PM
        1 response
        15 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by demarcog, Today, 02:24 PM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_Kate  
        Working...
        X