Add the following below your buy and sell lines, buy = exrem(buy,sell); sell = exrem(sell,buy);
That will filter all the multiple signals you may get between a buy and the next sell. Barry
Add the following below your buy and sell lines, buy = exrem(buy,sell); sell = exrem(sell,buy);
That will filter all the multiple signals you may get between a buy and the next sell. Barry