Support Board
Date/Time: Tue, 04 Feb 2025 09:57:08 +0000
Post From: How to Create a DATE RANGE for the Replay
[2020-01-09 03:46:16] |
Sawtooth - Posts: 4166 |
The only way to limit a replay to a time range like your example is to enable autotrading inside of that range in K3/M3, or to disable autotrading outside of that range in J28. Then start the replay before the time range, and end it after. Enable it like this in K3/M3: =AND($J$41>=DATEVALUE("01-04-2020")+TIMEVALUE("09:00:00"),$J$41<=DATEVALUE("01-05-2020")+TIMEVALUE("16:00:00"),YourEntryConditions) Or disable it like this in J28: =OR(J41<DATEVALUE("01-04-2020")+TIMEVALUE("09:00:00"),J41>DATEVALUE("01-05-2020")+TIMEVALUE("16:00:00")) |