I have been having a bozo attack for five days - trying to code a way to limit a trade entry to one per day on backtesting.
I am running a back test on minute bars, I enter a trade when my conditions are met... an hour os so later, the trade is stopped out as a loss when the trade goes against me. The backtester then enters a second trade as the conditions are met again... I have been trying to code a way for it to enter no more than one trade in a day - and getting nowhere... everything I try fails. (Serious Bozo attack) Does anybody have a simple approach to this problem. I am totally locked out of solutions... Thanks
