The TimeFrame exercise was an attempt to get the pending trades once again in live testing. I would prefer too to use 1440 minute bars.

For the purposes of testing, I have changed the entry dow() to today's day (Monday) and removed the TimeFrame, going back to the 1440 minute bars.