Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

"manager" strategy

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

    "manager" strategy

    Is it possible to write a strategy that tracks and/or manages what my other strategies are doing?

    What I would like to do is put certain utility-like functions in one strategy so that they don't have to be coded again and again into each individual trading strategy.

    For example, if I want an email each time any strategy's order fills, could I do that?
    Or if I want an email anytime my entire portfolio's P&L targets/stops are hit?
    or if I want to have this manager strategy close down all trading once P&L targets are hit
    It could also be useful to have this as a way of limiting total tradeable capital, if for example I don't want to exceed a certain degree of total leverage at any one time.

    #2
    novamatic,

    Generally strategies are all kept independent, but I suppose it would be possible to do what you say. Unfortunately this is unsupported functionality so I would be unable to assist.

    You can code some elements into the "UserDefinedFunctions" .cs file and then access it as well from various strategies.

    It is possible to send emails, etc. from a single strategy. Let me know if you would like more information on that.
    Adam P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    65 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    41 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    23 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    26 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    52 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X