Hello, I have a regular backtest with Buy and Sell statements. Is there a way to force the buy ONLY to stay on a buy for 30 days?
Example: Buy = true 20 calendar days ago; Sell = true 8 calendar days ago; Buy - true yesterday; Want to force Buy to stay on buy for total of 30 days and then want to sell but only if another Buy signal did not come along. In this case, system would go on buy 20 days ago and stay on buy today since had another buy signal before 31 days was up, even though sell was true 8 days ago.
