• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

strategy analyzer question

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

  • NinjaTrader_ChrisL
    replied
    Hello wallace15269,

    Thanks for the reply.

    You could use the AccountSize property and the size of your orders will calculate based on that value.

    For equities: AccountSize / Current Close Price will be used when you set "Set order quantity" property to "by account size".

    The help guide page notes that this value is not dynamic and you must manage a variable of your own if you would like the calculation to consider the new account value.

    Other than this option you would have to write logic in your strategy that accomplishes this, you can use GetAccountValue() to get your cash value.

    https://ninjatrader.com/support/help...ccountsize.htm - AccountSize

    https://ninjatrader.com/support/help...countvalue.htm - GetAccountValue()


    Please let us know if we may be of any further assistance.

    Leave a comment:


  • wallace15269
    replied
    Question

    Ok what about live trading?

    Leave a comment:


  • NinjaTrader_EricB
    replied
    Hello wallace15269

    Thank you for your post.

    Unfortunately there is not a method to simulate an account that is used in the Strategy Analyzer. account values are not shown in the Strategy Analyzer. Rather performance statistics for the backtest performed will display.

    Let us know if we may assist further.

    Leave a comment:


  • wallace15269
    started a topic strategy analyzer question

    strategy analyzer question

    Hello on the analyzer is there a way to simulate your account balance and also on the order quality instead of having a fixed quality when testing groups of stocks can it be set to split evenly by% for example you have a 25K account and you are testing 50 stocks at once and you want the 25K to be split evenly between the 50 stocks by % being that the stock range from $5 to over $200 in would have to be by%

Latest Posts

Collapse

Topics Statistics Last Post
Started by Obelixtrader, Yesterday, 08:16 AM
2 responses
8 views
0 likes
Last Post Obelixtrader  
Started by EnveousColnago, Yesterday, 06:58 AM
2 responses
20 views
0 likes
Last Post peregrine  
Started by trader14, 01-18-2020, 08:12 PM
11 responses
42 views
0 likes
Last Post NinjaTrader_Jim  
Started by sandman, Today, 09:43 AM
1 response
4 views
0 likes
Last Post NinjaTrader_Jesse  
Started by peregrine, Today, 09:16 AM
3 responses
11 views
0 likes
Last Post peregrine  
Working...
X