Hope falls under the virtue category of Transcendence. Transcendence describes strengths that provide a broad sense of connection to something higher in meaning and purpose than ourselves.
Optimism is closely linked with having a particular explanatory style (how we explain the causes of bad events). People using an optimistic explanatory style interpret events as external, unstable and specific. Those using a pessimistic explanatory style interpret events as internal, stable and global.
Write an internal movie that features one of your goals. Picture yourself overcoming the obstacles, developing pathways around and through problems, to reach your goal.
Write about a good event and why it will last and spread. How is this event linked to your actions?
Write about a bad event and how it will pass quickly. Detail how the effect of the event will be limited and who you are not completely to blame.