Forum: NinjaTrader
March 21st, 2015, 06:26 PM
|
Replies: 5
Views: 1,439
Alternatively you should be able to get an int...
Alternatively you should be able to get an int value from the enum and test it like this:
if((int)Time[0].DayOfWeek == 5)
This will test for Friday, the numbers start from Sunday == 0 to Saturday...
|
Forum: NinjaTrader
March 21st, 2015, 06:18 PM
|
Replies: 5
Views: 1,439
|