Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Automatic Stop a Strategy.

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

    Automatic Stop a Strategy.

    Hello,

    Is there any way to automatically stop loss a working strategy that doesn't have a stop loss parameter? Looking for something that I wouldn't have to reset each time it made a stop. So when the strategy takes a trade a stop loss order is automatically placed.

    Thank you.

    Mike

    #2
    Hello cirque73,

    Thank you for your reply.

    Is the strategy you mentioned a 3rd party strategy or one you have created yourself? If it's a NinjaScript strategy, any stop loss functionality would need to be added to the script itself, it wouldn't be possible to add one externally without running into issues with position syncing between the strategy and the live account. If it's a third party strategy, you'd likely need to speak with the vendor as those are generally distributed as compiled assemblies and the source code would not be editable.

    If it's one you created yourself and you are using the managed approach (this is the most common method), you can use SetStopLoss() to place a stop order when a position is opened:



    Please let us know if we may be of further assistance to you.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    77 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    45 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    27 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    62 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X