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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    55 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    132 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    73 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X