Is it possible to have depression with melancholia?

Yes. Melancholic features is one of the specifiers for the diagnoses of major depression. It includes anhedonia, psychomotor retardation, lack of mood reactivity -- your mood doesn't improve even in response to a positive events. If you need diagnosis and treatment, please see a professional.