Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multiple Strategies

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

    Multiple Strategies

    I would like to enter multiple strategies (actually, the same strategy but multiple instruments...each instrument would have different variable values).

    The strategy tends to be HIGH probabilty but infrequent number of trades through the course of a year. Therefore, my intent would be to replicate strategy for many instruments to increase occurrences.

    QUESTION: How can I provide an overriding restriction that says "ONLY ALLOW THIS ENTRY SIGNAL to ACTIVATE IF NO OTHER STRATEGIES (TRADES) ARE IN PROGRESS" however, "DON'T EXIT UNLESS THERE IS A COMPARABLE ENTRY"?I am simply trying to have only ONE trade be active at a time, therefore only ONE strategy be active at a time.

    #2
    CRCatNinja, NinjaTrader treats each strategy as an independent entity. Thus, each strategy knows absolutely nothing about other running strategies unless "told".

    Basically, this will take some coding to create a "master strategy" that knows the state of each and every slave strategy and can sent orders appropriately.

    There are a number of ways to do this, but none are copy + paste solutions. This link will take you to a post where I explain how to "share" variables between a strategy and an indicator. Your situation is virtually the same, but variables will be shared between strategies instead of indicators.

    Hopefully this will get the ball rolling, but let us know if you have any other questions.
    AustinNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    88 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    48 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    30 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    34 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    68 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X