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 Mindset, 04-21-2026, 06:46 AM
      0 responses
      89 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      135 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      68 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      119 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      69 views
      0 likes
      Last Post PaulMohn  
      Working...
      X