Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
NET P&L
Collapse
X
-
Originally posted by NinjaTrader_JoshG View PostYou would use SystemPerformance.AllTrades.TradesPerformance.NetP rofit in an unlocked strategy.
https://ninjatrader.com/support/help...?netprofit.htm
Trader17 is correct that this is not available in the Strategy Builder.
Thanks.
Comment
-
You could do this for an account using the Account class but not with a simple method. You would need to loop through all of the trades and find the ones that are related to your strategy. Then do some math to find the net profit.
https://ninjatrader.com/support/help...ount_class.htm
There are some samples of daily stop losses at the following link: https://ninjatrader.com/support/foru...limit-examplesLast edited by NinjaTrader_JoshG; 10-23-2018, 12:04 PM.Josh G.NinjaTrader Customer Service
- Likes 1
Comment
-
I do not have a sample for total profit. You could modify the daily loss to also be a daily profit though.
Maybe a future enhancement for Builder to stop trading after X in profit/loss
Josh G.NinjaTrader Customer Service
- Likes 1
Comment
-
I went ahead and submitted this request. The internal tracking number for your feature request is SFT-3599 . Please reference this internal tracking number if you ever have questions regarding this feature request.
When a feature request is implemented, you'll find it in the release notes:
Josh G.NinjaTrader Customer Service
- Likes 1
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Aviram Y, Today, 05:29 AM
|
0 responses
5 views
0 likes
|
Last Post
by Aviram Y
Today, 05:29 AM
|
||
Started by quantismo, 04-17-2024, 05:13 PM
|
3 responses
27 views
0 likes
|
Last Post Today, 05:23 AM | ||
Started by ScottWalsh, 04-16-2024, 04:29 PM
|
7 responses
36 views
0 likes
|
Last Post Today, 05:15 AM | ||
Started by cls71, Today, 04:45 AM
|
0 responses
6 views
0 likes
|
Last Post
by cls71
Today, 04:45 AM
|
||
Started by mjairg, 07-20-2023, 11:57 PM
|
3 responses
219 views
1 like
|
Last Post
by PaulMohn
Today, 04:22 AM
|
Comment