Perhaps i wasn't clear.I am talking about time stops only.Nothing to do with distance from entry.If my trade is not in profit by <1 tick it gets closed after such and such amount of time.
Lets say in the price channel that amount of time is a little bit more because i would expect a whipsaw and when price is outside of bands of channel it would be less time,because i would be worried about loss of profit from reversal.
Or just time based stops regardless what price is doing and where it is now.Lets say if i am not in profit in 20 min time trade gets closed.Possibilities are endless,goal is to overcome whipsaw.
Did you test these kind of ideas?
If not maybe you find place for them in that tester you are building
Now I understand what do you mean by time-based stops.
I personally tested 2 approaches:
1. Closing positions after some time. It's the easiest one and makes complete sense because market changes. If something didn't work out as expected, the market will become different and old predictions become obsolete. Moreover, I would be surprised if somebody will keep a poisition forever
From my personal experience, a time to close is as important as a stop loss/take profit level. When you enter the market, you should know not only when you are "right" or "wrong", but also the horizons of your decision. Will you enter the market again if you knew in advance that the market will not behave as expected? This "unexpected behaviour" means that you were wrong from the very beginning, there is no point in taking more risks. That's my personal opinion.
2. Making tighter stop losses with the time spent in the market. I even wrote a MetaTrader script for this purpose. What it did is just moving stops closer over time. Not a good idea, I must say. At the end, you have such tight stops that get touched by the market noize. I would prefer to move stops to breakeven, but not closer. It's better to wait for the profit to grow, but making tighter and tighters stops kills the idea.
Why don't you try it by yourself?
I finally decided to make the product free, trying to make money with advertising and selling its sources. This kind of strategies can be tested manually, no need to write any extra code.
Download and install it, it will take 5-10 minutes total.