Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 bortz, 11-06-2023, 08:04 AM
            47 responses
            1,612 views
            0 likes
            Last Post aligator  
            Started by jaybedreamin, Today, 05:56 PM
            0 responses
            9 views
            0 likes
            Last Post jaybedreamin  
            Started by DJ888, 04-16-2024, 06:09 PM
            6 responses
            19 views
            0 likes
            Last Post DJ888
            by DJ888
             
            Started by Jon17, Today, 04:33 PM
            0 responses
            6 views
            0 likes
            Last Post Jon17
            by Jon17
             
            Started by Javierw.ok, Today, 04:12 PM
            0 responses
            22 views
            0 likes
            Last Post Javierw.ok  
            Working...
            X