Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
strategy analyzer question
Collapse
X
-
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% -
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.
-
-
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.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
144 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
70 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
125 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
78 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment