Best place to learn to write code for mql4 files?

Hello, i have an mql4 file and i would like to add options to it. where is the best place to learn how and what to write into the code and where? Tia