Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Stoploss order is cancelled while being executed

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

    Stoploss order is cancelled while being executed

    Hi,

    I have this issue that I don't understand, I am hoping you could shed some light on it.
    I have on the OnBarUpdate, a stoploss order that is following the price. But if the order is very large - so that it can't be executed on 1 bar, when the stop gets hit and starting to get executed, on the middle of the execution, when it changes to the next bar, from no-where it is trying to cancel the order and I get this error: (attached in picture).

    Why? How do I fix it?
    Attached Files
    Last edited by zoharcho; 06-30-2021, 06:18 AM.

    #2
    Hi, you can delete this post, I figure it out, I put 0,true in the right place, I missed a line that was overriding this setting, when I put it there also, no more cancel
    thanks!

    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
    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