|02-23-2008, 11:15 PM||#1|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Thanked 107 times in 70 posts
Strategy: Monitoring Stop-Loss and Profit Target Orders
Reference sample for NinjaTrader 6.5.XXXX.X or greater.
At times you may have a need to monitor the stop-loss and profit target orders generated by the SetStopLoss(), SetTrailStop() or SetProfitTarget() methods. You can accomplish this by capturing their unique IOrder.Token values as the the OnOrderUpdate() method is called and process them into a collection for future referencing.
The attached reference sample demonstrates the following concepts:
NinjaTrader Customer Service
|Thread||Thread Starter||Forum||Replies||Last Post|
|Profit Target and Stop Loss not honored||pjwinner||Strategy Analyzer||6||11-30-2007 09:45 AM|
|Stop Loss - profit target settings||deanldavis475||Miscellaneous Support||1||11-26-2007 07:31 AM|
|Strategy: Modifying the price of stop loss and profit target orders||NinjaTrader_Josh||Reference Samples||0||09-06-2007 12:46 PM|
|Target and Stop Loss Orders on Dome||Quicktrader10||General Programming||3||06-27-2007 02:00 PM|
|Default stop loss and profit target as GTC||equitydealer||General Programming||4||06-18-2007 11:31 PM|