Here is your "key"....You can't force a straight stroke.....I mean you can try to force it straight a million times "practicing" a straight stroke. but under pressure a "forced" straight stroke will fail. A crooked stroke is magnified by pressure, amount of force applied, or using english.
In reality.....the stroke is actually just a "result" of 4 non moving pieces....which is all you really can control. Grip, Stance, Posture, Alignment. Change any or all of them and it changes your stroke.....Your "natural" stroke....which is the one you want under pressure...is just a result of those 4 pieces. It must must must be natural.....Now if it is not perfectly straight but pockets balls all day long....(some pros) no need to change something that "naturally" works.....as long as it is not forced.
I use a device I 3D printed from time to time that goes on my tip and tells me if my stroke is crooked and/or twisting. I just adjust my grip, stance, posture, alignment so that It stays straight. I can play full racks with it on, and I can also use it to dial in actual amounts of 1/2 tip and full tip english.
Top one has the wings and will let you know if you are twisting the cue during the stroke. (curling your wrist)
Second one does the same as above but you can use the pointers on top to dial in tips of english (or center CB)
Third one is the one I would use to play full racks....It will still let you know if you are twisting on certain shots.....and the tips will help dial in reference to actual tip amounts being applied.
Also......Akin to the scotch tape on the tip practice routine.........I made a center ball practice cap. Get off center ball at all and you will miscue.