![]() |
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 2007
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
|
Good morning, I need a piece of information:
-I would like to know in what way it is possible to make recognize with some strategy if the last done trade is in profit or in loss. Many thank . Matteo |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
For now you can monitor the following property. Store the value when position goes from flat --> long or short. Then once flat again, check the value again and compare to the stored value.
CumProfit - http://www.ninjatrader-support.com/H...CumProfit.html
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jun 2007
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks Ray.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Last Trade Data | MindSabre | General Programming | 3 | 04-29-2007 12:45 AM |
| deleting spurious trade from sim trade list | Arbitrageur | Miscellaneous Support | 2 | 09-12-2006 03:59 AM |
| Trade Setup | longtex | Miscellaneous Support | 2 | 08-15-2006 03:45 AM |
| Trade Synchronization | glam_100 | Automated Trading | 2 | 06-15-2006 01:37 AM |
| What Instruments do You Trade??? | chipper338 | ATM Strategies (Discretionary Trading) | 5 | 11-30-2004 04:30 AM |