Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Profit and loss for each closed position
Collapse
X
-
Profit and loss for each closed position
Where in the control center or elsewhere can I find profit and loss for each closed position during playback or live trading? thanks for any helpTags: None
-
Hello ronaldgreene828,
I see this is posted in the Strategy Development section of the forums. May I confirm your inquiry is about programming a NinjaScript Strategy in C#?
Were you intending to post in the Platform Technical Support section of the forums?
The PnL of each trade in a NinjaScript Strategy is found from the SystemPerformance TradeCollection.
The performance of the last trade would be found with:
SystemPerformance.RealTimeTrades[SystemPerformance.RealTimeTrades.Count - 1].ProfitCurrency
If you intending to post in the Platform Technical Support section, you would likely be looking for the Trade Performance window.
Chelsea B.NinjaTrader Customer Service
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
43 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
30 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
47 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
38 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment