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 NullPointStrategies, Today, 05:17 AM
|
0 responses
44 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
124 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
65 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
42 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment