![]() |
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
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Apr 2012
Posts: 67
Thanks: 27
Thanked 8 times in 7 posts
|
Hi all,
Interactive Brokers has a feature I use often called "Trailing Limit if Touched" and "Trailing Market if Touched". The details are here: http://www.interactivebrokers.com/en...mitTouched.php http://www.interactivebrokers.com/en...ketTouched.php Working with Ninjascript, I know that there are methods for trailing stops, but not for trailing buys as indicated above. Another forum thread has suggested to put a stoplimitorder in, and just keep on adjusting the stops OnBarUpdate. Is this the workaround for this, or is there another way to achieve a trailing buy order? Yours, Spider |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,414
Thanks: 252
Thanked 977 times in 960 posts
|
Hi Spider, correct you would need to monitor current price and adjust your entry as needed to provide the trailing part.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Apr 2012
Posts: 67
Thanks: 27
Thanked 8 times in 7 posts
|
Hi Bertrand,
Would you recommend particular forum threads or help files to read up on in order to achieve a "Trailing Limit When Touched" order? I have a couple in mind, but would really like to get your direction. Thanks in advance for your time, Spider |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
Hi Spiderbird,
This reference sample is good for this. It can help with technique to check last traded price compared to entry price and then dynamically adjusts the price of an order. http://www.ninjatrader.com/support/f...ead.php?t=3222
Ryan M
NinjaTrader Customer Service |
|
|
|
|
The following user says thank you to NinjaTrader_RyanM for this post: |
|
|
|
#5 |
|
Member
Join Date: Apr 2012
Posts: 67
Thanks: 27
Thanked 8 times in 7 posts
|
Thanks Ryan! Didn't get a chance to reply back quickly, but appreciate the assistance.
![]() - Spider |
|
|
|
|
The following user says thank you to Spiderbird for this post: |
|
![]() |
| Tags |
| buy, order, trailing |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Limit Order and Trailing Stop | tiger45 | Strategy Development | 2 | 11-16-2010 08:56 AM |
| Chase-if-Touched | Radical | SuperDOM and other Order Entry Windows | 3 | 04-01-2010 04:44 PM |
| Trailing Stop Limit order | atrader | General Programming | 3 | 09-14-2009 04:04 PM |
| Market If Touched | tradenoob | ATM Strategies (Discretionary Trading) | 4 | 05-11-2009 05:58 PM |
| Market if Touched and Limit if Touched orders | eminimethods_com | Miscellaneous Support | 7 | 07-18-2006 04:35 AM |