Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Limit the number of order placement per candle

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

    Limit the number of order placement per candle

    Hello is there any way to limit the number of order per candle? I see order were executed multiple times thru strategy builder as attached.
    It would be great if there is any solution using strategy builder. If not available usign builder, code adding solution is also appreciated.

    Marble
    Attached Files

    #2
    Hello Marble,

    Likely the strategy is using Calculate.OnEachTick or .OnPriceChange and the condition is evaluating as true on multiple updates.

    How many orders would you like?

    You can use a custom series integer as a counter to increment each time the condition is true and require the count of orders to be less than a desired number.

    Below is a link to an example.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    87 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    132 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    118 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X