In the first variant, you simply set the time duration of a trade. For example, it may be 1 minute, or 1 hour 15 minutes, or 5 hours 47 minutes. If a trade duration is equal to 3 minutes and it was opened at 11:01:45, the trade will be closed at 11:04:45.