The symptoms you have described match symptoms of bipolar disorder. The memory loss, anxiety, irritability, euphoria, seeing things, talking to yourself and much, much more, like chronic insomnia, saying inappropritate and hurtful things when you are irritable, spending too much mone and much energy are also common everyday occurences when you feel good but may or may not be present at this time.
Of course, the other side is depression, total lack of energy, not necessarily crying or sad, although that can definitely be present. Some people with bipolar disorder do not have depression, the requirement for this diagnosis is at least one episode of mania, which is what you describe.
Of course, I am not a psychiatrist, you need to see one immediately for an accurate diagnosis. If you are indeed bipolar you need immediate treatment as it is a serious and devastating illness eventually if not treated.