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 kinfxhk, 07-14-2026, 09:39 AM
        0 responses
        127 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 10:18 AM
        0 responses
        105 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 09:50 AM
        0 responses
        85 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 07:21 AM
        0 responses
        105 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-11-2026, 02:11 AM
        0 responses
        86 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X