Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Opening multiple orders in different directions

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

    Opening multiple orders in different directions

    Hello

    I'm using EnterLongStopMarket and EnterShortStopMarket for entry orders and each time the entry signal name is unique. With each entry order I set SetProfitTarget and SetStopLoss with the entrie's unique signal name.

    Currently I'm getting this error: Strategy 'MyCustomStrategy/255159994': An Enter() method to submit an entry order at '11/01/2022 08:56:40' has been ignored. Please search on the term 'Internal Order Handling Rules' in the Help Guide for detailed explanation.

    I read through the "Managed Approach" article and I can see where the problem is. My method that generates order to enter is ignored because a position is open and an order submitted by a set method (SetStopLoss() for example) is active and the order is used to open a position in the opposite direction.

    Is there any way around this so it would be possible to open multiple orders in different directions without one canceling the other if their entries and exits overlap in the same price range? I would like if each my entry order (together with its SetProfitTarget and SetStopLoss) gets treated separately.

    Thank You!



    #2
    Yes, use the Unmanaged approach.

    You would be well-advised to think carefully about what you are trying
    to achieve. I mean, if you're trading futures, if your strategy position
    becomes out of sync with your account position, you may see some
    surprising and unexpected results.

    Last edited by bltdavid; 02-01-2022, 06:30 AM.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    134 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