Write the starting event, bar timeframe, number of completed bars, any progress condition, exit instruction and treatment of missing data. “Leave if it takes too long” cannot be tested. “After 12 completed 15-minute bars following the entry bar, exit if still open” can be tested once the exact bar convention is stated.
In that illustration, 12 × 15 = 180 minutes, or 3 hours, measured after the specified entry-bar boundary. Actual time since an intrabar entry can differ, so record the rule's anchor instead of pretending it is always exactly three hours from a fill. This is a research convention, not a suggested holding period.