In the following part of a portfolio, I keep running into the problem of a stoploss being triggered while the BUY signal is still a buy, only to watch the stock, after a small dip, go on to make new highs for weeks at a time. How can I set it up so that after a certain number of lag days, the portfolio backtester will "relook" at the buy signal formula and re-enter if still a buy? Simple example of a buy:
Buy = Cross(MA( Close,MAShortBuy ),MA( Close,MALongBuy )); Thanks! Steve.
