PDA

View Full Version : time allowed to trade


james377
09-13-2010, 02:58 PM
how do I create ninja script code that will only allow my strategy to place orders between two times during the day? say the system can only be allowed to place trades between 2pm and 6pm???

NinjaTrader_RyanM
09-13-2010, 03:25 PM
Hello james377,

Please see the following reference sample on this:
Using a time filter to limit trading hours (http://www.ninjatrader-support.com/vb/showthread.php?t=3226)