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 cocoescala, 10-12-2018, 11:02 PM
      6 responses
      939 views
      0 likes
      Last Post Jquiroz1975  
      Started by gbourque, Today, 06:39 AM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_Erick  
      Started by cmtjoancolmenero, Yesterday, 03:58 PM
      1 response
      17 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by benmarkal, Yesterday, 12:52 PM
      3 responses
      23 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by helpwanted, Today, 03:06 AM
      1 response
      20 views
      0 likes
      Last Post sarafuenonly123  
      Working...
      X