This weekend, one code change I made is that a rebuy will not trigger if there is a short condition and also, if a short condition occurs during a rebuy, it cancels it out to go short. This will create what appears like a loss at first glance, but is followed by a short with a profit.
You CAN time the market!
But only after you trash the big 3 myths.
Myth 1 - its possible to get every point of every move
...Myth 2 - you'll never have a drawdown
......Myth 3 - you'll never have a loss