PDA

View Full Version : Unigue Entries with unique responses


edgeliner
02-20-2009, 06:53 AM
Does anyone know how to use UnigueEntries and then have unique responses to them. In other words, if you are long on 1A and 1B, how can you say "if Long 1A" reaches a profit of 5, do something? (And if Long 1B reaches a profit of 10, do something??

Thanks!

NinjaTrader_Josh
02-20-2009, 07:32 AM
Hi edgeliner,

To do this you will want to use IOrder objects along with your trades. When you set an Enter() to an IOrder then you can individually access its profit. For more information on IOrder objects please see the Help Guide article.

edgeliner
02-20-2009, 07:38 AM
Thanks Josh!