![]() |
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 |
|
Senior Member
Join Date: Feb 2012
Posts: 177
Thanks: 41
Thanked 12 times in 10 posts
|
Hi - I'd be very grateful if you could indicate how I can find a way to calculate the profit or loss realized, at every range bar occurring during a trade in progress, since the current trade was entered.
(I'd like to be able to manipulate this mathematically in Ninjascript so I can construct a trailing stop that varies according to profit/loss levels, i.e. one that is not static.) Thanks in advance for your help. |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cumulative Profit/Loss | DenMan | Strategy Development | 0 | 10-22-2011 03:50 PM |
| How could i know the profit or loss ? | marynja | Strategy Development | 1 | 03-16-2011 05:36 AM |
| SampleIntrabarBacktest - Premataure Exit at close of the day the trade was entered | tonyh | Strategy Development | 7 | 03-15-2010 02:33 PM |
| Getting last trade profit or loss | xmms1 | General Programming | 1 | 01-12-2010 10:40 AM |
| Using Unrealized Profit for Stop Loss and Profit Target | dancorcal | Strategy Development | 1 | 12-17-2009 10:12 AM |