![]() |
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: Dec 2009
Posts: 12
Thanks: 0
Thanked 0 times in 0 posts
|
I am using Strategy Wizard to build a strategy on the “ES” with Range Bars and I’m not sure how to accomplish what I’m looking to do. This might be an easy issue.
At the close of the bar, a Market Order fires off a buy or sell order if all the conditions are met. When this happens, I am getting in 1 tick away from where I want to get in. So I want to change the Market Order to a Limit Order at the close of the bar when the order fires off. So here is the question. At the close of the 0 bar when the order fires off a Limit Order, I can choose (when buying) the Bid Price, however is it on the new 0 bar open, or should it be on the 0 bar close + 1 tick?
|
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Dope63,
When you submit the order you do not know what the bid price would be on the next bar. All you can do for the limit order is submit it at a price relative to the information currently available to you on the closing bar. This means you do not have the open price and 0 refers to the closing bar.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Dec 2009
Posts: 12
Thanks: 0
Thanked 0 times in 0 posts
|
Okay, so if I understand correctly.
|
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,382
Thanks: 252
Thanked 967 times in 950 posts
|
Dope63, correct orders are placed on the next bar then, with + / - a tick you should be able to get the open value of the new Range Bar.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Dec 2009
Posts: 12
Thanks: 0
Thanked 0 times in 0 posts
|
Thank you!
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Issuing simultaneous buy and sell orders | trader_rick | Automated Trading | 2 | 03-05-2009 11:17 AM |
| Script is running wild: buy - sell - buy - sell ... | BillCh | Automated Trading | 4 | 02-06-2009 01:01 PM |
| Entering Buy/Sell Limit orders before Market opens | scjohn | SuperDOM and other Order Entry Windows | 1 | 01-22-2009 08:56 AM |
| Stop Buy Sell orders and new bars | snaphook | Strategy Development | 1 | 11-18-2008 11:38 AM |
| Last price and Buy/Sell Orders Column Shaking | pipal | SuperDOM and other Order Entry Windows | 1 | 05-29-2008 10:26 PM |