Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Doable from a NinjaScript strategy?

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

    Doable from a NinjaScript strategy?

    I'd like to close NT from a strategy. On closing NT we will need to confirm SaveWorkspace dialog. Is this doable from independent thread or NT main thread will block all others waiting for user to press a button? What about surfacing some NTExit(...) method for a strategy?

    Can we run some keystroke script to do connect/disconnect or those are already surfaced and available for call from C#?

    Can we start an executable from within staregy or the Windows system scheduler is the only way to do it (blindly, as no information / state / execution parameters could be passed from NT logic)?

    #2
    This is not supported.
    RayNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Ray View Post
      This is not supported.
      I perfectly understand that all these are not supported. The question is as it stated in the subject - is this doable? So if one want to import an assembly that handling starting the external process or sending keystrokes it wont work due to security restrictions or what? Thanks!

      Comment


        #4
        You can use AutoIt to do that kind of stuff, it's very easy to use.

        Comment


          #5
          Originally posted by ryker View Post
          You can use AutoIt to do that kind of stuff, it's very easy to use.
          Yes, AutoIt is a nifty little tool. Do you know if it can be called from a strategy (probably via its COM interface) so it wouldn't be just blind to the events inside NT?

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by andrewtrades, Today, 04:57 PM
          1 response
          5 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by chbruno, Today, 04:10 PM
          0 responses
          3 views
          0 likes
          Last Post chbruno
          by chbruno
           
          Started by josh18955, 03-25-2023, 11:16 AM
          6 responses
          436 views
          0 likes
          Last Post Delerium  
          Started by FAQtrader, Today, 03:35 PM
          0 responses
          7 views
          0 likes
          Last Post FAQtrader  
          Started by rocketman7, Today, 09:41 AM
          5 responses
          19 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Working...
          X