I have a text file of an expert - how would I make this an executable expert mq4 file?

i have a txt file written code but don't know how to make ex4 or mql4?
  1. Open the editor, open the file, and compile. The extention should be mql4.
  2. Why did you post your MT4 question in the MT5 General section instead of the MQL4 section, (bottom of the Root page)?
              General rules and best pratices of the Forum. - General - MQL5 programming forum? (2017)
    Next time, post in the correct place. The moderators will likely move this thread there soon.