Forum

Read from a .txt file

Hi all, I'm having some problems on reading a value from a .txt file in an Expert Advisor. I have the following code: int file_handdle= FileOpen ( "test.txt" , FILE_READ | FILE_ANSI ); string string_read= FileReadString (file_handdle, 4 ); Print ( "String read: " + string_read); FileClose

Indicator buffers

Hi everyone, I'm doing an Expert Advisor to trade in EUR/USD but I'm facing some dificulties. I don't understand very much how can I read values from indicator buffers (I read the explanation in the mql5 documentation but it is not clear for me). For example, how can I access the values from macd

How to on MT5?

Hello everyone, I'm recently doing an expert advisor (EA) in mq5 using the editor of meta trader. I would like to know if it is possible to introduce a value while an EA is running. I mean, for example, have a text box where I can periodicly introduce data. If not, is it possible to make the EA