Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to call CancelOrder() in OnbarUpdate() or elsewhere?

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

    How to call CancelOrder() in OnbarUpdate() or elsewhere?

    I am having great difficulty calling cancelorder with unmanaged = true. I cant get the IOrder object for it to work, say in the next bar.

    #2
    ericson, you could for sure work the CancelOrder() call from another method / event timing as OnBarUpdate() as well - what trace orders output would you get currently for your CancelOrder call?

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    65 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    41 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    23 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    26 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    52 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X