Questions from Beginners MQL5 MT5 MetaTrader 5 - page 626
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
How clever of you, and so succinct. Thank you.
This is a check to return the PositionGetDouble function. If it fails, it returns 0 - i.e. it's an error.
And I use the second form in Five, it seems more reliable to me.
And I use the second form in the five, I think it's more reliable.
And in a loop.
I'm sure it won't slip past...Stupid... :-)
How in the expert via iCustom (), refer to the values of the variables
double _Volume
и
int High_Low
of this indicator:
Stupid... :-)
How in expert via iCustom (), refer to the values of the variables
и
of this indicator:
You can't do it directly. You have to write the value of variable in the indicator buffer and take it from there through iCustom
This is understandable... Maybe a short example for one variable and that's it... Although it looks like I'll find something in the help there myself...
Thank you. How to write them to the buffer, I mean what type of buffer to organize.... You don't need lines in this indicator...
There is also an explicit type conversion:
How can I modify a market order magic number in MQL4?
Hello.
Please advise how to solve the following problem.
An EA is trying to open a position and the server returns a requote.
Since there is no EA code, we need to find out from the outside that there was a requote and open the same position at any cost.
Only analyze log files such as \logs\20160922.log. But we cannot get them from MQL4/5, only \MQL5\Files folder is available for reading/writing.
So, we need to write an external script which will read the log, analyze it and inform MQL4/5 if a position needs to be opened.
Or it simply copies the log once per second to the Files folder, and from there it can be read and analyzed using MQL tools