Is there a simple way of coding a time for an EA to start? Say I want the EA to start at 2:00 am everyday and stop 12 hours later. I can use the Sleep function to stop it, but I can't figure out how to start it. From what I've read it seems that all the date and time functions reference a base time of Jan 1, 1970. How do I tell my EA it's 2:30 am?
- #2
- Jan 11, 2009 10:07pm Jan 11, 2009 10:07pm
- Joined Jul 2007 | Status: 33 y/o Investor/Trader/Programmer | 5,016 Posts
- #5
- Jan 12, 2009 7:39am Jan 12, 2009 7:39am
- Joined Jul 2007 | Status: 33 y/o Investor/Trader/Programmer | 5,016 Posts
- #7
- Jan 12, 2009 9:16pm Jan 12, 2009 9:16pm
- Joined Jul 2007 | Status: 33 y/o Investor/Trader/Programmer | 5,016 Posts
- #15
- Jan 13, 2009 7:41am Jan 13, 2009 7:41am
- Joined Jul 2007 | Status: 33 y/o Investor/Trader/Programmer | 5,016 Posts