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 techgetgame, Yesterday, 11:42 PM
    0 responses
    8 views
    0 likes
    Last Post techgetgame  
    Started by sephichapdson, Yesterday, 11:36 PM
    0 responses
    2 views
    0 likes
    Last Post sephichapdson  
    Started by bortz, 11-06-2023, 08:04 AM
    47 responses
    1,613 views
    0 likes
    Last Post aligator  
    Started by jaybedreamin, Yesterday, 05:56 PM
    0 responses
    10 views
    0 likes
    Last Post jaybedreamin  
    Started by DJ888, 04-16-2024, 06:09 PM
    6 responses
    20 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Working...
    X