Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT as a Black Box Development System

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

    #16
    Originally posted by roonius View Post
    Attached is a sample Visual Studio Solution which can be used to create custom indicators and/or strategies, compiled into dll which can be dropped into bin/Custom folder
    Thanks a lot roonius! You rock!

    My question is: Is there any way to update/reload my custom dll when Ninja is still running? Right now I have to close and restart Ninja every time after I change/compile my code in order to replace the dll in bin\Custom folder.

    Thanks,
    Boo.

    Comment


      #17
      Originally posted by BooDoo View Post
      Thanks a lot roonius! You rock!

      My question is: Is there any way to update/reload my custom dll when Ninja is still running? Right now I have to close and restart Ninja every time after I change/compile my code in order to replace the dll in bin\Custom folder.

      Thanks,
      Boo.
      I would love to find a way to do that, but unfortunately...
      Maybe somebody else knows...

      Comment


        #18
        Excellent questions and I have to add one more:

        # Does any one know if it is possible to control the backtesting using some form of API (by using an external application )?

        Thanks in advance

        Comment


          #19
          This is my own interface, it is just a spin off of my NTMT application and the necessary libraries are included with NTMT (not free)

          I have done several backtesting tests with this interface and the interesting feature is that you can call it from a simple console app, (outside of the NinjaTrader process)

          bool rv=ninjaserver.Instance.StrategyAnalyzerTestDialog ("LongStrat1",StrategyAnalyzerTestType.btnRunBackTest);
          // BackTestFrom
          // BackTestTo
          // BackTestMode
          ninjaserver.Instance.SetTestParameter("Instrument","FDAX 12-09");
          DateTime from = DateTime.Now.Date.AddDays(-3);
          DateTime to = DateTime.Now.Date.AddDays(-2);
          ninjaserver.Instance.SetTestParameter(
          "BackTestFrom", from.ToString());
          ninjaserver.Instance.SetTestParameter("BackTestTo", to.ToString());
          ninjaserver.Instance.RunTest(ninjaserver.TimeOut);
          object results = ninjaserver.Instance.TestResult("Performance.AllTrades.TradesPerformance.Currency. CumProfit");

          As I see it writing a good documentation and then explaining my interface to others will be too time consuming for me, so I will not give much support here on the forum.

          I hope that the idea behind is clear to you.

          regards
          Andreas
          www.zweisteintrading.eu




          Comment


            #20
            Andreas, your work is amazing.

            I looked at your site and found that you have developed some pretty neat apps!!!

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by gbajaj, Today, 03:35 PM
            2 responses
            7 views
            0 likes
            Last Post gbajaj
            by gbajaj
             
            Started by space_trader, Today, 03:19 PM
            2 responses
            8 views
            0 likes
            Last Post space_trader  
            Started by max1ci6, Today, 02:02 AM
            4 responses
            27 views
            0 likes
            Last Post joromero  
            Started by Johnny, Today, 02:38 PM
            1 response
            8 views
            0 likes
            Last Post NinjaTrader_Tyler  
            Started by M_ichel, Today, 02:26 PM
            1 response
            5 views
            0 likes
            Last Post NinjaTrader_Tyler  
            Working...
            X