MQL4 Write contents of a buffer into a text file

 
MQL4: How to read the contents of one buffer (my own indicator) and write all values to a text file? MQL5 has "GetBuffers" but I am programing in MQL4. Thanks for any help. Ralph
 
rarigerm:
MQL4: How to read the contents of one buffer (my own indicator) and write all values to a text file? MQL5 has "GetBuffers" but I am programing in MQL4. Thanks for any help. Ralph

As in a file saved for other programs or for readability ? (excel etc?)