Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
NET P&L
Collapse
X
-
And could you use this in an unlocked Strategy to stop any or all strategies for the day if we reach net profit/loss for the day? Would be a great feature to have this in Strategy Builder. Like stop trading after X amount of profit/loss for the day!!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.
I'll look into seeing if its possible. You would likely need to unlock the code to make any such comparison without a major overhaul to the builder. If all of your trading is done from the strategy you can just check the strategies Realized PnL.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 NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
71 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
143 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
76 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
47 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
51 views
0 likes
|
Last Post
|

Comment