Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Control multiple NT strategies in parallel

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

    Control multiple NT strategies in parallel

    Is there a possibility to read out and control (start/stop) the strategies currently loaded in NT-Charts by name via DLL?
    Thanks!​

    #2
    Hello signalworks,

    You can use an accounts Strategies collection to monitor the active strategies on that account. There is no way to control strategies using code, that is reserved to manual UI interactions to be deliberate.

    Comment


      #3
      Hello Jesse, thank you!
      ould you use strategy.State() to control the AccountsCollection so that State.Terminated makes the respective strategy inactive and State.Active makes it active again?
      Basically it's about stopping several active strategies for a certain time (minutes) and activating them again afterwards. This process should be automated via a control panel either in external software or via UI in NT. (Presetting of inactive minutes per strategy). Thanks.​

      Comment


        #4
        Hello signalworks,

        No that would not be possible, setting the state is only one part of how scripts work. The ability to control strategies is intentionally blocked in NinjaScript to prevent third party scripts from stopping or starting strategies when it was not wanted.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        110 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        59 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        37 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        41 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        78 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X