Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Add a breakeaven stop to third party strategy (DLL)

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

    Add a breakeaven stop to third party strategy (DLL)

    Hi,

    I have some third party trading strategy. It's a compiled DLL file with no source code.

    I like the strategy, but I'd like to improve it and add a breakeaven/or trailing stop loss.

    Is it possible to control orders created by other strategy applied to the same chart?

    #2
    Hello matzero,

    This would be a situation where you would need to feature request that with the developer of the script. While it is possible to have an addon change orders on the account if a strategy is controlling that order it will very likely reset the order back to where it was. You could also adversely effect how the strategy is operating by trying to modify its orders if the strategy is using any of the orders information for its logic, the strategy would be unaware of the external changes.

    Comment


      #3
      Hi NinjaTrader_Jesse

      Unfortunately strategy developer is now out of business.

      I managed to find a way of closing positions opened by other strategies from the code.

      The problem is, that if I do a Position.Close() original strategy script is disabled by NinjaTrader platform

      Is there any way to prevent disabling the strategy when I close it's positions from other strategy?

      Comment


        #4
        Hello matzero,

        That would be expected, when you close a position from outside the strategy it will terminate the strategy. You would have to submit a opposite order to bring the position to flat but then the strategy won't know about that and may try to exit a non existent position.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Today, 05:17 AM
        0 responses
        50 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        126 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        69 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        42 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        46 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X