Thank-You RR
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Access Total Net Profit from Strategy Builder?
Collapse
X
-
Access Total Net Profit from Strategy Builder?
Under the Strategy section in 'builder', we can access Realized PnL, and unrealized PnL. Is there a way to access the Total open and closed PnL for a strategy for the day, from within Strategy Builder? Seems like there should be, if not?
Thank-You RRTags: None
-
Hello RR,
It would not be possible to add the unrealized and realized pnl and there is not a property for this.
For any math or for any logic more complicated than very simple comparisons, this would require that the strategy be unlocked and coded by hand.
Below is a link to an example script that adds the unrealized and realized pnl to check for a daily loss limit.
Hello, I've updated the DailyLossLimit and DailyLosLimitMultiTrade examples that were posted on the forum for NinjaTrader 7 for NinjaTrader 8. These are often requested and I felt they are good examples to have for NT8. DailyLossLimitExample_NT7 - http://ninjatrader.com/support/forum...241#post451241 (http://ninjatraderChelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Irukandji, Today, 05:50 AM
|
0 responses
5 views
0 likes
|
Last Post
by Irukandji
Today, 05:50 AM
|
||
Started by ageeholdings, Today, 05:22 AM
|
0 responses
9 views
0 likes
|
Last Post
by ageeholdings
Today, 05:22 AM
|
||
Started by llanqui, 04-28-2024, 10:32 AM
|
2 responses
20 views
0 likes
|
Last Post
by llanqui
Today, 05:22 AM
|
||
Started by DroneBlackCa, Today, 05:17 AM
|
0 responses
6 views
0 likes
|
Last Post
by DroneBlackCa
Today, 05:17 AM
|
||
Started by tradingnasdaqprueba, 04-09-2024, 09:52 AM
|
7 responses
50 views
0 likes
|
Last Post Today, 05:11 AM |
Comment