Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Vista 64bit - Indicator issue

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

    Vista 64bit - Indicator issue

    Hi there,
    I have installed Ninja Trader Version 6.5.1000.12 on Vista 64 bit machine. When I pulled out the Indicator list the chart window, it was empty. The log shows the following error. This is happening for all indicators.

    "9/11/2009 8:12:45 AM Default Unable to create instance of 'NinjaTrader.Indicator.VOL'. Most likely there is no default constructor defined, or the default constructor does not work correctly: Exception has been thrown by the target of an invocation."


    Any help is highly appreciated.

    Thanks
    Thanga

    #2
    thanga, welcome to the forums! Most likely you miss the proper dll references, you can add those back by opening any indicator in the NinjaScript editor and then right click in the code and select 'References'.

    Then select 'Add' and point to the installation folder - C:\Program Files\NinjaTrader 6.5\bin

    and the NinjaTrader.Core.Dll and WilsonORMapper.dll back.

    After this recompile and you should be good.

    Comment


      #3
      I think the problem is the way the Ninja trader installs the files when there is a Roaming Profile setup in corporate environment. I see lot of DLLs and .cs files stored under my roaming profile in the remote server.


      When the application try to compile the files, the compiler may not have access to compile the files on the network due to the policy setup.

      By the way, I did follow the steps you specified but no luck.

      -thanga

      Comment


        #4
        Ok, in this case please see this link for changing the .NET security level to provide access - http://www.ninjatrader-support2.com/...ead.php?t=2441

        Comment


          #5
          Great!!! Setting the trust level solved the issue. Thanks for creating a great product. Being a .NET Programmer, I love editing Ninja script in C#.

          I am wondering being a .NET application, why it is still need to run as 32bit application on 64bit machine. Compiling it with AnyCPU should do the trick unless you use any unsafe code.

          Comment


            #6
            64bit support will come with NT7.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              For certain parts like NinjaScript this would be the case, but for example used API dll's to manage the connections do not support 64 bit across the board.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              88 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              48 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              31 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              34 views
              0 likes
              Last Post TheRealMorford  
              Started by Mindset, 02-28-2026, 06:16 AM
              0 responses
              69 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Working...
              X