When evaluating a potential entry, is there a way to compare price to an indicator at a specific time in the day?
For example, I would like enter long at the market if the price of a stock is above the 20 day SMA at 3:55 PM EST, 5 minutes before close. So far I am only able to check if the stock closed above the 20 day SMA at the close and then code an entry for the open on the next day. This does not allow me to take advantage of overnight gaps. Any way to code this?
Thank you very much!
Comment