![]() |
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: Jul 2010
Location: Canada
Posts: 5
Thanks: 0
Thanked 0 times in 0 posts
|
I was wondering if there is a way to determine our position in the queue.
I read about FIFO and how it should be handled. But the price is often touched but the profit target seems to be filled last. I am using a strategy that creates a trailing profit target based on the average price, SetProfitTarget("EntryName",CalculationMode.Price, NewTarget); Does this command puts me back at the end of the queue? Or do I retain my priority if the new profit target is at the same price as the existing one? |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
Hello Drachma,
Welcome to the NinjaTrader forums! Unfortunately the order position is not exposed to NinjaTrader. If there are not changes to the price (or other modifications), then your position should remain unchanged. As soon as NewTarget is updated, your order will be moved to a different level.
Ryan M
NinjaTrader Customer Service |
|
|
|
![]() |
| Tags |
| fifo, line, priority, queue, setprofittarget |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Estimated Position In Queue | wenzi | SuperDOM and other Order Entry Windows | 6 | 12-23-2009 12:43 PM |
| re: entry and exit order in queue.. | sev888 | ATM Strategies (Discretionary Trading) | 3 | 09-21-2009 06:52 AM |
| How to programatically determine if I am in a trade? | DancesWithBears | Indicator Development | 2 | 08-20-2009 03:50 PM |
| Queue depth from DOM | ct | Suggestions And Feedback | 4 | 04-27-2007 11:38 PM |
| DOM Queue depth | ct | General Programming | 2 | 04-25-2007 04:50 PM |