Quote from OffShoreTrader:
TS isn't perfect... it will miss trades.. I did see some trades that were missed throughout the whole test.
I did a hand count when I did this and looked over the last year and found that when ADX>30 there was less than a 50% chance of the market moving between keltner channels. It was something I wanted to see for myself. If this is the case, then out of the 50% of times when the market moves between keltners, the divergence indicator must capture the turns correctly. This does not take into account "being close" to the keltner to initiate a trade. I was objective and it had to touch or penetrate the keltner band.
There seems to be around 15-22 occassions per month when adx reaches above 30. Now the next question would be is what's the probability of getting divergence (subjective) during these times. At that point, it might be able to subjectively assess the accuracy rate of the method.
Hope that was clear.
Yeah, I've noticed the limitations in TS also. I tried to codify my method for more than a month and found I couldn't get it to accurately reflect the trades. I tried lots of code like yours and just kept missing most of the trades. I guess it can't be done. Thanks for your effort.

