![]() |
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
|
|||||||
| Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Feb 2008
Location: Wellsville, Ut
Posts: 81
Thanks: 0
Thanked 0 times in 0 posts
|
Hi,
I've used the Sample Price Modification strategy code to have an autostrategy stop trading if it accumulated X amount of Real PnL. ie, quit trading if Real PnL > $100. Now I have an autostrategy calling an ATM and the Real PnL stop trading limit doesn't work. It looks like the Real PnL is attributed to the ATM it calls instead of the strategy itself, so the strategy doesn't see any Real PnL and just keeps on rolling. Is there a way to still have the autostrategy quit trading after X PnL with an ATM being called? I guess it would have to be able to add up the ATM Real PnL and recognize that somehow ???? If so, how would you do that? Thanks, Joe |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unrealized and Realized PnL in points/pips and % in stead of only $ | whitegun | Suggestions And Feedback | 22 | 11-14-2008 05:54 PM |
| problems wit realized PnL | dedomraz | Miscellaneous Support | 9 | 09-23-2008 10:11 AM |
| ATM from script | MelbourneRich | Automated Trading | 1 | 09-19-2008 09:38 AM |
| ATM Strategy with Ninja Script | suitguy1 | Automated Trading | 1 | 07-22-2008 01:34 PM |
| Why did you remove "Realized + Unrealized PnL" from the Columns list? | shawnj | Market Analyzer | 7 | 05-28-2008 11:34 AM |