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 kinfxhk, 07-14-2026, 09:39 AM
      0 responses
      13 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 10:18 AM
      0 responses
      59 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 09:50 AM
      0 responses
      41 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 07:21 AM
      0 responses
      47 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-11-2026, 02:11 AM
      0 responses
      38 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X