Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Attach custom stp-strategy to all open positions?

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

    Attach custom stp-strategy to all open positions?

    Hi community,

    i have a custom stp-strategy (ninjascript, not atm) that i like to activate discretionary on open positions... how can that be done?

    My plan would be:
    - Enter position discretionary
    - Trail discretionary until evening
    - Optional: Cancel current STP-Order
    - Activate Custom-Auto-Trail

    I don't mind canceling my old order for activating the trail should that be necessary. As far as i read, this is not possible with ATM at the moment (really, really needed Feature!!!), but from theory should be possible using ninjascript, right?

    #2
    I think what you are looking for might be supported in the future NT 8.
    But NT 7 does not seem to have documented methods to get a hook onto existing account orders.
    I posted some unsupported code to do this here

    Comment


      #3
      Hi Puravida,

      Thank you for your post.

      DaveE is correct here in that there is no supported method to do this that I can offer.

      I will forward this thread as a feature request to development to consider for the next major release of NinjaTrader.

      Let me know if I can be of further assistance.
      Cal H.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Today, 05:17 AM
      0 responses
      49 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
      67 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