Hi,
I'm trying to create efs for a strategy that will run on a daily chart. However, within that efs I need to exit any positions 15 minutes before the market closes.
I've tried adding code that does (getHour() * 100) + getMinute() but I've learned that getHour() returns 0 on a daily chart.
Any advice on how I can accomplish this would be appreciated.
Thanks,
Mike
I'm trying to create efs for a strategy that will run on a daily chart. However, within that efs I need to exit any positions 15 minutes before the market closes.
I've tried adding code that does (getHour() * 100) + getMinute() but I've learned that getHour() returns 0 on a daily chart.
Any advice on how I can accomplish this would be appreciated.
Thanks,
Mike
Comment