Announcement

Collapse
No announcement yet.

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.

    Comment


      #3
      Thank you for sharing the solution.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Yesterday, 05:17 AM
      0 responses
      53 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      130 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      70 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      44 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      49 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X