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 kevinenergy, 02-17-2023, 12:42 PM
    116 responses
    2,757 views
    1 like
    Last Post kevinenergy  
    Started by franatas, 12-04-2023, 03:43 AM
    7 responses
    106 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by jpapa, Today, 07:22 AM
    0 responses
    1 view
    0 likes
    Last Post jpapa
    by jpapa
     
    Started by Jltarrau, Today, 05:57 AM
    3 responses
    7 views
    0 likes
    Last Post Jltarrau  
    Started by f.saeidi, Today, 05:56 AM
    2 responses
    8 views
    0 likes
    Last Post NinjaTrader_Erick  
    Working...
    X