Questions from Beginners MQL5 MT5 MetaTrader 5 - page 711
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
That's what I'm asking. There are 5 numbers in the array: 1.1012 1.1013 1.1013 1.1013 1.1012, which of the elements will the function consider maximal? Answer options: the first encountered, the last encountered, any of the maximal. The choice should be reflected in the function description in the help (documentation), but I haven't found it.
The first one you meet, it's easy to check in 1-2 minutes, easier than writing on the forum and waiting for answers )))
{
double array[6]={0.0112,0.0113,0.0113,0.0111,0.0111,0.0112};
Print("ArrayMax index = ",ArrayMaximum(array));
}
The first one you meet, it's easy to check in 1-2 minutes, easier than writing on the forum and waiting for answers )))
{
double array[6]={0.0112,0.0113,0.0113,0.0111,0.0111,0.0112};
Print("ArrayMax index = ",ArrayMaximum(array));
}
Hi all!
How can I embed code written in C# or VB into MQL5 code without using dll?
Is this possible, and what are the options or articles on the subject?
If I connect signal copying and my provider's leverage is 1:500 and mine is 1:100, then I understand correctly, that positions will be opened with the same lot, but the difference in money will be different and multiple of leverage?
Greetings.
If I connect copying signals and the Provider's leverage is 1:500 and mine is 1:100, then I understand correctly, that positions will be opened with the same lot, but the difference in money will be different and multiple of leverage?
Market | 2016.06.06 12:53 |Vladimir Karputov| Utilities | MetaTrader 5 | Free
This is a simulator for the Signals service. You can change the leverage size and the deposit size and see what will be the result.
I am writing a news advisor which puts BuyStop & SellStop at a certain distance from the price.
Please advise how to implement a condition in the EA:
If BuyStop triggers, then close SellStop, and vice versa.
Thank you!
I am writing a news advisor which puts BuyStop & SellStop at a certain distance from the price.
Please advise how to implement a condition in the EA:
If BuyStop triggers, then close SellStop, and vice versa.
Thank you!
Hello all. I apologise in advance. This is my first post. Looking for an advisor, or rather a robot that will close all trades with one click, there may be 10-15-20 of them... One-click trading is not a very efficient tip....Maybe somebody will give me a link... Thanks in advance.
Added. MT4.
Hello all. I apologise in advance. This is my first post. Looking for an advisor, or rather a robot that will close all trades with one click, there may be 10-15-20 of them... One-click trading is not a very efficient tip....Maybe somebody will give me a link... Thanks in advance.
Hello all. I apologise in advance. This is my first post. Looking for an advisor, or rather a robot that will close all trades with one click, there may be 10-15-20 of them... One-click trading is not a very efficient tip....Maybe somebody will give me a link... Thanks in advance.
Added. MT4.
There is something similar in the terminal. I may have changed something, don't remember and don't use it.
I have attached the source code. I will send you the messages about MT4 to MT4 branch at the bottom of the forum, it is discussed here.
If there is an error I will correct it quickly, I'm too lazy to check it now.