Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MessageQueuing MSMQ (How to?)

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

    MessageQueuing MSMQ (How to?)

    In the Using declarations, "System.Messaging" does not appear. System.Messaging is the namespace for MSMQ. Is it possible to use MSMQ with NT Script?

    The bigger picture problem I need to solve is to have my NT Script application communicate with our external VB.NET application.

    1. NT Script ===> VB.NET application: simply need to send price info in realtime;

    2. VB.NET ====> NT Script: need to send txt commands which will result in NT Script drawing things on the chart.

    Using text files to communicate is not an option. Can someone please advise what would be the best way to accomplish the objective of having NT Script communicate with an external VB.NET program?

    #2
    You can put
    using System.Messaging;
    into your NT strategy, but first you need to add System.Messaging.dll to References. You can do so by right clicking anywhere in the strategy editor and adding this dll. Once you do so, restart NT and you will be able to use it.

    Comment


      #3
      Unfortunately this is beyond the scope of our epertise but you certainly can access any .NET assembly you'd like following direction outlined by "fiberangle". Thanks for that
      DierkNinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by jcbinks, Today, 03:32 PM
      2 responses
      14 views
      0 likes
      Last Post jcbinks
      by jcbinks
       
      Started by Stefan Mayer, Today, 03:09 PM
      1 response
      13 views
      0 likes
      Last Post NinjaTrader_Kate  
      Started by M_ichel, Today, 03:18 PM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_ShawnB  
      Started by ralett, Today, 02:43 PM
      2 responses
      15 views
      0 likes
      Last Post ralett
      by ralett
       
      Started by Nightmaregpu, Today, 02:18 PM
      1 response
      13 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Working...
      X