Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ProfitTarget - reset default

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

    #16
    Hello Tony,

    You would look for the execution of that specific order in OnExecution by matching execution.Order.Name with the Singal Name for that order.

    For example, if you use ExitLong(1, "MyExit", "MyEntry"), then you can trap when the order exits in OnExecution by checking if (execution.Order.Name == "MyExit")

    You could then set your targetOrder and stopOrder IOrder objects to null.

    If you do not specify a signal name, ExitLong will use "Sell" as the order name.

    Please let me know if you have any other questions.

    Comment

    Latest Posts

    Collapse

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