Hello, dear forum members. Help me find x using the method except for brute force, where x is the constant of the degree value to open the next position.
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.
Hello, dear forum members. Help me find x by method except brute force, where x is a constant of degree value to open next position.
MiniLot^(x^0)+MiniLot^(x^1)+MiniLot^(x^2) ... + MiniLot^(x^(N-1))=VolMax,
where N is the maximum expected number of orders,
VolMax is the maximum possible aggregate volume of all N orders
so far by simple brute force search I find x
Does anyone know the solution to this equation where only x is unknown ?
Hello, dear forum members. Help me find x using the method except for brute force, where x is the constant of the degree value to open the next position.
MiniLot^(x^0)+MiniLot^(x^1)+MiniLot^(x^2) ... + MiniLot^(x^(N-1))=VolMax,
where N is the maximum expected number of orders,
VolMax is the maximum possible aggregate volume of all N orders
so far by simple brute force finding x
Does anyone know the solution to this equation where only x is unknown?
And so:
.
.
is if I understand the meaning of.... correctly
But additional checks can be introduced.
(You can't solve it with one formula.)
but otherwise:
.
:
.
this is if I understand the meaning of.... correctly
But additional checks can be introduced.
(You can't solve it with one formula.)
Thanks for the interest, but what is root?
And can the inverse of log ( ab ) = log a + log b be used to convert , i.e.log a + log b = log( ab ) ?
и
Are you sure that the MiniLot here is being multiplied, not multiplied? Maybe the correct way to do it is this:
MiniLot*(x^0)+MiniLot*(x^1)+MiniLot*(x^2) ... + MiniLot*(x^(N-1))=VolMax
but otherwise:
.
:
.
this is if I understand the meaning of.... correctly
But additional checks can be introduced.
(You can't solve it with one formula.)
Thank you. I'll have a look... so far it's all a mystery to me, especially this one. root... I'm not familiar with that kind of thing... :-)
"Excuse me, I'm sorry, of the 'villagers' I'm a savage..." (c) a Russian folk joke - in theme... :-)
Are you sure that MinLot is being multiplied here, not multiplied?
Are you sure that MinLot is being multiplied here, not multiplied?
I also thought about it, as soon as I saw this construction, because somehow it's asking for itself... :-)
This time, it is precisely being raised to a degree.
I just can't imagine what kind of trading task requires such strange optimisation.
But if you multiply the MiniLot to the power of x, it's still understandable. But to exponentiate it is something alien...
Are you sure that the MiniLot here is being multiplied, not multiplied? Maybe the correct way to do it is this:
MiniLot*(x^0)+MiniLot*(x^1)+MiniLot*(x^2) ... + MiniLot*(x^(N-1))=VolMax