I have a problem that I can't fix, in easylanguage.
If I ask for yesterday's close, by using the "CloseD(1)" function on futures data (continuous trading), it does not return the last close of the session (at about 4 PM EST), but the last close of the 24 hour day (right before midnight - 8 hours later), which falls within the second session. This means that I am testing one system (with the close at midnight), but I will be automating a different system, unless I use tradestation, because all brokers by "yesterday's close" mean the close at around 4 PM EST, at the end of the (future contract) session. This problem is particularly critical now that I am developing a system on the opening gap.
Did anyone have this problem and could you please tell me how to fix it? Thank you.
If I ask for yesterday's close, by using the "CloseD(1)" function on futures data (continuous trading), it does not return the last close of the session (at about 4 PM EST), but the last close of the 24 hour day (right before midnight - 8 hours later), which falls within the second session. This means that I am testing one system (with the close at midnight), but I will be automating a different system, unless I use tradestation, because all brokers by "yesterday's close" mean the close at around 4 PM EST, at the end of the (future contract) session. This problem is particularly critical now that I am developing a system on the opening gap.
Did anyone have this problem and could you please tell me how to fix it? Thank you.