Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Cross strategy communication

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

    Cross strategy communication

    Is there a way within Ninja to communicate across strategies? i.e can strategy A send a message or value or status to strategy B ?

    Thanks for your time and response
    - David

    #2
    Hello,

    There is no direct communication between strategies. Strategy A would not have a method to know what Strategy B is doing.

    However if it's just a message or value you would like to send from one to another, you could use an indicator to make this calculation and and expose that as a public data type for the strategy to read.


    Please see our Reference Sample on Exposing indicator values that are not plots:

    MatthewNinjaTrader Product Management

    Comment


      #3
      Good stuff, thanks. In the example can the strategy use the set() on the bullIndication or bearIndication dataset so another strategy see that set value?

      Comment


        #4
        Yes, you can access this from the Strategy

        Code:
        BoolSeries x = SampleBoolSeries().BearIndication;
        MatthewNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        633 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        364 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        567 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        568 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X