Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Managed orders - Enter Long & Enter Short randomly doubling entry size.

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

    Managed orders - Enter Long & Enter Short randomly doubling entry size.

    For the life of us, we cannot figure out what's going on. It's happened 3 times now. I suppose it's our fault for using software and not writing our own but it cost us almost $100k so far.

    We're using the managed approach and EntriesPerDirection is set to 15 when we make strategy live. Three times in the last two weeks it has randomly doubled the entries to 30.

    Attached strategy with buy and sell trigger formula redacted. Please advise.
    Attached Files

    #2
    Hello chasebank,

    Thank you for your note.

    The strategy you've provided isn't compilable so I can't test this, but my suggestion would be to turn on the TraceOrders function so you can see when an order is placed. I'd also suggest that from the code you've got here, it may be possible to submit more than one order on the same bar. Entries Per Direction simply means the number of separate entry orders that can be placed before the strategy returns to a flat position, so if you're setting that to 15, and also using that for the order quantity, you could submit up to 15 orders of 15 quantity in a given direction before it would stop letting you enter.

    I would suggest setting the order quantity via a user variable instead, set that to 15, and set your Entries per Direction to 1 if you only want one order of 15 quantity to be submitted in that direction.

    Please let us know if we may be of further assistance to you.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    89 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 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
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X