When i try to access the performance object it gives me an error that says Performance it is not available in. I'm looking for something similar to the data in plot executions that I can select by right clicking the chart => data series => plot executions.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Plot PNL for the day over time
Collapse
X
-
Plot PNL for the day over time
Hi i want to make an indicator that shows my trades PNL over time so I can see the results visually along with price movement, how do i do that? It is not part of a strategy. I want to take the data that is in the account performance tab and plot it along with the that instrument to see my results on the chart. Im looking for things like the number of contracts currently held at that time and the number of points or ticks i've made up to that point.
When i try to access the performance object it gives me an error that says Performance it is not available in. I'm looking for something similar to the data in plot executions that I can select by right clicking the chart => data series => plot executions.Tags: None
-
Hello Habibalex,
Thank you for your note.
You would not be able to do this as the Account Performance is only an internal accessed item, you cannot access the Account from the NinjaScript Indicator or Strategy.
Additionally, the Performance that you are trying to use is only for Strategies and to the Strategy performance, not the account.
Let me know if I can be of further assistance.Cal H.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by sgordet, Yesterday, 11:03 AM
|
4 responses
26 views
0 likes
|
Last Post
![]()
by sgordet
Today, 08:09 AM
|
||
Started by faccipieri, Yesterday, 09:45 PM
|
1 response
11 views
0 likes
|
Last Post
|
||
Started by samish18, Yesterday, 06:05 PM
|
1 response
12 views
0 likes
|
Last Post
|
||
Started by kalalex, Today, 01:31 AM
|
1 response
17 views
0 likes
|
Last Post
|
||
Started by Mindset, 03-15-2025, 09:58 AM
|
1 response
20 views
0 likes
|
Last Post
|
Comment