Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Exponential growth and backtesting

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

    Exponential growth and backtesting

    I am trying to work on the part of my algorithm that has to do with quantity of selection. Backtesting is an issue because it won't recognize the get account value command, so instead it just uses one unit each trade. What commands can I use to better simulate exponential growth, i.e. it uses more quantity as it gains money?

    #2
    Hello CriticalMind,

    Thank you for your inquiry.

    You can utilize Performance.AllTrades.TradesPerformance.Currency.C umProfit to obtain the current cumulative profit of your strategy. More information about this can be found in the NinjaTrader help guide at this link: http://ninjatrader.com/support/helpG...?cumprofit.htm

    Please, let us know if we may be of further assistance.
    Zachary G.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    71 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    39 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    63 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X