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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      71 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      39 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      63 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      63 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      53 views
      0 likes
      Last Post CarlTrading  
      Working...
      X