Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

strategy SL & TP based on strategy price or filling price

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

    strategy SL & TP based on strategy price or filling price

    Hi, I wanted to know if (using Managed Approach) the setstoploss and setprofittarget functions place orders based on the strategy original theoretical entry price or based on the filled entry price, and then, if this behavior can be customized.
    Thank you in advance.
    Giulio

    #2
    Hello giulyko00,

    The Set methods are based off the strategies average fill price after the entries have filled. That cannot be customized, if you wanted to use custom prices you would have to use CalculationMode.Price and then specify the price you wanted.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    57 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    39 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    45 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    35 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    153 views
    0 likes
    Last Post SalmaTrader  
    Working...
    X