I am new to MQL5 programming, I made below code: My question: the int that I got in the gap variable, is it a PIP or POINT datatype? ...
I am new to MQL5 programming, I made below code: My question: the int that I got in the gap variable, is it a PIP or POINT datatype? ...
I have a class as below (simplified for the post): Now, when I deinitialise my EA, I get some logs saying: In my EA I declare as: And in the ...
I'm trying to write some modules for calculating trailing stop-loss in MQL5. The issue I'm having is that, whenever I attempt to retrieve the stop-los ...
What is the equivalent of MQL4's AccountInfoInteger(ACCOUNT_TRADE_ALLOWED) in MQL5? Also what about the equivalent of? TerminalInfoInteger(TERMINAL_T ...
I wrote this sample code for learning purposes but I can't seem to solve the warning message of "possible loss of data due to type conversion". I hav ...
I want to get the computer device inforation by MQL5, such us Device ID, serial No.,computer name, etc. i was searching in the internet, finded the hi ...
I understand from the MQL4 documentation on the ATR indicator, that it can return the the value of the indicator for the current bar if 0 is used for ...
I am a beginner in mql4 and I'm trying something out. I need to calculate the speed rate of price changes from one second to another. Either on mql4 ...
I'm generating a trade request that's causing a 10013 error when I do backtesting in MT5. I decided to log the trade request and it printed this: ...
I would like to find out the lowest traded price in the past 50 candles. I've used the following code. I've tried using -50, but it does not give m ...
i use GetNativeSystemInfo from windows api but when i use structure like microsoft i can not get parameter correctly at the first i use this structur ...
I believe I am doing the exact same as in the MQl5 guide, 820 and 1517. Could someone tell me what I am doing wrong? Thanks in advance! ...
I've been working on a bash script to run with MSYS on windows, that should be able to launch a test and get me the report in html report. But all I'v ...
I was wondering if something like this could work. Can you assign a value to something with 'if' 'else'? So in the code I used = and if else with each ...
Is there an easier way to have 2 experts installed on mt4/mt5 and 1 expert stop the other expert from running? ...
Hi i am trying to calculate the Pearson Correlation Coefficient across nbars. [Pearson Correlation Coefficient equation1 I am trying to do so with th ...
I was creating a for loop that looks for mean of price within a set array of 50. the difficulty I am having is with the collection and storage of High ...
I am new to MQL5. I want to write a function like if(Candleopen < calndleclose) How to write this in MQL5 ...
I get the error: '}' - not all control paths return a value. I am using: And this is the code I am using: What is wrong and how to fix this so i ...
I followed through an instruction from the github repository https://github.com/geekaia/mt5teste I downloaded these files and I moved the dwx mq ...