I don't mean to sound like a broken record, but there are over 500 species of stomatopod and they have dramatically different requirements with respect to temperature. Some are remarkably intolerant of temperature fluctuations; others can live over a broad range of temperature. For almost all species, large shifts over short periods of time should be avoided.
To determine what is best for your species, consider where it comes from. For example, if you have a Hemisquilla californiensis from Pacific termporate waters, it will only do well at 16 - 19 C. On the other hand, a Gonodactylus smithii from the reef flats of Fiji will require temperatures from 24 - 29 C and could withstand occasional increases to the low 30's. I've studied the temperature tolerance of Neogonodactylus bredini and N. oerstedii from Panama and they can live for weeks at 37 C, but are in trouble below 23 C.
From my experience, I will try to summarize below temperature ranges for some common species, but even this will depend on where the animals are from and on the rapidity of temperature fluctuations.
O. scyllarus 23 - 29 C
O. havanensis 22 - 29 C
N wennerae (Tampa) 22 - 31 C
G. smithiii 24 - 29 C
G. chiragra 23 - 30 C
P. ciliata 23 - 29 C
Squilla empusa 21 - 27 C
L. maculata 23 - 28 C
H. californiensis 16 - 19 C
G. mutatus 22 - 28 C
G. affinis 24 - 28 C
Haptosquilla glyptocercus 23 - 31 C
You should try to stay in the center of these ranges and not exceed the limits.
Roy