• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MEF or IOC in NT8?

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

    MEF or IOC in NT8?

    Does NT8 use MEF or any IOC container that developers can leverage?
    Or did you write your own AddOns loader?
    Thanks.

    #2
    Hello dalebru,

    Thank you for your post.

    No, NinjaScript addons will not use Managed Extensibility Framework or Inversion of Control.

    There will be the ability to make custom addons in NinjaTrader 8 using NinjaScript, and we will be able to provide an example script of how to code these.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Its our own AddOn loader. Basically the AddOnBase class allows you to hook into the OnWindowCreated() event of any window opening in NinjaTrader so you can extend it.

      If you want an AddOn that will be a new window you would check if the window is Control Center and add your window to the New Control Center menu and attach your own event handler. If you wanted to add on functionality to a superDOM you could check if the new window being opened is a superDOM and then interface with it.

      This is the Add On framework in a nutshell. More documentation will be coming in on AddOn as we move closer to production release however you can play with it now by using the NinjaScript Editor > Plus button > New Add On and in the wizard tell it to generate that OnWindowCreated()/OnWindowDestroyed() methods.
      BrettNinjaTrader Product Management

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by avrege, Today, 01:48 AM
      3 responses
      16 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by njkiran, Yesterday, 11:58 PM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by Induna, Yesterday, 10:08 PM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by leodrz, Today, 05:09 AM
      5 responses
      24 views
      0 likes
      Last Post NinjaTrader_ThomasC  
      Started by xcondor, 04-11-2018, 12:19 PM
      3 responses
      445 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X