Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1091
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Greetings. MQL4. I want to add a snake game to my EA.
Can you please advise if it is possible to set the number of seconds which determines periodicity of OnTimer() events to be less than 1, for example 0.7?
Or in other ways to implement periodic execution of part of code, but so that it doesn't delay execution in OnTick() ?
Greetings. MQL4. I want to add a snake game to my EA.
Can you please advise if it is possible to set the number of seconds which determines periodicity of OnTimer() events to be less than 1, for example 0.7?
Or in other ways to implement periodic execution of part of code, but so that it does not delay execution in OnTick() ?
The code below outputs 牖漠摲牥湩潦〉〮र〲थ⸰〰㠉┰〉〮र
It's supposed to output the text test
The files are in the Files\\\Test\\ folder.
Function says that handle is correct it's 1 and immediately GetLastError says error 5008 Wrong handle ....
What should I do?
The code below outputs 牖漠摲牥湩潦〉〮र〲थ⸰〰㠉┰〉〮र
Looks like "coronavirus"
Hello....help me convert an mt5 advisor to 4 please. I have no desire or need to learn myself, if it's complicated, I'll understand and forget it, I don't need much...
I already asked, but my feedback was about how to learn, or I asked for settings and " grail expert". While reading the forums, it seemed that people will help ... what's interesting, if people are asking to do something not expensive, for money ... help for free, and when I'm just asking for money, they probably think someone who wants to use strangers hands and ask for free ... had the money here and now, would have paid immediately and not bother, but they do not, and when you do will not need ... easier to score, but still ... hope dies last.
I can pay later, when I have it...
Hello....help me convert an mt5 advisor to 4 please. I do not want or need to learn it myself, if it is complicated, I will understand and forget it, I do not need much...
Where is the rest?
Expert.mqh>
SignalTRIX.mqh>
SignalStoch.mqh>
TrailingFixedPips.mqh>
MoneyFixedRisk.mqh>
But I can't figure out how to fix the following:
Stop loss is set at the previous "top fractal"
It should be:
If the last lower fractal is broken - stop loss is set atthe maximum price between the lower fractal and the breakdown
If the last upper fractal is broken through - stop loss is set at the minimum price between the upper fractal and the breakout
I try to set the time of fractal formation using itime and define the index, but I do not know how to reach the current time and search from the current time to the fractal, going through the bars every time, until the order is opened.
Maybe we should look for it during the order opening? And through the modification of the order to change the stop and ndp, but how, I can not understand.
I do not know how to do this. Dear Professionals, can you spare 5 minutes of your time?
Please help. Respected pros, take five minutes of your time.
You need to fix it here
You need to correct here.
This function gives me information about non-standard last formed fractals, and I change those non-standard fractals at the beginning of the EA.
Or, should I add another function to the indicator - information about high or low before the last fractal is penetrated or when a new fractal is formed?
Do I understand it correctly?