When I used the replay tool to evaluate my studies, I discovered that only the stock in the current window gets evaluated. My study requires that I include the corresponding closing values from the NASDAQ composite, TRIN, and TICK. Unfortunately, using the close() function doesn't return the corresponding closing values for these indexes. Instead it returns the current closing value of the indexes. How do I get the corresponding values?
On a similar note, I've been unable to determine how to get the timestamp for the current date/time during replay mode. Unfortunately, the date/time functions only return the current time, not the simulated time in replay mode. How do I get the simulated date/time?
On a similar note, I've been unable to determine how to get the timestamp for the current date/time during replay mode. Unfortunately, the date/time functions only return the current time, not the simulated time in replay mode. How do I get the simulated date/time?
Comment