PDA

View Full Version : How to sell market on close


msawusch
08-02-2009, 04:22 PM
How does one use the strategy wizard to code for closing out an open position (long or short) on the daily close of the market?

msawusch
08-02-2009, 05:55 PM
also, how does one code for the close of the previous day e.g. the value of ES at 4:15 PM EST on the previous day?

NinjaTrader_Bertrand
08-03-2009, 05:16 AM
msawusch, you want to use the ExitOnClose feature for this - http://www.ninjatrader-support.com/HelpGuideV6/ExitOnClose.html

You can access the previous close on a daily chart with Close[1].

http://www.ninjatrader-support.com/HelpGuideV6/Close.html