David Jose Lopez Onate / Publications
Forum
Cannot load DLL file from MT5 - No error specified
Dear Forum, I've been trying to load a DLL file from MT5 but the following messages appears under experts tab: 2013.03.12 12:30:45 TestMLEngine (USDJPY,H1) unresolved import function call 2013.03.12 12:30:45 TestMLEngine (USDJPY,H1) Cannot call 'mlxOpen', 'LibMlEngine.dll' is not loaded 2013.03.12
Unhandled exception using Build 600 (working good with 509)
The ex4 file calls a mqh file and from the mqh file is called a DLL file. It was working good with build 509 but now appears: Unhandled exception 0xC000096 What does this means? Any help? Ps. It's running in portable mode
Mathematical formula indicator
Dear Forum, I want to create an indicator which shows the value for each bar of a mathematical formula. There is something wrong as it's not being painted right. What it could be? extern int Bars2Compare = 50 ; extern string MainPair = "GBPUSD" ; extern string SecondPair
Average distance indicator
Dear Forum, I'm trying to code a custom indicator which draws a line which is the average distance between two pairs. Below is the code. I don't know why it's not working. I know the Averages function is working correctly: #property indicator_separate_window #property indicator_buffers 2 //
no Arrow?
Dear Forum, A quick question: I have an EA attached to 3 different charts, works normally, until it starts opening and closing many trades, but when closing, it does not put a closing arrow? What could be the potential reason of no putting a closing arrow in the chart when closing? Maybe the
ArrayCopyRates
Dear Forum, Is there any example to teach me to handle correctly the function: int ArrayCopyRates( double &dest_array[], string symbol= NULL , int timeframe= 0 ) Let's say I need to code the indicator WPR inside DLL, how to pass the parameters to DLL? Also, is this process slows down the
CodeBase error entropy
Dear Forum, It seems there is an error with an indicator located in: https://www.mql5.com/ru/code/8240 There is 0 divide in the experts tab. Can someone kindly help? Regards Thomas
Partially Closing ONE trade with different TP levels
Dear Forum, I have a question I hope you can help me: Is there any possibility that I can open ONE trade and close it partially in different levels with MT4? For example: I open a trade with 1 lot. -0.4 will be closed with TP of +10 pips. Remaining 0.6 lots -0.3 will be closed with TP of +20 pips
Metatrader 4 in Batch mode from Linux?
I need to run MT4 in Linux OS, I know this can be done through a software called WINE which allows to emulate windows' software. However, I also need to know if MT4 can be run in some sort of "batch mode", I mean, like a command line (e.g. terminal.exe -optimize) and execute optimizations from
Error 127 on Devcpp - .def file?
Dear Community, I have read the previous posts existing in this forum regarding error 127 on DLL function calls but I'm unable to get a solution for my case. I hope you can help me. I'm coding a DLL file in Dev-cpp with a set of functions, I understand that "error 127" is caused by the non-existent