I'm trying to do something similar to this but also don't want to initiate any new trades 24 hours after the week begins. I have this code but it's not working: if(TimeCurrent()<=(iTime(Symbol(),PERIOD_W1,0)+24*60*60)) CheckForOpen(); but it's not ...