Something isn’t adding up unfortunately. The code doesn’t run on a 1 second chart. However if I change CloseMarketTime+5 to a specific time eg 210005 in the above code, it runs. (CloseMarketTime+5) doesn’t help either
It should work with either. The issue with trading on 1 second charts is that if there are no trades in that second then there is no candle to have that time so it does not recognise that the
I understand thanks, but there are trades during the 5 second added time on the SPX500. Changing the time to a specific number 210005 finds many trades.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok