Calculate the two MES triggers from completed prices
Write down the high and low of the previous completed session for the dated futures contract you intend to replay. Today’s open is the first traded price in your chosen window. You can record that price as soon as the first trade prints. Waiting for the first bar to close changes when the rule can act.
For a cash-hours window of 9:30 a.m. to 4:00 p.m. New York time, suppose the prior high was 6,011.25 and the low was 5,998.00. The range is 13.25 points. At a 0.25 multiplier, the distance is 3.3125 points. Today opens at 6,000.50, giving raw levels of 6,003.8125 and 5,997.1875.
MES trades in 0.25-point increments. To require at least 3.3125 points from the open, round the upper trigger up to 6,004.00 and the lower trigger down to 5,997.00. Nearest-tick rounding would put both closer to the open. Record your rounding policy before comparing results.
The 0.25 multiplier is the choice for this exercise. Keep it fixed when comparing sessions. To isolate the multiplier instead, repeat the same cash-hours calculation with 0.50. The raw distance is 6.625 points and the rounded levels move to 6,007.25 and 5,993.75.
