Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

sharing variables / comms between live running strategies

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

    sharing variables / comms between live running strategies

    running multiple strategies now through the strategy tab in NT.

    Is there a way to share variables / check variables in other running strategies.

    Specifically what I want to do is check other running strategies ID number (a user variable I have) so I can prompt the user if they launch the strategy with the same ID number (i want unique IDs between my strats, for emailing out, etc).

    An alternative is if there's a way to have some kind of global variables than all running strategies could access. I could have a public array of ints, and each strategy could check this list on start up and add their's to the list.

    cheers
    Daniel

    #2
    Hi Daniel, there's unfortunately no supported way in NinjaScript to enable strategy cross communication like you would need, but perhaps this thread on BMT with a code idea can get you going - http://www.bigmiketrading.com/ninjat...njatrader.html

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    107 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    153 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    71 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    125 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    79 views
    0 likes
    Last Post PaulMohn  
    Working...
    X