To be honest, yes, it's hard to guess, which is why I asked the question in the first place :(.
I'll have to guess for myself. Otherwise we will only read books about forex and then ask everyone why they look in the book, but see a loss in the real world.
Reshetov: We will have to guess for ourselves. Otherwise, all you have to do is read books about forex and then ask everyone why they look in the book and see a loss in the real world.
I see, I will not get an answer for a beginner, as it is written in the forum thread?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I see, but can you answer my question? How is the transaction amount calculated?
MarketInfo(Symbol(), MODE_MARGINREQUIRED);
MODE_MARGINREQUIRED - Size of available funds needed to open 1 lot to buy
This is good, but I have a trade volume of 0.5, the EURUSD exchange rate is 1.3514. What is the amount?
For example, in equities it's simple 10 (volume) * 200 (price of a GP share for example) = 2000 p. How about this?
MODE_MARGINREQUIRED - Amount of free funds needed to open 1 lot to buy
This is good, but I have a trade volume of 0.5 and the EURUSD exchange rate is 1.3514. What is the amount?
And now it's hard to guess three times, how much margin is needed for 0.5 lot, if you know the margin for 1 lot?
For example, in stocks, everything is simple 10 (volume) * 200 (share price need GP for example) = 2000 p. And how is it here?
Now it's hard to guess three times how much you have to pay for 0.5 lots when you know how much you have to pay for 1?
To be honest, yes, it's hard to guess, that's why I asked the question in the first place :(.
Now it's hard to guess three times how much margin you have to put down for 0.5 lots when you know the margin for 1 lot?
Shares can also be traded on margin.I'm not talking about leverage now, I just wanted to know how to calculate the amount in rubles?
To be honest, yes, it's hard to guess, which is why I asked the question in the first place :(.
Now it's hard to guess three times how much margin you have to put down for 0.5 lots when you know the margin for 1 lot?
Shares can also be traded on margin.There is a volume of 0.5 and the EURUSD exchange rate is 1.3514. What is the amount in Rubles?
We will have to guess for ourselves. Otherwise, all you have to do is read books about forex and then ask everyone why they look in the book and see a loss in the real world.
I see, I will not get an answer for a beginner, as it is written in the forum thread?
There is a trade volume of 0.5, the EURUSD exchange rate is 1.3514. What is the amount in Rubles?
The question is incorrect, because the necessary data are missing, which cannot be otherwise solved by telepathic means.
And calling one function in the EA algorithm will collect all this data and give the right answer.
I see, I will not get an answer for a beginner as it is written in the forum thread?
The question is incorrect because it lacks the necessary data, which is impossible to find out otherwise than telepathically.
And calling one function in the EA algorithm will collect all this data and give the correct answer.
Are you saying that volume and exchange rate data is not enough to get the amount in rubles?