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 CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      47 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      136 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      190 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      101 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      141 views
      0 likes
      Last Post cmoran13  
      Working...
      X