I personally believe that one reason God allows us to experience troubles, trials, and tribulations is because He wants to show us what prayer ought to be: firey, determined, and filled with heart-felt oaths and praise.
You see, left to ourselves, we butcher prayer. We have (at least, to God) strange ideas about reference, worship, and holy things; and we have interpretations about communicating with God that leave us acting artificial and robotic. Difficulties strip away our nonsense and cause us to cry out to our Creator with sincerity, humility, and appropriate desperation.
So learn from your times of trials and pressure. Get zealous in prayer when everything is, nevertheless, going fine. You will find that mode much more effective.