Strangle To Straddle

In a delta-neutral strategy, after a few adjustments, when a strangle becomes straddle let the trade continue with fixed stop losses(30%)at both the legs. and Exit @ 3.15 Pm. Can someone help to code this condition?