PDA

View Full Version : Setting a Strategy to begin and end on a particular day of the week


RDPoS
11-07-2010, 08:36 PM
Would love to know how to do this. I would like a certain strategy to begin at a certain time on Sunday and end at a certain time on Friday.

It is easy to do a daily start and stop with time, but is there any way to do this via day of the week in 6.5 or 7.0?

NinjaTrader_Austin
11-07-2010, 09:41 PM
RDPoS, you can use the ideas present in the how to limit trading hours reference sample (http://www.ninjatrader-support.com/vb/showthread.php?t=3226) along with the ToDay() (http://www.ninjatrader.com/support/helpGuides/nt7/today.htm) method to create a filter for both days and time.

RDPoS
11-08-2010, 03:22 AM
thank you sir.