OK, so I've got an mtf strategy that looks for a condition to be met on a 5 minute indicator, once that condition is met the strategy looks for another condition to be met on a 1 minute indicator. When both of these are true, the strategy begins entering trades once per minute until either condition is no longer met.
This much of it works just fine.
Well, after exporting 12 years worth of trades to excel and running many hours of low-tech, excel-based analysis, I have come to the conclusion that after a certain number of entries in one direction (ie. # of trades entered with the 5 minute condition being met) the odds of profit/success rapidly fall off a cliff (<50%). So, what I want to do is to limit my number of entries to a fixed amount under the 5 minute condition. Once the max entries has been reached, I want to wait until the 5 minute condition resets and is met again.
With what I have so far I am accidentally only limiting my EntriesPerDirection for the 1 minute time frame. This means that if the 5 minute condition stays met and the 1 minute condition cycles on and off I keep entering into trades in blocks of my maximum EntriesPerDirection. I guess what I'm really doing is setting EntriesPerDirection on the 1 minute scale and not the 5 minute scale.
So, can anyone possibly help me figure out what I need to do to limit my EntriesPerDirection under the 5 minute time frame condition instead of the 1 minute?