I'm trying to build a filter into my strategy that will stop trading during the current month after xx number of losses. I know how to access the current month using DateTime. My thought was to use a counter for losses during the current month. I need to figure out a way to reset the counter.
Since the first day of the month isn't always a market day, I thought I might be able to just count trades which have a trade date in the current month.
Any thoughts on the best way to accomplish this?
Thanks,
Rich

Comment