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 habeebft, Today, 07:27 AM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_ChristopherS  
    Started by AveryFlynn, Today, 04:57 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by Max238, Today, 01:28 AM
    4 responses
    37 views
    0 likes
    Last Post Max238
    by Max238
     
    Started by r68cervera, Today, 05:29 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by geddyisodin, Today, 05:20 AM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X