NinjaTrader Support Forum  
X

Attention!

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


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 05-20-2009, 12:31 PM   #1
msamadov
Junior Member
 
Join Date: Apr 2009
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
Default EnterShort() vs EnterShortLimit()

What is the fundamental difference in how these 2 methods are evaluated?

For example, is there any way to make the following expression
EnterShortLimit(0, true, 1, Close[0], "Entering Short");
be evaluated by NT as

EnterShort(1)
by variating parameters in EnterShortLimit() method?
Just as a clarification, I am running this on historical data.

Thanks!
Last edited by msamadov; 05-20-2009 at 12:41 PM.
msamadov is offline  
Reply With Quote
Old 05-20-2009, 01:23 PM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Impossible. EnterShortLimit() submits a limit order while EnterShort() submits a market order. They are fundamentally different order types and will never be the same.
NinjaTrader_Josh 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
Forex...user EnterLong and EnterShort only? clam61 Strategy Development 5 04-13-2009 11:47 AM
EnterShortLimit / EnterLongLimit John833 Strategy Development 3 11-20-2008 04:39 PM
EnterShortLimit works great. How to offset "longs" ?! Imbah Strategy Analyzer 1 10-20-2008 01:35 PM
Question About EnterLong() / EnterShort() VagyokC4 Strategy Development 1 10-21-2007 01:23 PM


All times are GMT -6. The time now is 02:02 AM.