![]() |
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
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jun 2009
Posts: 1
Thanks: 0
Thanked 0 times in 0 posts
|
Hi,
The script I'm developing is targeted to run cross multiple days. And I am trying to calculate profit and loss of current date. Is there a built-in method that could help me on this? I tried to use Performance class but seems it collects all trades of all the past days. Thanks |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,382
Thanks: 252
Thanked 967 times in 950 posts
|
leonchan1204, welcome to our support forums and thanks for the post.
Have you already checked into this sample here? http://www.ninjatrader-support2.com/...ead.php?t=4084
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calculating fair value? | Bogan7 | NinjaScript File Sharing Discussion | 4 | 04-30-2012 01:46 PM |
| Dom not updating the low of day and time & sales red background | chartlearner | Connecting | 8 | 10-13-2008 08:59 AM |
| resetting flag at end of day or a certain time of day | sauer11155 | Strategy Development | 5 | 09-23-2008 08:30 AM |
| Day & Month in Y axis | John_Aus | General Programming | 3 | 05-13-2008 09:52 PM |
| Calculating slope & percentage... | funk101 | General Programming | 2 | 04-13-2007 03:01 AM |