Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Cancel Order

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

    Cancel Order

    I have this problem: When I call to CancelOrder() and I need to call in the future to the same IOrder, this second call is ignored. Why?

    Thanks in advance.

    Jesus Rueda.

    #2
    Jesus, are you working with TraceOrders = true as this occurs? What is it's output then?

    Comment


      #3
      Ok Bertrand. Using TraceOrders I have found the problem (I think). So, I need cancel the previous order and put a new order in the same bar. How can I do it?

      Comment


        #4
        Are you just trying to change the price? Then just resubmit at the new price...

        Comment


          #5
          Yes, but I need to retest again my conditions for entry. I would be better don't make it. Is there any posibility in this case?

          Comment


            #6
            Then just include your entry conditions in the check and only change the order price if they are fulfilled as well.

            Comment


              #7
              Ok Bertrand, I will try it.

              Thanks.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Mindset, 04-21-2026, 06:46 AM
              0 responses
              101 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by M4ndoo, 04-20-2026, 05:21 PM
              0 responses
              144 views
              0 likes
              Last Post M4ndoo
              by M4ndoo
               
              Started by M4ndoo, 04-19-2026, 05:54 PM
              0 responses
              71 views
              0 likes
              Last Post M4ndoo
              by M4ndoo
               
              Started by cmoran13, 04-16-2026, 01:02 PM
              0 responses
              125 views
              0 likes
              Last Post cmoran13  
              Started by PaulMohn, 04-10-2026, 11:11 AM
              0 responses
              79 views
              0 likes
              Last Post PaulMohn  
              Working...
              X