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 GussJ, 03-04-2020, 03:11 PM
      11 responses
      3,227 views
      0 likes
      Last Post xiinteractive  
      Started by andrewtrades, Today, 04:57 PM
      1 response
      13 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by chbruno, Today, 04:10 PM
      0 responses
      7 views
      0 likes
      Last Post chbruno
      by chbruno
       
      Started by josh18955, 03-25-2023, 11:16 AM
      6 responses
      440 views
      0 likes
      Last Post Delerium  
      Started by FAQtrader, Today, 03:35 PM
      0 responses
      12 views
      0 likes
      Last Post FAQtrader  
      Working...
      X