![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Jan 2010
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
|
In a strategy I desire to calculate the profit or the losses of my account in the day when I apply the strategy. How can I proceed?
Thanks. |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
Hello onurbbruno,
You can use the performance class to access Pnl. These samples can help using this class. Using trade performance statistics for money management Halting a Strategy Once User Defined Conditions Are Met Resetting values at the beginning of new trading sessions
Ryan M
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to check if 2 losses are on the same day | qewcool | Strategy Development | 3 | 04-01-2010 10:11 AM |
| setting profit margin/loss per day | green | Strategy Development | 1 | 04-24-2009 10:48 AM |
| Highest Profit obtained for day | gg80108 | Miscellaneous Support | 3 | 03-19-2009 12:05 PM |
| can't get stop losses or profit targets to execute | leemiles | Strategy Development | 9 | 11-04-2008 08:56 AM |
| Ending strategy once day profit target hit? | tazmaan | Strategy Analyzer | 6 | 07-18-2008 12:28 AM |