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 Brevo, Today, 01:45 AM
    0 responses
    6 views
    0 likes
    Last Post Brevo
    by Brevo
     
    Started by aussugardefender, Today, 01:07 AM
    0 responses
    3 views
    0 likes
    Last Post aussugardefender  
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    242 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    9 responses
    384 views
    1 like
    Last Post Gavini
    by Gavini
     
    Started by oviejo, Today, 12:28 AM
    0 responses
    6 views
    0 likes
    Last Post oviejo
    by oviejo
     
    Working...
    X