Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Program in Visual Basic .NET?

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

    Program in Visual Basic .NET?

    Hi everyone,


    I know NinjaTrader uses NinjaScript, which heavily loans from C#. But both C# and Visual Basic .NET rely on the same framework (.NET). So perhaps NinjaTrader use Visual Basic .NET too?

    It would be pretty interesting if it were possible, I think.

    Have a nice day,


    #2
    Hello J_o_s,

    Thank you for your post.

    NinjaScript doesn't heavily loan from C#, it is a C# library. NinjaScript is consistent with the underlying design of C#, which is object-oriented, event-driven, and component-based. The functionality added to C# to create NinjaScript is located in the NinjaTrader namespace.

    You would not be able to program indicators or other add-ons in Visual Basic .NET - C# must be used. If you want to make your own application using VB.net you will have to do that outside of NinjaTrader. You can use some of the ATI interfaces in that scenario. This would be outside of what we would be able to officially support, however.



    Please let us know if we may be of further assistance to you.
    Kate W.NinjaTrader Customer Service

    Comment


      #3
      Thanks for the quick and thorough reply Kate! :-)

      Comment


        #4
        Your NinjaScript code can use any DLL assembly built from any .NET language.

        You might want to use 3rd party DLLs (or create your own) which provide some
        additional kind of processing that your NinjaScript needs -- these additional
        DLLs or assemblies could be written in C# or VB, it doesn't matter -- you'd
        call the public APIs of these external assemblies the same regardless if it
        was written in C# or VB -- no ATI interface is needed.

        All you'd need to do is add these external assemblies as a reference.
        This is advanced stuff, but very straight-forward and relatively easy,
        especially if you know what you're doing.

        Just be aware:
        An external assembly incorporated into your NinjaScript is not the same thing
        as an external application needing to talk to your NinjaTrader.exe process.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by trilliantrader, 04-18-2024, 08:16 AM
        5 responses
        22 views
        0 likes
        Last Post trilliantrader  
        Started by Davidtowleii, Today, 12:15 AM
        0 responses
        3 views
        0 likes
        Last Post Davidtowleii  
        Started by guillembm, Yesterday, 11:25 AM
        2 responses
        9 views
        0 likes
        Last Post guillembm  
        Started by junkone, 04-21-2024, 07:17 AM
        9 responses
        70 views
        0 likes
        Last Post jeronymite  
        Started by mgco4you, Yesterday, 09:46 PM
        1 response
        14 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Working...
        X