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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    91 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
    31 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
    69 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X