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 algospoke, Yesterday, 06:40 PM
|
2 responses
24 views
0 likes
|
Last Post
by algospoke
Today, 07:04 PM
|
||
Started by ghoul, Today, 06:02 PM
|
3 responses
15 views
0 likes
|
Last Post Today, 06:43 PM | ||
Started by jeronymite, 04-12-2024, 04:26 PM
|
3 responses
46 views
0 likes
|
Last Post
by jeronymite
Yesterday, 10:10 PM
|
||
Started by Barry Milan, Yesterday, 10:35 PM
|
7 responses
23 views
0 likes
|
Last Post Today, 06:16 PM | ||
Started by AttiM, 02-14-2024, 05:20 PM
|
10 responses
181 views
0 likes
|
Last Post
by jeronymite
Today, 06:11 PM
|
Comment