Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Profit target is set and cancelled with every new bar

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

    Profit target is set and cancelled with every new bar

    Hi I developed and tested a strategy (see an attachement). It works with an exception that when the order is filled and profit target set, with every new bar the strategy sets again another profit target which is immediately cancelled. Can u assist me to address the problem?
    Attached Files

    #2
    squashfan, thanks for the post, we would expect that. Since per default orders would expire at the end of the bar they were placed on, you can either resubmit them or send the initial ones with liveUntilCancelled set so they would persist going forward then.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    649 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    370 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    109 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    573 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    576 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X