private string startTime = @"8:17"
to accomplish this, and the code works, the strategy enters the market at 8:17am when I enter the strategy on a 1 minute NT7 chart... but if I enter the strategy on a 5 minute chart, then the strategy enters the market at 8:15am (eventhough I have hard coded 8:17)... is this because a 5 minute chart will only enter on increments of 5 minutes? does this mean that I have to always enter this strategy on a 1 minute chart or is there some code that I can add to my strategy so that I can enter it on greater than a 1 minute chart?
2) I would like my strategy to 'flatten all' if a maximum daily drawdown of -$10,000 is hit, can you suggest the Ninjascript lines of code that I can utilize to accomplish this?
Thanks for your time and assistance..

Comment