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.
    Kate W.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    148 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    5 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    33 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Started by tkaboris, Today, 05:13 PM
    0 responses
    5 views
    0 likes
    Last Post tkaboris  
    Started by GussJ, 03-04-2020, 03:11 PM
    16 responses
    3,283 views
    0 likes
    Last Post Leafcutter  
    Working...
    X