Go Back   NinjaTrader Support Forum > Application Technical Support > Automated Trading

Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader.

Thread Tools Display Modes
Old 03-04-2009, 01:37 PM   #1
Junior Member
Join Date: Jan 2009
Posts: 14
Thanks: 0
Thanked 0 times in 0 posts
Default Set up trading hours in Strategy Wizard.

How do I set up trading hours in the Strategy Wizard?

Under "set 1" in the strategy wizard, I select "add". In the next window I select time on the left hand side. The time value always defaults to the current time. How do I say something like trade only when time is between 9:30 am and 4 pm?

menlo is offline   Reply With Quote
Old 03-04-2009, 01:50 PM   #2
NinjaTrader Customer Service
NinjaTrader_Bertrand's Avatar
Join Date: Sep 2008
Location: Germany
Posts: 26,179
Thanks: 486
Thanked 1,832 times in 1,774 posts

Hi menlo, welcome to the NinjaTrader support forums!

You could enter two conditions like in the attached screenshot to define your time filter.

Time series with a Bars ago value of 0 gives you the current time,


Time value lets you input the time to compare to.

Both are found in the Time category.
Attached Images
File Type: png timeFilterSW.png (16.0 KB, 81 views)
NinjaTrader_Bertrand is offline   Reply With Quote

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
Outside Regular Trading Hours ssierra Automated Trading 39 11-19-2012 03:22 AM
IB + Dax +Outside Regular Trading Hours StockMaster Connecting 10 07-09-2008 07:01 AM
Trading hours decologne Charting 5 06-26-2008 05:15 AM
Strategy: Using a time filter to limit trading hours NinjaTrader_Josh Reference Samples 0 09-06-2007 12:57 PM
Primary Trading Hours vs Extended Hours Greg1 Suggestions And Feedback 1 02-18-2007 02:06 AM

All times are GMT -6. The time now is 07:04 PM.

FULL RISK DISCLOSURE: Futures trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones financial security or lifestyle. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results. View Full Risk Disclosure.