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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      47 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      23 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      33 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      50 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      42 views
      0 likes
      Last Post CarlTrading  
      Working...
      X