math_down.png is Math.h came with QML5 download when I ,first time, installed MQL5. mql5 mathabs .png is the screen short of QML5 Reference->Math function. Those two function don't have the same return signature. Math.h return a boolean status while the reference return results. All of the
Resetting password requires my current password. I input my current password along with my new password. But mt5 doesn't reset my password. Any idea on how to reset the password
I wrote a script to manipulate a set of matrices and want to check the dimension of the result matrix . I wrote output to a file (csv) and also print it. I can't find neither of them. I use explorer to find the csv file. No joy. Any help is appreciate. File write is line 158 and print is 161
if more than one tickets are opened at any time (not opened at the same time), MQL5 wasn't able to close all of the tickets (see enclosed figure). Enclosed: Call to close long and short Code of closing functions Figure show not all are closing void closeLong(){ int total = PositionsTotal ();
I am running a test on a free MQL5 download EA (file name zw63). This EA uses DeMarker indicator and stochastic. However, when I ran a debug, it crashs when a call to iDeMarker return an invalid handle. I look in MQL5\Inicators directory and haven't found iDeMarker. There is a link to a page which
// Custom enumeration for trend direction enum ENUM_IND_TREND { NO_TREND= 0 , // No discernible trend UP= 1 , // Uptrend detected DOWN= 2 // Downtrend detected }; // Input variable to choose a default trend (optional) input ENUM_IND_TREND default_trend = UP; // Select a
Has anyone ever seen this problem? I ran a single back testing on my EA. Graphical show there are profit on trading. However, the history show loss in all trading. I don't known what the issue is
Hi: I cut and past one of the indicator from this site and inbed it in my expert. However, I have a difficulty geting it to work. Here is the setup. // -------------------------Property--------------------------------- #property indicator_color1 Blue // Medium at max or min #property
Hi: With the help from this forum, I was able to write a custom indicator that plot 3 traces. When I looked closely to the return argurment of the "int start()" function, I was amazed. How can the start function return "double" when the declaration indicated "int"? I am guessing that the function
I wrote a custom indicator that draw a line using moving average. So far, it drew a line. However, I have a scale that use a timeframe as a switch to select two scaling parameters. How do I get timeframe from the current chart so I can select the proper scaling parameter. I am not concern about the