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

Is It Possible To Build And Backtest Money Management Rules Into Your Backtest

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

    Is It Possible To Build And Backtest Money Management Rules Into Your Backtest

    Hi,

    Is it possible to build and backtest money management rules into your strategy? Basic things like "for every $xxxx in my account add 1 extra futures contract" or "if last trade was a loser cut lot size by 1" etc.

    I suppose this would mean having to unlock the code and write it in c# as opposed to the Strategy Builder?

    Many thanks

    Tom

    #2
    Hello Tomhgriff1,

    Thanks for your post.

    The strategy builder is limited in what can be done and I would agree it would be best to unlock your code and work directly in NinjaScript which are C# written methods and properties.

    To determine last trade win/loss, you would check system performance, please see example #1 here: https://ninjatrader.com/support/help...collection.htm

    To determine account value, please see: https://ninjatrader.com/support/help...itemupdate.htm

    Please note that an option would be to hire a 3rd party programmer, if this is of interest we can provide a reference link to 3rd party programmers that work in Ninjascript strategies.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Thank you for sharing the solution.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by kempotrader, Today, 08:56 AM
      0 responses
      7 views
      0 likes
      Last Post kempotrader  
      Started by kempotrader, Today, 08:54 AM
      0 responses
      4 views
      0 likes
      Last Post kempotrader  
      Started by mmenigma, Today, 08:54 AM
      0 responses
      2 views
      0 likes
      Last Post mmenigma  
      Started by halgo_boulder, Today, 08:44 AM
      0 responses
      1 view
      0 likes
      Last Post halgo_boulder  
      Started by drewski1980, Today, 08:24 AM
      0 responses
      4 views
      0 likes
      Last Post drewski1980  
      Working...
      X