NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 09-10-2010, 09:19 AM   #1
vadzim
Junior Member
 
Join Date: Aug 2010
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
Default Limit order not filled

I have sell limit order at 1101.75 and next bar high price was 1101.75, but order not filled.
If I set sell limit at 1101.50 and high price 1101.75 in this case it filled.

Is it ok?
vadzim is offline  
Reply With Quote
Old 09-10-2010, 09:25 AM   #2
vadzim
Junior Member
 
Join Date: Aug 2010
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
Default

Ups, sorry, I found answer here http://www.ninjatrader.com/support/f...ad.php?t=33401
vadzim is offline  
Reply With Quote
Old 09-10-2010, 09:26 AM   #3
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

Hello Vadzim,

Yes, it should be OK. It depends on fill setting used. See below for a description of fill options.

The two system fill algorithms are:

Default
An algorithm that takes a conservative and more realistic approach to filling limit and stop limit orders.
Limit orders only fill if the limit price was penetrated
Limit orders are always filled at the limit price specified never better (for example, if a limit order is submitted on bar n, NinjaTrader will check if the order is filled on bar n+1, if this bar gaps down and the limit order was a buy, the order would be filled at the limit price and NOT the high of bar n+1)

Liberal
An algorithm that takes a liberal approach to filling limit and stop limit orders.
Limit orders fill if the limit price was touched
On gap down bars, buy limit orders will fill at the high of the gap down bar
On gap up bars, sell limit orders will fill at the low of the gap up bar
NinjaTrader_RyanM is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can NT send a limit order with an if filled target & stop attached held with Broker suprsnipes Strategy Development 7 03-12-2010 06:33 AM
Limit forex order partially filled by $1 on MarketReplay dimkdimk Version 7 Beta General Questions & Bug Reports 12 01-28-2010 07:49 AM
Incorrect order qty and filled price after order filled elconna Miscellaneous Support 3 10-07-2009 10:51 AM
Buy limit order is not filled Ralph General Programming 21 08-07-2008 12:58 PM
Cancel/Remove Limit order if not filled mwyatt Strategy Development 1 03-08-2008 07:51 PM


All times are GMT -6. The time now is 01:14 PM.