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.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by algospoke, 03-12-2025, 07:41 PM
    4 responses
    44 views
    0 likes
    Last Post algospoke  
    Started by clarocque1, Today, 06:18 PM
    0 responses
    5 views
    0 likes
    Last Post clarocque1  
    Started by clarocque1, Today, 06:17 PM
    0 responses
    4 views
    0 likes
    Last Post clarocque1  
    Started by clarocque1, 03-23-2025, 08:17 AM
    4 responses
    28 views
    0 likes
    Last Post clarocque1  
    Started by Artorias, Today, 05:22 PM
    0 responses
    9 views
    0 likes
    Last Post Artorias  
    Working...
    X