WebDec 7, 2024 · I am trying to create a textfile with MQL4. No sucess. It just doesn't work. A very simple script: void OnStart() { string terminal_data_path=TerminalInfoString(TERMINAL_DATA_PATH); WebAug 3, 2024 · An MQ4 file is an MQL4 source code file. Open one with MetaTrader 4 or a text editor. It's automatically converted to EX4 when put in the Indicators folder. This article explains what an MQ4 file is and how to open one. It also describes how to convert an MQ4 file to a different format, like EX4 or C#.
My IG
WebOct 8, 2024 · Here are a few tips: The OnStart event handler is type void. void OnStart(){} The while loop can be improved with a for loop . You're opening your file as txt file without an appropriate file extension. i.e. .txt, and you're using FileWrite which is intended for csv files.You might want to have a look at the docs and open the file as a csv and use … WebDec 13, 2024 · found the solution on youtube. my ea has nothing to do with the ea in the video. Problem solved fix "EA" is not expert and cannot be executed on new build mt4 how do you spell in chinese 1 to 40
Divorce Fulton County Superior Court, GA
WebConstant Value Description; ERR_NO_MQLERROR: 4000: No error. ERR_WRONG_FUNCTION_POINTER: 4001: Wrong function pointer. ERR_ARRAY_INDEX_OUT_OF_RANGE: 4002: Array index ... WebAug 31, 2024 · For security reasons, work with files is strictly controlled in the MQL4 language. Files with which file operations are conducted using MQL4 means, cannot be outside the file sandbox. This means you must place your csv file in the ...\MQL4\Files folder. Regarding your code, it is much more efficient to use an array. WebMar 25, 2024 · I placed "AAPL.csv" into the MetaTrader terminal folder's Files subfolder (MQL4/Files) to be accessible by the EA. The structure of this csv is as follows: … phone track free