Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to reference multiple strategies' metrics

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

    How to reference multiple strategies' metrics

    Hello,

    I'd like to have two substrategies running independently, and one master strategy which monitors the substrategies and chooses which signals to trade, based on for example, the slope of the equity curves. How do I implement this in NT8? Do you have code snippets I can use for reference?

    Thanks in advance.

    #2
    Hello shinobe,

    Thank you for the post.

    There is not necessarily any suggested means to do that in NinjaScript. If you have multiple sub strategies those should all be contained within one singe NinjaScript strategy file. A single strategy can trade multiple timeframes or instruments, there is also an expected isolation of information between strategies so nothing is shared between them.

    You could really reference any single strategy sample to get started on this concept. You would essentially just make different sets of logic for each "substrategy".



    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by MacDad, 02-25-2024, 11:48 PM
    7 responses
    158 views
    0 likes
    Last Post loganjarosz123  
    Started by Belfortbucks, Today, 09:29 PM
    0 responses
    6 views
    0 likes
    Last Post Belfortbucks  
    Started by zstheorist, Today, 07:52 PM
    0 responses
    7 views
    0 likes
    Last Post zstheorist  
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    151 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    6 views
    0 likes
    Last Post mattbsea  
    Working...
    X