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 fx.practic, 10-15-2013, 12:53 AM
            5 responses
            5,404 views
            0 likes
            Last Post Bidder
            by Bidder
             
            Started by Shai Samuel, 07-02-2022, 02:46 PM
            4 responses
            95 views
            0 likes
            Last Post Bidder
            by Bidder
             
            Started by DJ888, Yesterday, 10:57 PM
            0 responses
            7 views
            0 likes
            Last Post DJ888
            by DJ888
             
            Started by MacDad, 02-25-2024, 11:48 PM
            7 responses
            159 views
            0 likes
            Last Post loganjarosz123  
            Started by Belfortbucks, Yesterday, 09:29 PM
            0 responses
            8 views
            0 likes
            Last Post Belfortbucks  
            Working...
            X